Skip to content

Instantly share code, notes, and snippets.

@rentzsch
Created February 21, 2013 03:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rentzsch/5001843 to your computer and use it in GitHub Desktop.
Save rentzsch/5001843 to your computer and use it in GitHub Desktop.
@interface Person : NSObject
@property(strong) NSString *firstName;
@property(strong) NSString *lastName;
- (NSString*)fullName;
@end
@implementation Person
- (NSString*)fullName {
return [NSString stringWithFormat:@"%@ %@", self.firstName, self.lastName];
}
@end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment