Created
April 23, 2014 17:40
-
-
Save eahrold/11225535 to your computer and use it in GitHub Desktop.
formatted strings in objective-c classes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-(void)writeFormatString:(NSString*)format, ... | |
{ | |
if(format){ | |
va_list args; | |
va_start(args, format); | |
NSString *str = [[NSString alloc] initWithFormat:format arguments:args]; | |
va_end(args); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment