5 ms·
What are some specific differences between iOS 5 and iOS 6, when it comes to app development?
by pdog 14y ago
What are some specific differences between iOS 5 and iOS 6, when it comes to app development?
- coob 14y agoThe biggest by a long shot for me is UICollectionView. The open source drop-in replacement to get it working on sub iOS 6 is a fantastic effort, but it's not there yet (animation).
- scottchin 14y agoOne thing that I find incredibly fast and easy to do on iOS6 vs. iOS5 is implementing post-to-Facebook (and Weibo) using the new Social Framework. In iOS5, you would have to - Register your app on Facebook - Integrate the FB SDK (or maybe a third-party wrapper) - Implement various authentication/delegates/callbacks - Test that you did all of these things correctly This might not sound like a big deal but it does save some time.
- natesm 14y agoNot that I disagree that iOS 5 was obsolete the second that iOS 6 was released (the numbers agree with us), but... if (NSClassFromString(@"UICollectionView")) // or something that makes a lot more sense, but that came to mind immediately { // facebook stuff } // Twitter.framework stuff
- gdubs 14y agoUicollectionview was already mentioned, so I'll add autolayout to the list. Incredibly useful feature that gets rid of a lot of brittle code.
- pooriaazimi 14y agoAside from UICollectionView and AutoLayout that were mentioned, there is much easier way to localize the app (one storyboard and many "strings" files, more ways to easily customize UI elements, and a few ARC things (no more manually managing dispatch queues, zeroing weak references, etc.)
- stephth 14y agoand a few ARC things According to this document [1]: ARC is fully supported in iOS 5, and there aren't any iOS-6-only Objective-C features. http://developer.apple.com/library/ios/#releasenotes/ObjectiveC/ObjCAvailabilityIndex/_index.html http://developer.apple.com/library/ios/#releasenotes/Objecti...
- reidmain 14y agoThere are a few iOS 6 ARC specific features. http://stackoverflow.com/questions/12730202/do-you-need-to-release-gcd-queues-under-arc-in-ios-6-0 http://stackoverflow.com/questions/12730202/do-you-need-to-r...
- pooriaazimi 14y agoYeah. GCD queues are now Objective-C classes IIRC.
- eridius 14y agoIf you have an iOS developer account you can view the What's New document at https://developer.apple.com/library/ios/releasenotes/General/WhatsNewIniPhoneOS/Articles/iOS6.html#//apple_ref/doc/uid/TP40011812-SW1 https://developer.apple.com/library/ios/releasenotes/General...
- rsynnott 14y agoFor this particular app, attributed strings are probably going to be the big thing.