Your case might be different. In my case I followed them below. Go to your application targets in Xcode Select your app target Select Build Settings Change Build Active Architecture Only to Yes
When the number of row in TableView is 0 iOS TableView’s reloadData method isn’t called. So I put a code to handle this case.
Recently I tried to use this method for my development in iOS10. By the way the function isn’t work in iOS10. It always returns false value. I hope that Apple fixs it as soon as possible.
In Swift3 you should cast all dictionary values to AnyObject if the objects are derived from NSObject. Refer the link
You must create InfoPlist.strings file and localize it. After that remember you need to key value to translate a text in infoplist file. "NSLocationWhenInUseUsageDescription" = "BlahBlahBlah"
If you manually create a parent and child relationship between two view controllers, the child view controller might not have a navigation bar in this case. So you might be wondered why the navigation item of the child view controller…
A completion Handler in iOS takes a thread to asynchronously get it done. So it means that we can’t know an exact point which the tasks finish. For example, if we use a for loop to execute several tasks in…
I need to convert a project based on Xcode 7 to Xcode 8. In the project I use Firebase 2 (2.5.1) with CocoaPods. But the problem is that CocoaPods is not compatible to Xcode 8 and iOS10. So I should…
If you change a scheme of your CoreData such as adding a new attribute, you can easily migrate it with options below. do { try persistentStoreCoordinator.addPersistentStoreWithType(NSSQLiteStoreType, configuration: nil, URL: storeURL, options: [NSMigratePersistentStoresAutomaticallyOption: true , NSInferMappingModelAutomaticallyOption: true]) } catch { fatalError("Error…
Apple released a new coding font which calls San Francisco mono. I have used Source Code Pro which Adobe created. But I would like to test and use Apple’s one in Xcode7. Basically San Francisco mono font is pre-installed in…