Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

themacster298

macrumors member
Original poster
So I am beginning my journey to develop iPhone applications, the only problem is that the book I am reading is on Xcode 3.

Would opening the Xcode 3 project on Xcode 4 convert it to compatible code?
 
Xcode 4 is completely different looking than Xcode 3. Many of the items, features and controls are (hidden) in completely different locations, and some are outright missing.

If you can use the book just for the general concept of coding with an IDE, and ignore all the pictures and locations of exact Xcode buttons and lists, etc., you might be OK.

Otherwise, get a book (or online docs) suitable for driving Xcode 4.

As for actual Objective C app code, iOS 4.x apps are likely 99.99% compatible with iOS 5.x. I don't recall any major deprecations of stuff frequently done in iOS 4 apps. Just a lot of additions. ARC (etc.) is available, but not required.
 
Compatibility of iOS4 and iOS5 projects will not be a problem, as firewood says the issue will be the differences between Xcode 3 and Xcode 4. I'd suggest finding an Xcode 4 based tutorial.
 
Xcode 4 is completely different looking than Xcode 3. Many of the items, features and controls are (hidden) in completely different locations, and some are outright missing.

If you can use the book just for the general concept of coding with an IDE, and ignore all the pictures and locations of exact Xcode buttons and lists, etc., you might be OK.

Otherwise, get a book (or online docs) suitable for driving Xcode 4.

As for actual Objective C app code, iOS 4.x apps are likely 99.99% compatible with iOS 5.x. I don't recall any major deprecations of stuff frequently done in iOS 4 apps. Just a lot of additions. ARC (etc.) is available, but not required.

Basically, if I coded an app with Xcode 3 I would be fine? I remember around the time ios 5 came out I opened doodle jump and said "Not compatible with ios 5"
 
If you use xcode 3 then the latest target that you can support is iOS4.3. Apps
built with this may run on iOS5 provided they are not using any deprecated features.

You will find though that you can not test on a device running any iOS later than 4.3
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.