Skip to main content

10 Quick differences between Swift and Objective C

Comments

Popular posts from this blog

Disable back swipe gesture in UINavigationController

Disable back swipe gesture in UINavigationController(Back swipe in Navigation is a default feature from iOS 7 onwards)  Below Code will completely remove swipe gesture to all view controllers:(Keep in it your base view controller's ViewDidLoad method) if ([ self . navigationController respondsToSelector : @selector ( interactivePopGestureRecognizer )]) [ self . navigationController . view removeGestureRecognizer : self . navigationController . interactivePopGestureRecognizer ];    Below code will remove to particular viewcontroller: self . navigationController . interactivePopGestureRecognizer . enabled = false ;     ---- --- - --- - - - - - - -- - - -  Have a Happy iOS Objective C + Swift Coding  -- - - - - --- - - -  - - -  - - - - - - -   

UIKit Framework Hierarchy

UIKIT Framework Hierarchy

CoreData and its Interview Questions

Core Data takes advantage of the Objective-C language and its runtime, and neatly integrates with the Core Foundation framework. The result is an easy to use framework for managing an object graph that is elegant to use and incredibly efficient in terms of memory usage. Every component of the Core Data framework has a specific purpose and function. If you try to use Core Data in a way it wasn't designed for, you will inevitably end up struggling with the framework. Developers new to the Core Data framework often confuse it with and expect it to work as a database. If there's one thing I hope you'll remember from this series, it is that Core Data isn't a database and you shouldn't expect it to act like one. It's the Model in the Model-View-Controller pattern that permeates the iOS SDK. Core Data isn't the database of your application nor is it an API for persisting data to a database. Core Data is a framework that manages an object graph. It...

Like us on Facebbok