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...)
Related
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!
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!
I have a need of using node.js libraries on iPad/iPhone, like tone.js to trigger generate sounds, see https://tonejs.github.io/
The app itself can be a react native app or based on Swift.
Are there any modern possibilities, or maybe there are better ways of doing than doing it with node?
I dont think the web audio api used by tonejs works outside of a webview.
for react native use
https://github.com/zmxv/react-native-sound
I have to integrate a Worklight project into my existing IOS project (Objective-C)
I have googled but i have not found a clear "guide" on how to perform this integration.
Could you drive me in the right way of integrating this project? The idea is to have a button in my IOS project that open a WebView that loads the pages (HTML5 and javascript with AngularJS and Jquery) contained into the Worklight project.
Thank you so much
There is no guide for this approach, as I don't think it is sustainable.
In Worklight you currently have two approaches:
A native application to which you add the Worklight Native iOS SDK, allowing you to implement security features, invoke adapters and use various other features
A Hybrid application to which you can add native functionality (via Cordova or otherwise), and use the entire set of features provided by Worklight
It is important to note that a Hybrid application is a native application. It is a fully actual real native app. It is a native shell that calls a webview (provided by Cordova) into which the Worklight JS framework and the application web resources are loaded, and thus you see your web app. A Hybrid application allows you to mix & match web and native in one.
So what I am saying is that you can't take an existing iOS app and transplant it into another existing iOS app.
It sounds to me like what you are essentially trying to do, is what a Hybrid app is. A native app that displays web content...
So:
This is not an approach Worklight officially supports. By doing this, you are on your own
You could maybe take the guts of a Hybrid app's iOS environment (myapp\iphone\native) - its classes and resources and add them into your existing app and load the main class which theoretically, or at least the wanted effect, will load the Cordova webview. But I give this low chances of success...
We are developing a HTML5 mobile app with Sencha Touch.
Now we want to package the App, and found that we have two methods:
The first one is to use PhoneGap to generate a native app based on our html5 code.
The second one is to create a Single WebView app in Xcode, and request the url which will host our HTML5 code.
I found the second method relatively easier. So are there any advantages in using PhoneGap to generate the native app?
We usually use phonegap/cordova when we need some native function from the device, for example a barcode scanner.
Of course you can create your own barcode project, however why reinvent the wheel. Since phonegap/cordova 3.0 the effort needed for creating a app is kinda low. Just follow the guide and your all set.
http://docs.phonegap.com/en/3.4.0/guide_platforms_ios_index.md.html#iOS%20Platform%20Guide
in short:
Advantages of Phonegap/Cordova
Ready for different platforms, little effort to create android app
Native functionality already implemented (plugins)