Thursday, December 26, 2013

In line to see this code, I do not know what it meant

@ Interface SampleDelegate: NSObject {

}

@ End

This usage, I have never seen trouble explain, thank you
Reply:
UIApplicationDelegate
This is a protocol

Reply:
Take a look at the foundation Objc it.
Basically what the concept is not clear
Reply:
Each project is like it
Reply:
SampleDelegate own class, NSObject is the superclass (the equivalent of a parent class in C + +), UIApplicationDelegate is an agreement, we recommend a look at Object-C, I am also a beginner
Reply:
Declares a SampleDelegate class inherits NSObject, such agreements adopted UIApplicationDelegate
Reply:
Similar to C + + template class.

No comments:

Post a Comment