daily pastebin goal
24%
SHARE
TWEET

Untitled

a guest Jan 12th, 2019 73 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Release Custom Object returned by function
  2. -(void)myMethod(){
  3. LinesOfText *linesOfText = [self linesOftext:@"this is my text"];
  4. }
  5.  
  6. -(LinesOfText *)linesOftext:(NSString *)_string{
  7. LinesOfText *linesOfText = [[linesOfText alloc] init];
  8. [linesOfText propsOfTextLine:_string];
  9. return linesOfText;
  10. }
  11.    
  12. return [linesOfText autorelease];
  13.    
  14. LinesOfText *linesOfText = [[[linesOfText alloc] init] autorelease];
  15.    
  16. LinesOfText *linesOfText = [[LinesOfText linesOftext:@"this is my text"] autorelease];
  17.    
  18. LinesOfText *linesOfText = [self linesOftext:@"this is my text"];
  19.    
  20. +(LinesOfText *)linesOftext:(NSString *)_string {
  21.    
  22. -(LinesOfText *)linesOftext:(NSString *)_string {
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top