PDA

View Full Version : iOS classes hierarchy ?




aneuryzma
May 11, 2011, 04:01 AM
I can't see iOS classes hierarchy, i.e. subclasses of UIView from apple developer documentation (to be clear, such as in Java Documentation, in which all subclasses or known implementation of an interface are listed right in the documentation page).

Where can I find such information ?

thanks



chown33
May 11, 2011, 05:46 PM
For the Foundation framework:
http://developer.apple.com/library/ios/#documentation/Cocoa/Reference/Foundation/ObjC_classic/Intro/IntroFoundation.html

For the UIKit framework:
http://developer.apple.com/library/ios/#documentation/uikit/reference/UIKit_Framework/Introduction/Introduction.html

For Core Animation:
http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/CoreAnimation_guide/Articles/WhatisCoreAnimation.html

Google search terms:
ios foundation class hierarchy site:developer.apple.com
ios uikit class hierarchy site:developer.apple.com
ios animation class hierarchy site:developer.apple.com


Notice the patterns here: hierarchies are much more broad than deep, things are divided up by framework, the "framework reference" is usually where a class hierarchy diagram appears, and the search terms follow a basic pattern.

What's not obvious in any of this is the role of protocols (formal or informal) and delegates. Protocols aren't shown in any of the class diagrams, but they are an essential part of everything.

aneuryzma
May 12, 2011, 01:19 AM
ok thanks very much