Powered by
Powered by
HuntMyIdeas-Inspire You To Make It Happen
Follow
   Me
  • Blogs
  • About Me
  • Home

iOS Interview Questions And Answers Part 8

10/7/2014

0 Comments

 
Picture
1.What's the difference between UITabBarController and UINavigationController?
Answer:


UITabBarController:
​

Applications use tab bar controllers to manage multiple distinct interfaces, each of which consists of any number of custom views and view controllers.

​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.
0 Comments

Your comment will be posted after it is approved.


Leave a Reply.

    Enter your email address:

    Delivered by FeedBurner

    RSS Feed

    Archives

    December 2019
    August 2018
    January 2018
    December 2017
    November 2017
    October 2017
    August 2017
    April 2017
    July 2016
    June 2016
    May 2016
    April 2016
    March 2016
    February 2016
    December 2014
    November 2014
    October 2014
    September 2014
    August 2014
    July 2014
    June 2014


    ​​Categories

    All
    Affiliate Marketing
    Alexa Rank
    Apple's Latest Updates
    Blog Tips
    Cocos2d X
    Cocos2d-x
    Google AdSense Tips
    Grab-some-ultimate-ideas
    How-to-create-a-twinkling-star-background-effect-in-ios
    In-App Purchase Tutorial In Cocos2d-x (C++) Using SDKBOX
    Ios Interview Questions And Answers
    IOS Multiple Choice Questions And Answers
    Objective C
    Online Business
    Python
    Secrets To Effective IPhone App Marketing
    SEO Tips
    Swift Interview Questions
    Swift Tutorials
    Top 10 Articles Objective C
    Top 10 Articles-Objective-C
    Top 10 Popular Movies Ever
    Top 10 Popular Things To Know
    Top 10 Ultimate Issues Xcode
    Top 400 IOS Interview Questions
    Top IOS Sample Projects To Learn From
    Top Secrets To App Marketing
    UICollectionView
    Unity 3D
    Xcode

WELCOME TO HUNTMYIDEAS

Picture
I am Jitendra Gochhayat,an iOS Developer,Designer,blogger,
​from Odisha,India.
I write about ​​​blog tips and,
Make money online Tips,
​Objective C tutorials
SUSCRIBE TO NEWSLETTER

    Subscribe to this blog and receive notifications of new posts by email

Suscribe
Picture
Picture
Picture
Picture
Picture
HuntMyIdeas-2016 Powered By Weebly
Picture
Powered by Create your own unique website with customizable templates.
Powered by
Powered by