NSFetchedResultsController XCode 7 issue

Question or problem in the Swift programming language: Xcode 7 beta 6 and and NSFetchedResultsController gave me headache today. If I compile same(with Swift 2 fixes) code with Xcode 6, program works on device and simulators(iOS 7, iOS8). However if I compile with Xcode 7 beta 6, program crashes on device(iOS 8.4) with following error […]

Continue Reading

Tab Bar Button color in Swift 3?

Question or problem in the Swift programming language: In Swift 2 I used a User Defined Runtime Attribute in Storyboard with a key path of tintColor to change the tab bar item icon colors. However, it looks like tintColor was removed with Swift 3. How can I change the selected color of the tab bar […]

Continue Reading

UIImagePickerController leaking on iOS 11

Question or problem in the Swift programming language: I’ve configured my UIImagePickerController for taking an image and for recording a video both independently. The UIImagePickerController is directly called from an @IBAction (by a UIButton). I receive both UIImage and URL from the video in the imagePickerController delegate method and print them for testing purposes.

Continue Reading