The UITabBarController class implements a specialized view controller that manages a radio-style selection interface.
This tab bar interface displays tabs at the bottom of the window for selecting between the different modes and for displaying the views for that mode.
UINavigationController:
The UINavigationBar class provides a control for navigating hierarchical content. It’s a bar, typically displayed at the top of the screen, containing buttons for navigating within a hierarchy of screens.
The UINavigationController class implements a specialized view controller that manages the navigation of hierarchical content. This navigation interface makes it possible to present your data efficiently and makes it easier for the user to navigate that content.
Read:
What are the differences between Cocoa and Cocoa Touch?
What is Xcode ?
What is the use of plist ?
What is .ipa in iOS ?
What is .xib in iOS ?
Your apps will scale automatically on iPhone 6, iPhone 6 Plus screens.
What is MVC in iPhone?
List of design patterns adapted by Cocoa.
2.What is Notifications? What are the types of Notifications in iPhone?
Answer:
Notifications
Notifications give people information and functionality that’s important right now. People can get notifications in various contexts, such as on the lock screen, while they’re using apps, and when they visit Notification Center.
iOS defines two types of notifications.
Local notification:
A local notification is scheduled by an app and delivered by iOS on the same device, regardless of whether the app is currently running in the foreground. For example, a calendar or to-do app can schedule a local notification to alert people of an upcoming meeting or due date.
Remote notification:
A remote notification (also called a push notification) is sent by an app’s remote server to the Apple Push Notification service, which pushes the notification to all devices that have the app installed. For example, a game that users can play against remote opponents can update all players with the latest move.
Read:
Top iOS Interview Questions And Answers for Beginners
iOS Interview Questions and Answers part1
iOS Interview Questions with Answers part2
Animating a UIView to curl down,curl up,curl right,curl left
How to create a Coin Fall Animation
How to animate a view or image along a curved path.
3.What is NSPredicate?
Answer:
The NSPredicate class is used to define logical conditions used to constrain a search either for a fetch or for in-memory filtering.
Example:
Thanks to Cocoa, we can simplify the code by using NSPredicate. NSPredicate is the object representation of an if-statement, or, more formally, a predicate.
NSPredicate *predicate =[NSPredicate predicateWithFormat:@"publisher == %@", @"Apress" ];
NSArray *filtered = [bookshelf filteredArrayUsingPredicate:predicate];
Read:
iOS Interview Questions with Answers part3
iPhone Core Animation - Drawing a Circle
Xcode cannot run using the selected device
Confusion about delegate and protocol in Objective-C
Basic iOS interview Questions And Answers
Top 5 Frequently Asked iOS Interview Questions And Answers.
4.What is NSCopying?
Answer:
NSCopying is meant to make a deep copy of an object. Meaning, there is an independent object of the same type with identical values to the original. As far as memory management, a retain is implicit for the sender. The sender is also responsible for releasing the copy.
This method is required to implement NSCopying, it is the only required method for implementation.
-(id)copyWithZone:(NSZone *)<zone, gotten from calling NSDefaultMallocZone>
Read:
iOS Interview Questions with Answers part5
iOS Interview Questions with Answers part6
Secrets to Effective iPhone App Marketing
iOS Interview Questions And Answers Part 7
iOS Interview Questions And Answers part12
5.What is Id type in iOS?
Answer:
A reference to an Objective C object of an unknown class. Meaning, it's at least an NSObject since NSObject is the parent of all Objective C types.
Read:
Some important points About View Controller.
How to make UIView with rounded corners?
What are required delegates and data sources for Table View?
Some important notes about View in iPhone.
6.What is NSZone in objective C?
Answer:
NSZone is Apple's way of optimizing object allocation and freeing. NSZone is not an object; it is an opaque C-struct storing information about how memory should be handled for a set of objects.