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

  1. declare view displayed of "fbsdkloginbutton" class through storyboard.
  2. 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

Popular posts from this blog

c# - How Configure Devart dotConnect for SQLite Code First? -

java - Copying object fields -

c++ - Clear the memory after returning a vector in a function -