News for hackers. Stuff that matters.
Re:The Magazine by pdog on Thursday October 11, 2012 @12:05PM (#4641406)
What are some specific differences between iOS 5 and iOS 6, when it comes to app development?
Re:The Magazine by coob on Thursday October 11, 2012 @12:12PM (#4641440)
The 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).
Re:The Magazine by scottchin on Thursday October 11, 2012 @01:09PM (#4641713)
One 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.

Re:The Magazine by natesm on Friday October 12, 2012 @01:17AM (#4643909)
Not 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
Re:The Magazine by gdubs on Thursday October 11, 2012 @01:13PM (#4641723)
Uicollectionview was already mentioned, so I'll add autolayout to the list. Incredibly useful feature that gets rid of a lot of brittle code.
Re:The Magazine by eridius on Thursday October 11, 2012 @04:10PM (#4642519)
If you have an iOS developer account you can view the What's New document at https://developer.apple.com/library/ios/releasenotes/General...
Re:The Magazine by pooriaazimi on Thursday October 11, 2012 @03:44PM (#4642409)
Aside 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.)
Re:The Magazine by stephth on Thursday October 11, 2012 @07:00PM (#4643203)
and 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/Objecti...

Re:The Magazine by reidmain on Thursday October 11, 2012 @08:41PM (#4643443)
There are a few iOS 6 ARC specific features. http://stackoverflow.com/questions/12730202/do-you-need-to-r...
Re:The Magazine by pooriaazimi on Thursday October 11, 2012 @10:04PM (#4643595)
Yeah. GCD queues are now Objective-C classes IIRC.
Re:The Magazine by rsynnott on Friday October 12, 2012 @09:16AM (#4644844)
For this particular app, attributed strings are probably going to be the big thing.