I want to integrate payfort payment gateway in my app. I have read documentation and download demo of payfort but it is compatible with swift 3.0 and I want it in swift 2.2.
I have done so much googling but unfortunately not find any proper solutions.
Any help will be much appreciated. Thanks in advance.
Since the swift syntax has been changed drastically from swift 2 to swift 3, it is a bit much harder to migrate from swift 3 to swift 2.
So, app those are compatible in swift 3 won't be able to be compatible in swift 2.
So, it seems impossible task specially for the newcomers.
What you can do is get the older version of payfort payment gateway and you can select the version of libraries you want to use.
If you can share the link, please do, we could guide you step by step..
Related
Hope that this is the right forum to ask this question. If not please help me by redirecting to the best place to ask this.
I'm looking for usage statistics of Xcode by version.
More specifically, with which versions of Xcode are new apps, or updates, compiled with.
Googling this doesn't bring anything relevant.
This is of interest to me since I am supplying a Swift compiled framework which requires a specific Swift runtime per compilation version.
Xcode 7.3.x was updated to use Swift 2.2 compiler rather than version 2.1 used in Xcode 7.2.x.
I would like to fully migrate to 2.2 , but only when there is a high enough adoption rate of Xcode 7.3.
RestKit version(0.25.0) I am using in my app uses AFNetworking1.3.4 which in turn uses NSURLConnection. But Apple deprecated NSURLConnection in iOS9. Is there a latest RestKit version available that I can use in my iOS9 app or will the same version(0.25.0) work on iOS9 also?
The same version works on iOS 9 also.
But unless you are prepared to help update RestKit, you might consider it a red flag to depend on a library that requires deprecated iOS APIs, because who knows if those APIs will still be available in iOS 10?
It looks like the latest work is focused on removing the AFNetworking dependency and using NSURLSession directly.
I would expect NSURLConnection to be around for a long time to come, as it is very broadly used. It will not, however, get any new features, in all likelihood.
Either way, it works fine in iOS 9.
I was starting to make simple iPhone apps using online tutorials and books and then I realized that I upgraded to OS X Yosemite and can only download Xcode 6.1 and all the tutorials are based on Xcode 5.1. I can't learn anything with Xcode 6 since there aren't many tutorials out there for Xcode 6. Can someone please suggest me what to do? basically I'm trying to learn objective-c but before learning objective-c I'd like to make a simple app through tutorials and get the hang of Xcode and learn further..
don't worry, proceed with the current version. Any differences will be made obvious by compiler warnings or errors, at which point you can deal with them. This might be considered preferable to learning to do something in a manner which is no longer current
I need to integrate Twitter for iOS 5 but I musn't use Twitter Framework of Xcode 4. Is it possible? How can I do this?
Thank you very much.
You will need to use the Twitter API directly.
The Twitter framework in iOS 5 is only available when you include the framework. Of course.
If you want to retain compatibility with iOS 4 (why'd you do that anyway?), you should use weak linking against the framework. This allows the app to run on iOS 4 as well.
If you don't want to use the framework altogether, you definitely miss out on all the new features such as automatic account importing. In that case you'd talk to the API itself (see http://dev.twitter.com for more info) or use a third party library.
Matt Gemmell's MGTwitterEngine may do what you need.
The source code can be downloaded from https://github.com/mattgemmell/MGTwitterEngine
I'm developping Iphone application and I want to convert it to a universal one.
I found many tutorial that deals with this issue but they seems to be ancohérent to the new release of SDK and Xcode.
As many said I think that making a universal application is so easy.
Can you give me the necessery steps or a tutorial link? Thanks.
I think you will find necessary information and steps in this tutorial
http://iphonedevelopment.blogspot.com/2010/04/converting-iphone-apps-to-universal.html
and as a side note you should be aware of converting an existing app to universal app
http://useyourloaf.com/blog/2010/4/7/converting-to-a-universal-app-part-i.html