This file contains hidden or 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
| - (IBAction) pressedPeelIt:(UIButton *)sender | |
| { | |
| //Disable the button so they can't press it | |
| self.peelIt.enabled = NO; | |
| [self.textHere resignFirstResponder]; | |
| //Create a new UIView and set the background color to be a UIColor with pattern image of a screen capture | |
| UIView *imgView = [[UIView alloc] init]; | |
| [self.view addSubview:imgView]; |
This file contains hidden or 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
| NSDictionary *myJsonDict = [parser objectWithString:myJSONString]; |
This file contains hidden or 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
| [imageView setImageWithURL:(NSURL *)url]; |
This file contains hidden or 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
| imageView.image = [UIImage imageWithData: | |
| [UIData dataWithContentsOfURL: | |
| [NSURL urlWithString: | |
| [NSString stringWithFormat:@"http://my.imageurl.com/imagepath/%@", imageName] | |
| ] | |
| ] | |
| ]; | |
This file contains hidden or 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
| [SSZipArchive unzipFileAtPath:(NSString *) | |
| toDestination:(NSString *)destinationFolderPath]; |
NewerOlder