ios - What is the meaning of sending the "class" message to an instance of a class -
in facebook login code @ https://developers.facebook.com/docs/facebook-login/ios/advanced, ask execute following sequence
- declare view displayed of "fbsdkloginbutton" class through storyboard.
execute following line in app delegate didfinishlaunchingwithoptions.
[fbsdkloginbutton class];
what meaning of sending "class" message object?
it used call initialize
method of fbsdkloginbutton
. +(void)initialize
method called before instance of class initialised. called once. [fbsdkloginbutton class]
used trigger initialize
method called.
Comments
Post a Comment