self.bidMenu = [[BidMenu alloc] initWithMatch:self.match andTarget:self];
BTW match is a game controller with most of the functions to alter the game state (ex. attackTo, fortifyFrom...)
GameView has a HUD (HeadsUpDisplay) that would need to be updated in real-time when the bidMenu is changed (ie. player places a bid, nextplayer should be updated on the HUD).
Here's what I'm doing now but I get a warning "PerformSelector may cause a leak because its selector is unknown"
SEL updateHUD = @selector(updateHUD); [self.callbackObject performSelector:updateHUD];
I'm using Cocos2d as a graphics engine. I look at the code they use to perform methods from the callbackObject in they CCMenuItemSprite (just a button with a sprite). It seem they use something called a block which I haven't learned about yet. Could someone help me with this?