Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>What is the selector and what is the delegate?</p> <p>If "Missed Method" is printed, it means that the method the selector is describing, is not implemented on the delegate object.</p> <p>Maybe you are passing an incorrect selector or maybe the delegate object is not set or not implemented entirely?</p> <p><strong>Edit based on comments below:</strong> It appears you did not implement the optional methods of the GameCenterManagerDelegate protocol on your MainViewControllerClass, while it is set as the delegate of your GameCenterManager. This is ok, but if you want to get rid of the "Missing method" log message, you should make sure your MainViewControllerClass implements the entire protocol:</p> <pre><code>@protocol GameCenterManagerDelegate &lt;NSObject&gt; @optional - (void) processGameCenterAuth: (NSError*) error; - (void) scoreReported: (NSError*) error; - (void) reloadScoresComplete: (GKLeaderboard*) leaderBoard error: (NSError*) error; - (void) achievementSubmitted: (GKAchievement*) ach error:(NSError*) error; - (void) achievementResetResult: (NSError*) error; - (void) mappedPlayerIDToPlayer: (GKPlayer*) player error: (NSError*) error; @end </code></pre> <p>For the case you are describing, it is the "- (void) scoreReported: (NSError*) error;" that is missing. The GameCenterManager submits all the scores and once it has done so, it tries to call the scoreReported callback on its delegate. It then notices the method is not present on its delegate and prints out "Missing Method". If you do not want to do anything once a score has been reported, you can just leave this as is though.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload