Why NSString, NSDictionary, etc starts with NS?

06/15/2013

Most Cocoa classes begin with NS since they were initiated under NeXTStep.

Objective-C

06/15/2013

Objective-C is a superset of the C language.

@interface

06/15/2013

An interface is where you define the attributes and operations of class.

Function vs Method

06/14/2013

An Objective-C method is just a C function with two arguments always present at the beginning.

Objective-C method

[someObject aMethod];

Is exactly equivalent to the C function

objc_msgSend(someObject, @selector(aMethod));

 

Foundation Framework vs Core Foundation Framework

06/13/2013

CoreFoundation is written in C while Foundation is written in Objective-C.

Core OS Layer

06/13/2013
  1. System
  2. ExternalAccessory

Core Services Layer

06/13/2013
  1. Social
  2. PassKit
  3. StoreKit
  4. EventKit
  5. NewsstandKit
  6. Foundation
  7. CoreFoundation
  8. CoreMedia
  9. CFNetwork

Media Layer

06/13/2013
  1. CoreText
  2. CoreImage
  3. CoreAudio
  4. CoreVideo

Cocoa Touch layer

06/13/2013
  1. UIKit
  2. MessageUI

iOS Frameworks

06/13/2013
  1. Cocoa Touch layer
  2. Media layer
  3. Core services layer
  4. Core OS layer

Follow

Get every new post delivered to your Inbox.