Permalink
Browse files

Merge pull request #22 from martiancraft/master

Use concrete type in itemWithLabel instead of id
  • Loading branch information...
2 parents 6753178 + 788013e commit a3183f2aa2af0ff7bdd31d3912d84f9158d3e62a @jivadevoe committed Nov 28, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 RIButtonItem.m
View
2 RIButtonItem.m
@@ -19,7 +19,7 @@ +(id)item
+(id)itemWithLabel:(NSString *)inLabel
{
- id newItem = [self item];
+ RIButtonItem *newItem = [self item];
[newItem setLabel:inLabel];
return newItem;
}

0 comments on commit a3183f2

Please sign in to comment.