Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 33 lines (25 sloc) 0.514 kB
8a53460 @kcharwood Initial Source Commit
kcharwood authored
1 //
2 // DBPlayer.m
3 // Dribbble
4 //
5 // Copyright (c) 2012 Mutual Mobile. All rights reserved.
6 //
7
8 #import "DBPlayer.h"
9
10 @implementation DBPlayer
11
12 @dynamic username;
13 @dynamic name;
14 @dynamic location;
15 @dynamic twitterScreenName;
16 @dynamic shots;
17 @dynamic avatarURL;
18 @dynamic id;
19
20 - (NSURL*)avatarURL {
21 return [NSURL URLWithString:[self primitiveValueForKey:@"avatar_url"]];
22 }
23
24 + (NSString*)keyPathForResponseObject {
25 return @"player";
26 }
27
28 + (NSString*)nameForEntityDescription {
29 return @"DBPlayer";
30 }
31
32 @end
Something went wrong with that request. Please try again.