ifau

Russia

Age: 23

1h
answered Why constraint does not work programmatically?
Aug
30
answered Adding constraints to imageview in collectionViewCell
Aug
12
answered What does an Apple weather page consist of?
Aug
12
comment iOS Swift: Resize image to 200x200pt/px
What exactly not working correctly? What result you expect and what result did you get?
Aug
11
answered UISlider in swift like youtube app
Aug
10
comment Swift Save images (screenshots) to nsuserdefaults
@DavidWolters If you want to delete a specific image, in this case, you need associate the image with its path. The easiest way - using Dictionary. Sample code.
Aug
9
revised Swift Save images (screenshots) to nsuserdefaults
added 478 characters in body
Aug
9
comment Swift Save images (screenshots) to nsuserdefaults
@DavidWolters It is possible that file does not exist with saved path. Path to Documents directory could change, if you are testing this on the simulator. In real case files can also deleted or moved. I think that it is better do not store file paths in NSUserDefaults and get them from the images directory. Or check for file existence before initiating UIImage.
Aug
9
comment Swift Save images (screenshots) to nsuserdefaults
@DavidWolters if let imagesPaths = NSUserDefaults.standardUserDefaults().objectForKey(haikuKey) as? [String] { for path in imagesPaths { images.append(UIImage(contentsOfFile: path)) } }
Aug
9
revised Swift Save images (screenshots) to nsuserdefaults
added 278 characters in body
Aug
9
answered Swift Save images (screenshots) to nsuserdefaults
Aug
8
awarded Notable Question
Apr
14
awarded Caucus
Dec
25
awarded Critic
Dec
21
revised iOS 7/8 Passcode screen visual effect
added 26 characters in body
Dec
20
answered iOS 7/8 Passcode screen visual effect
Dec
1
awarded Yearling
Dec
1
awarded Enlightened
Dec
1
awarded Yearling
Dec
1
awarded Nice Answer
1 2 3 4