iPhone API InviteUsersRequest.m bug

Post here your questions about the Objective-C API for SFS2X

Moderators: Lapo, Bax

Post Reply
mmilen
Posts: 311
Joined: 09 Nov 2010, 00:48
Contact:

iPhone API InviteUsersRequest.m bug

Post by mmilen »

The initializer Class method below has a bug. It calls the instance initializer with params:nil while it should be with params:params.


+(id)requestWithInvitedUsers:(NSArray *)invitedUsers secondsForAnswer:(NSInteger)secondsForAnswer params:(id <ISFSObject>)params {
InviteUsersRequest *req = [[InviteUsersRequest alloc] initWithInvitedUsers:invitedUsers secondsForAnswer:secondsForAnswer params:nil];
return [req autorelease];
}
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Post by Lapo »

Thanks for reporting!
Lapo
--
gotoAndPlay()
...addicted to flash games
Post Reply