Way to write an iOS app on a Windows system? - ios

I come to you as a Windows user all my life, so my knowledge of iOS, Apple, and Macs are incredibly limited.
I'm trying to create an iOS app. I know that most iOS apps are now written in Swift (and used to be in Objective-C), which seem to "require" Xcode and/or SwiftUI (not 100% sure about this). Is there a way to write an iOS app in Windows or without using a Mac device? It's nothing too complicated, featuring a simple UI, text submission boxes, and links to other pages of the app.
I know I can use a Virtual Machine or other methods to interact with Mac/iOS software, but is there an easier way to do this? Can I simply code everything in a regular text editor and compile it elsewhere?
Additionally, can I write an iOS app in a different language besides Swift or Objective-C? OR can I use Swift, SwiftUI, and/or Xcode in Windows?
Basically - is there an easy way for me to write an iOS app in Windows? Any and all help would be deeply appreciated. Stay healthy out there.

Flutter is your best option here apart from it writing native multiplatform apps using dart it can also write platform-specific code for both Android (Java) and IOS (swift)

Yes. You can use React Native to write an iOS app on a Windows system.
Also additionally - Yes. You can write an iOS app in a different language besides Swift or Objective-C. React Native will let you write an iOS app in Javascript.
Hope this helps someone!

Related

Can you code JavaScript/React-Native in Xcode?

Is it possible to code an iOS app with React Native in Xcode? I like the xcode UI better than vscode for mobile so I was wondering if there's a possibility, not talking about simulating cause that's all what I was getting when searching this on Google I'm talking about actually coding React Native in Xcode IDE. Thanks

Can ReasonML be used to make native iOS apps?

By this I mean truly native, and only iOS threads, not one that has native and JavaScript threads.
As far as I know yes, check for example Gravitron, a game made entirely in ReasonML by #JaredForsyth that compiles both to the native Android and iOS platforms!

can we develop native ios apps with responsive?

I want informatin about how to make native IOS app which should be responsive design?
If it is possible then how to make it. If it is not possible then how to make it possible with other way.
I have information about:
PhoneGap but i want to use native
swift framework.
In between 1) and 2) which one should best and perfcet way to make resposive design?
To create responsive layout, you need to use autolayout / constraint.
Reference: http://blog.revivalx.com/2014/10/22/swift-autolayout-tutorial/
If you want to use native, you can integrate native functionality with hybrid application with develop a custom cordova plugin.
Reference: http://blog.revivalx.com/2014/03/11/ios-adding-native-functionality-to-hybrid-application-with-apache-cordova-plugin/
So far phonegap not support swift yet. It's support only for objective-c (iOS). If you want you need to create a bridging header to communicate between swift and objective-c.
Reference: http://blog.revivalx.com/2014/12/30/bridging-between-swift-and-objective-c-in-the-same-project/
Let me know for more clarification.
To achieve the "equivalent" of web responsive design in a native way, you have to use Auto Layout concepts provided by the iOS SDK.
Other way, if you want to keep a web language, you'll soon be able to develop native applications in JavaScript with solutions like React Native (still a private beta for now...)

Using twilio sdk for an iOS app?

I am planing to develop an VoIP iOS app and use Twilios SDK. I am making the choice to either use LiveCode, Appery.io, PhoneGap or build a native Objective C app. I am going to build the app for iOS, Android and HTML5 so the ideal would be to develope in JavaScript for all platforms, but as I understand the support for WebRTC is laking on the iPhone so the alternative for iOS is the native twilio SDK.
My requirements is:
be possilbe to use in iPhone 5 with iOS 7 be able to use twilio iOS
SDK´s voip functionality or twilio´s js SDK (if it is possible to
wrap a browser that supports RTC in the code?) be able to integrate
billing such as in-app payment or paypal with zooz or similar
communicate with REST API´s such as Amazon S3 or a node.js server
store temporary info in a SQLLite db when app is off line make fast
and responsive views (file listings etc) is very important
create cfuuid´s
I have seen several Twilio projects that use PhoneGap but none that are using LiveCode.
I have already built an iOS VoIP app in Objective C, but I want to be able to release it on several platforms also such as for Android and build a HTML5 app, without redoing everything.
This isn't really a programming question and should perhaps not be asked here.
You can create an external for LiveCode and quickly create an interface using the LiveCode IDE. This is probably a quick and easy way to make a working app. If you're starting with LiveCode but are experienced in Objective-C, creating an external won't be a problem for you.
LiveCode doesn't contain native iOS controls, which means that you have to emulate the GUI. If you use PhoneGap, you also will need to compile a plugin for PhoneGap using Objective-C, but you can use a framework, such as JQuery, to get the right GUI.
Either way, you will have to compile the SDK and you'll need to be quite profound in Objective-C.
LiveCode will meet all your requirements. However, Apple will deny your app if you use PayPal for in-app purchases. You'll have to use Apple's in-app purchasing feature. I believe this is possible in LiveCode now. I'm not sure how easy it is.
I'm not sure about file listings either. On iOS, you won't have complete access to all files on the phone. This isn't a LiveCode limation but a limitation of the OS.

i have already developed an app in java how do i open it in xcode simulator

My team has developed a big social networking app. Now i want to publish it to app store. But the app is not written in Objective C. What is the way to get it published in app store? Or least how can i open in in Xcode simulator for testing and enhancement?
My guess is that you created an app in android and now want to port it to iOS. Unfortunately Xcode isn't able to transform Java to Objective-C and iOS cannot run Java apps, so you will not be able yo submit your app as-is to the App Store.
You will have to do it the hard way and rewrite the entire app in Objective-C. Luckily Google recently launched a translator that might help with part of the work: http://google-opensource.blogspot.com.br/2012/09/j2objc-java-to-ios-objective-c.html
You cannot. Sorry.
I recently worked on an app for iOS and Android launch and we settled for parallel development.
Your Java code is incompatible with iOS and Xcode has no process to convert it to Obj-c.
The only options for cross-platform development that I am aware of are:
1) Heavy use of c/c++ based libraries; these can be utilised in both Android applications and iOS applications (this is what we used). But the entire front end of the apps must be re-implemented.
2) A cross-platform framework such as PhoneGap or Appcelerator, but this would require significant redevelopment from your current code-base.
3) A 'translator' such as the one Breno Gazzola suggested (another option is XMLVM) but these only do some of the work for you, and they're far from perfect.
It's very hard to judge without knowing your code, but if I were you I'd look at combining options 1 and 3 as much as possible, but budget for a complete re-write.

Resources