Posts

Showing posts with the label iOS interview tips

Learn Objective-c after swift the opposit way

Image
Migrate from Swift to Objective-c There is ton of material available on how to migrate from objective c to swift but believe me there is nothing on the opposite transition.  No worry I will help you to get through it !     There is lot material for why should I need objective-c after learning swift but today I will give you some really important cut-short points: -The frameworks are written in Objective-C. -Objective-C is stable and well-tested. -Total you will find more than 80% iOS Developers are still with Objective C.   -For Library of C++ you will need to talk to the C++ objects from Objective-C. Swift can call C functions, but I believe that if you are working with a lot of C functions and types, you will want to code in Objective-C. - Maintenance of legacy code. -Transition is going to TAKE time.  - Objective-C is still the facto standard. -Debugging a “nasty” bug is not easy in swift. -The iOS developer community speaks Objective-C. - How long will ...

10 Most Important iOS Concepts every Developer Must Know

Image
Important iOS 10 Swift 3 Development Concepts "Following are some of the most common interview concepts to brush up for swift3+iOS10 jobs"   ARC: Automatic Reference Counting (ARC) The LLVM 3.0 compiler handles memory management for you It is not a garbage collector! Prior to iOS5 – memory management was the single most difficult item to grasp in Objective-C.  Unless you have specific reasons, all of your projects should use ARC. MUTABILITY AND FOUNDATION VALUE TYPES   Provide Swift structs without NS for the following Foundation types and there mutable counterparts ▸ NSDate, NSURL, NSData, NSNotification ▸ NSIndexPath, NSIndexSet, NSCharacterSet ▸ NSAffineTransform, NSDateComponents, NSPersonNameComponents, NSURLComponents, NSURLQueryItem, NSUUID ▸ Obj-C APIs using these types will be automatically bridged to use the structs in Swift  let and var in Swift  let keyword is used to declare a constant and var keyword is used to declare a variable. Variables create...