Qinterview.com

Most Commonly Asked Job Interview Questions And Answers

125,000+ Member

our android app in store



What happens when you send autorelease or retain message to autorelease pool?


objective c (iphone) interview questions and answers

common interview question for fresher and experiences.prepare your job interview with us. get your dream job.most frequently asked interview questions.best interview questions. objective c (iphone) for interview questions and answers for fresher and experience. improve interview skills.improve interview confidence.objective c (iphone) best interview questions. start your objective c (iphone) job interview right now and get your dream jobs. preparation job interview any place and any time.also our android application available here. top objective c (iphone) interview questions. best and top asking questions objective c (iphone) interview questions with answers.





Note: any question and answer correct or incorrect give you vote. also you know correct answer then you can post your answer or give vote in answer.

my favorites

add to favorite


What happens when you send autorelease or retain message to autorelease pool?

NSAutoreleasePool  *autoRelease =[ [[ NSAutoreleasePool alloc] init] autorelease]; or

NSAutoreleasePool  *autoRelease =[ [[ NSAutoreleasePool alloc] init] retain];

objective c iphone 1 year experiences interview question.

jayvik 1 0


More Answer

Post your Answer



objective c (iphone) popular interview questions and answers


favorite 0
votes 1
answers 0
views 1459

What happens when you send autorelease or retain message to autorelease pool?

NSAutoreleasePool  *autoRelease =[ [[ NSAutoreleasePool alloc] init] autorelease]; or NSAutoreleasePool  *autoRelease =[ [[ NSAutoreleasePool alloc] init] retain];objective c iphone 1 year experiences interview question.... view more
submited by :- on 2013-05-07 11:45:42

favorite 0
votes 0
answers 0
views 924

Flow of push notification

Your web server sends message (device token + payload) to Apple push notification service (APNS) , then APNS routes this message to device whose device token specified in notification.objective c iphone 1 year experiences interview ques... view more
submited by :- on 2013-05-07 11:07:52

favorite 0
votes 0
answers 0
views 848

Swap the two variable values without taking third variable?


int x=10;
int y=5;
x=x+y;
NSLog(@”x==> %d”,x); y=x-y;
NSLog(@”Y Value==> %d”,y); x=x-y;
NSLog(@”x Value==> %d”,x);objective c iphone 1 year experiences interview question.... view more
submited by :- on 2013-05-07 11:04:22

favorite 0
votes 0
answers 0
views 845

Can we use one tableview with two different datasources? How you will achieve this?

Yes. We can conditionally bind tableviews with two different data sources.objective c iphone 1 year experiences interview question.... view more
submited by :- on 2013-05-07 11:43:58

favorite 0
votes 0
answers 0
views 841


What is difference between NSNotification and delegate?

Delegate is passing message from one object to other object. It is like one to one communication while nsnotification is like passing message to multiple objects at the same time. All other objects that have subscribed to that notification or a... view more
submited by :- on 2013-05-07 11:02:50

favorite 0
votes 0
answers 0
views 820

What are KVO and KVC?

KVO: Normally instance variables are accessed through properties or accessors but KVC gives another way to access variables in form of strings. In this way your class acts like a dictionary and your property name for example “age” becomes k... view more
submited by :- on 2013-05-07 10:58:31

favorite 0
votes 0
answers 0
views 809

When you will create an auto release pool in your application?

There are different occasions when you need to create autorelease pool in your application. 1. When you create a new thread you need to create an autorelease pool because each thread manages his own memory. Also, if one thread creates a problem,... view more
submited by :- on 2013-05-07 11:44:59

favorite 0
votes 0
answers 0
views 800

When to use NSMutableArray and when to use NSArray?

Normally we use mutable version of array where data in the array will change. For example, you are passing a array to function and that function will add some elements to that array or will remove some elements from array, then you will select ... view more
submited by :- on 2013-05-07 11:44:28

favorite 0
votes 0
answers 0
views 772

What is responder chain?

Suppose you have a hierarchy of views such like  there is superview A which have subview B and B has a subview C. Now you touch on inner most view C. The system will send touch event to subview C for handling this event. If C View does not... view more
submited by :- on 2013-05-07 11:10:03

favorite 0
votes 0
answers 0
views 762


What are mutable and immutable types in Objective C?


Mutable means you can change its contents later but when you mark any object immutable, it means once they are initialized, their values cannot be changed. For example, NSArray, NSString values cannot be changed after initialized.objective c ip... view more
submited by :- on 2013-05-07 11:01:37

favorite 0
votes 0
answers 0
views 748

Difference between categories and extensions?

Class extensions are similar to categories. The main difference is that with an extension, the compiler will expect you to implement the methods within your main @implementation, whereas with a category you have a separate @implementation block... view more
submited by :- on 2013-05-07 10:54:42

favorite 0
votes 0
answers 0
views 747

What is push notification?

Imagine, you are looking for a job. You go to software company daily and ask sir “is there any job for me” and they keep on saying no.  Your time and money is wasted on each trip.(Pull Request mechanism) So, one day owner says, if there... view more
submited by :- on 2013-05-07 11:05:51

favorite 0
votes 0
answers 0
views 729

Difference between protocol in objective c and interfaces in java?

Protocol is also way to relate classes that are not related in inheritance hierarchy. Protocols and interfaces both are used to achieve multiple inheritance. There is minor difference between these two. In Objective-C, protocols also implement... view more
submited by :- on 2013-05-07 10:55:26

favorite 0
votes 0
answers 0
views 727

What is difference between implementing a category and inheritance? 


What is advantage of categories?You can add method to existing class even to that class whose source is not available to you. You can extend functionality of a class without subclassing. You can split implementation in multiple classes. While in ... view more
submited by :- on 2013-05-07 10:54:13

favorite 0
votes 0
answers 0
views 727


When we call objective c is runtime language what does it mean?

Objective-C runtime is runtime library that is open source that you can download and understand how it works. This library is written in C and adds object-oriented capabilities to C and makes it objective-c. It is only because of objective c ru... view more
submited by :- on 2013-05-07 11:02:09

favorite 0
votes 0
answers 0
views 725

What is polymorphism?

This is very famous question and every interviewer asks this. Few people say polymorphism means multiple forms and they start giving example of draw function which is right to some extent but interviewer is looking for more detailed answer. Ab... view more
submited by :- on 2013-05-07 11:09:32

favorite 0
votes 0
answers 0
views 711

Which type of parse we have use in iphone?

”SAX” parser.objective c iphone interview question for experience and fresher... view more
submited by :- on 2013-04-24 10:06:24

favorite 0
votes 0
answers 0
views 694

Can we use two tableview controllers on one view controller?

Yes. We can use as many table views in one view controllers. To differentiate between tableviews, we can assign table views different tags.objective c iphone 1 year experiences interview question.... view more
submited by :- on 2013-05-07 11:10:49

favorite 0
votes 0
answers 0
views 655

What is keyword atomic in Objective C?

When you place keyword atomic with a property, it means at one time only one thread can access it.objective c iphone 1 year experiences interview question.... view more
submited by :- on 2013-05-07 11:01:10

favorite 0
votes 0
answers 0
views 653

How push notification works?

This service is provided by Apple in which rather than pinging server after specific interval for data which is also called pull mechanism, server will send notification to your device that there is new piece of information for you. Request is ... view more
submited by :- on 2013-05-07 11:07:18


objective c (iphone) best Interview Questions have been designed especially to get you acquainted with the nature of questions you may encounter during your interview for the subject of objective c (iphone) Programming Language. here some questions that helpful for your interview.