Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Tools & Utilities

Reply
 
LinkBack Thread Tools Display Modes
Old 10-16-2011, 01:05 PM   #1 (permalink)
Registered Member
 
Join Date: Sep 2011
Posts: 87
ncc1701e is on a distinguished road
Default Application Delegate Objects changed?

One of the changes Im noticing in Xcode 4.2 is that in the "Single View" and the "Empty Application" iOS application templates, the app delegate no longer seems to subclass NSObject. It seems to subclass UIResponder. Is this correct or am I just picking the wrong templates (for iOS view based apps) being a newbie?
ncc1701e is offline   Reply With Quote
Old 10-26-2011, 08:40 PM   #2 (permalink)
Mobile App Developer
 
Join Date: Oct 2011
Location: Maryland
Posts: 7
leafmode is on a distinguished road
Send a message via Skype™ to leafmode
Exclamation

Quote:
Originally Posted by ncc1701e View Post
One of the changes Im noticing in Xcode 4.2 is that in the "Single View" and the "Empty Application" iOS application templates, the app delegate no longer seems to subclass NSObject. It seems to subclass UIResponder. Is this correct or am I just picking the wrong templates (for iOS view based apps) being a newbie?
I'm seeing the same UIResponder class as the default superclass for the AppDelegate. The AppDelegate is also called just AppDelegate and doesn't have the project name prefixed. I think that's just some of the changes.
leafmode is offline   Reply With Quote
Old 10-27-2011, 08:11 AM   #3 (permalink)
Registered Member
 
Join Date: Sep 2011
Posts: 87
ncc1701e is on a distinguished road
Default

I have further noticed that UIResponder subclasses NSObject anyway so in a way the appdelegate is still subclassing NSObject thru the inheritance chain:

AppDelegate : UIResponder : NSObject

The changes are taking some getting used to but they all seem to make developing easier especially story board and ARC.
ncc1701e is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 408
8 members and 400 guests
7twenty7, mer10, QuantumDoja, Retouchable, RobTaku, SLIC, tim0504, yys
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,679
Threads: 94,129
Posts: 402,925
Top Poster: BrianSlick (7,990)
Welcome to our newest member, xzoonxoom
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 08:35 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0