Advertise here




Advertise here

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Google Sign In with OpenID
Please do not post the same thing multiple times. The board software automatically flags certain posts as needing moderator attention. This happens the most often for new users. I'm pretty sure this is made clear at the time you attempt to post. Posting the same thing over and over again just makes that many more posts the moderators have to weed through later. This makes us sad. Don't make us sad. If your post/thread doesn't appear, just wait a while. Don't post it again. If it hasn't shown up by the next day, then you can try again. I normally go through posts in the mornings, and try to check a few times throughout the day, but I'm not here 24/7. There will typically be a significant delay before posts are approved. Just be patient.

I Return; what is the state of the union? (q's about latest best practices)

scotopiascotopia Posts: 2,072Registered Users
Hello All,

It's been a long time since I've posted here regularly, and first I just want to say that I'm back now and hope all of you are doing well. Secondly I just wanted to ask for advice on the best current resources to 1. quickly refresh myself and 2. make sure I'm following the latest best practices and new coding paradigms of iOS5 / Xcode4 while doing so.

For example on the apple tutorial video page ( https://developer.apple.com/videos/ios/ ) are all of those videos still appropriate and relevant (even the one's from 2009)? Same thing with the apple guides: ( https://developer.apple.com/library/ios/navigation/index.html?section=Resource+Types&topic=Getting+Started ), some say updated in 2011 (but that just might have been a minor text change).

Any other top notch resources I should know about? I am basically going to work on a project like this ( App Store - Modern War ) (universal, with straight openGL, no cocos2d or anything), and I want to make sure I am doing everything in the most proper memory managed, multi-threaded where appropriate, modular way.

Thanks; once again I hope everyone is doing well. Is my old friend Smasher still around? ;)
Post edited by scotopia on

Replies

  • Duncan CDuncan C Posts: 8,014Tutorial Authors, Registered Users
    scotopia;408504 said:
    Hello All,

    It's been a long time since I've posted here regularly, and first I just want to say that I'm back now and hope all of you are doing well. Secondly I just wanted to ask for advice on the best current resources to 1. quickly refresh myself and 2. make sure I'm following the latest best practices and new coding paradigms of iOS5 / Xcode4 while doing so.

    For example on the apple tutorial video page ( https://developer.apple.com/videos/ios/ ) are all of those videos still appropriate and relevant (even the one's from 2009)? Same thing with the apple guides: ( https://developer.apple.com/library/ios/navigation/index.html?section=Resource+Types&topic=Getting+Started ), some say updated in 2011 (but that just might have been a minor text change).

    Any other top notch resources I should know about? I am basically going to work on a project like this ( App Store - Modern War ) (universal, with straight openGL, no cocos2d or anything), and I want to make sure I am doing everything in the most proper memory managed, multi-threaded where appropriate, modular way.

    Thanks; once again I hope everyone is doing well. Is my old friend Smasher still around? ;)
    I recommend getting Erica Sadun's new book, "iOS 5 Developer's Cookbook." Its got a very good overview of ARC, blocks, etc, as well as being chock-full of very useful, tested and working sample projects that solve real-world problems. It's already paid for itself many times over for me. I was using Core image filters, and could not get CIImage objects to convert back to UIImages to save my life. I finally figured out that the Apple method for this is busted in iOS 5. (I've since filed a radar bug and gotten acknowledgement that it's a known problem.) In less than 5 minutes in Erica's book, I found a work-around that solved the problem.

    As far as best practices, you should learn ARC and blocks. Those are the two biggest changes lately. If you're an advanced developer, you need to understand how ARC plays with Core Foundation objects. That's a little tricky.

    There are also some subtleties to blocks and the way they are retained, and they retain variables from their enclosing scope, that you really need to understand.

    I would also suggest learning storyboard, and the new container view controller scheme available in iOS 5. Both are very powerful and very cool.
    Regards,

    Duncan C
    WareTo

    mug

    Animated GIF created with Face Dancer, available for free in the app store.
  • scotopiascotopia Posts: 2,072Registered Users
    Duncan C;408560 said:
    I recommend getting Erica Sadun's new book, "iOS 5 Developer's Cookbook."
    ...
    As far as best practices, you should learn ARC and blocks. Those are the two biggest changes lately. If you're an advanced developer, you need to understand how ARC plays with Core Foundation objects. That's a little tricky.

    There are also some subtleties to blocks and the way they are retained, and they retain variables from their enclosing scope, that you really need to understand.

    I would also suggest learning storyboard, and the new container view controller scheme available in iOS 5. Both are very powerful and very cool.
    Cool; I will check that book out. I'm currently going over Simon Allardice's two most recent tutorials on lynda.com (the later one goes over storyboards and ARC), which have been a helpful refresher thus far.

    What's your take on ARC? Is everyone switching over to this, or are there growing pains / gotchas that prevent full adoption at the moment?

    Thanks Duncan, good to hear from you again!
Sign In or Register to comment.