Skip to content

Commit

Permalink
Change initWithCoder to init
Browse files Browse the repository at this point in the history
  • Loading branch information
romaonthego committed Jun 14, 2013
1 parent a2838ad commit d70aa38
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions AFXAuthClient/AFXAuthClient.m
Original file line number Diff line number Diff line change
Expand Up @@ -306,13 +306,13 @@ - (void)encodeWithCoder:(NSCoder *)coder

- (id)initWithCoder:(NSCoder *)coder
{
self = [super initWithCoder:coder];
self = [super init];

if (self) {
self.key = [coder decodeObjectForKey:@"AFXAuthClientKey"];
self.secret = [coder decodeObjectForKey:@"AFXAuthClientSecret"];
}

return self;
}

Expand Down

0 comments on commit d70aa38

Please sign in to comment.