Fixed method signature.

This commit is contained in:
Ash Furrow
2013-12-28 09:12:08 -05:00
parent 3ba967e295
commit aa3f70c8a0
4 changed files with 20 additions and 10 deletions

View File

@@ -107,9 +107,9 @@
}
}
+(NSString *)urlForImageSize:(NSInteger)size inDictionary:(NSDictionary *)dictionary {
+(NSString *)urlForImageSize:(NSInteger)size inDictionary:(NSArray *)array {
/*
images = (
(
{
size = 3;
url = "http://ppcdn.500px.org/49204370/b125a49d0863e0ba05d8196072b055876159f33e/3.jpg";
@@ -117,7 +117,7 @@
);
*/
return [[[[[dictionary rac_sequence] filter:^BOOL(NSDictionary *value) {
return [[[[[array rac_sequence] filter:^BOOL(NSDictionary *value) {
return [value[@"size"] integerValue] == size;
}] map:^id(id value) {
return value[@"url"];