Kashipara.com is a community of ONE million programmers and students, Just like you, Helping each other.Join them. It only takes a minute: Sign Up
Job Resume TemplateWhy don't preparation your interviews. Best and top asking questions objective c (iphone) questions and answers. Prepare your job objective c (iphone) interview with us. Most frequently asked questions in objective c (iphone) interview. Top 10 most common objective c (iphone) interview questions and answer to ask. objective c (iphone) most popular interview question for fresher and experiences. We have good collection of objective c (iphone) job interview questions and answers. Ask interview questions and answers mnc company.employee ,fresher and student. objective c (iphone) technical questions asking in interview. Complete placement preparation for major companies tests and objective c (iphone) interviews,Aptitude questions and answers, technical, interview tips, practice tests, assessment tests and general knowledge questions and answers.
Properties are used to access the instance variables from outside of class.
objective c iphone interview question for experience and fresher
objective c (iphone) 2013-04-24 09:55:43
After you declare the property in objective-c . we have to tell the compiler instantly by using synthesize directive. Actually this tells to compiler to generate a getter&setter message.
objective c iphone interview question for experience and fresher
objective c (iphone) 2013-04-24 09:56:32
It is reference count of the object
objective c iphone interview question for experience and fresher
objective c (iphone) 2013-04-24 09:58:40
Main purpose is to expose the data in form of xml format and json format ,by using this we can getting the data from server.Third party data fetch.Json format most of use.
objective c iphone interview question for experience and fresher
objective c (iphone) 2013-04-24 10:01:30
To access the data in the xml or json element is called parsing.
objective c iphone interview question for experience and fresher
objective c (iphone) 2013-04-24 10:03:11
By “NSXML†Parser
objective c iphone interview question for experience and fresher
objective c (iphone) 2013-04-24 10:05:37
â€SAX†parser.
objective c iphone interview question for experience and fresher
objective c (iphone) 2013-04-24 10:06:24
objective c (iphone) 2013-04-24 10:07:54
objective c (iphone) 2013-04-24 10:10:26
objective c (iphone) 2013-04-24 10:15:06
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. So you should pretty much only use an
extension at the top of your main .m file (the only place you should
care about ivars, incidentally) — it’s meant to be just that, an
extension.
objective c iphone 1 year experiences interview question.
objective c (iphone) 2013-05-07 10:54:42
Yes, we can use two tableviews on the same view controllers and you can
differentiate between two by assigning them tags…or you can also check
them by comparing their memory addresses.
objective c iphone 1 year experiences interview question.
objective c (iphone) 2013-05-07 10:59:46
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.
objective c (iphone) 2013-05-07 11:01:10
Shallow copy is also known as address copy. In this process you only copy address not actual data while in deep copy you copy data.
Suppose there are two objects A and B. A is pointing to a different array while B is pointing to different array. Now what I will do is following to do shallow copy.
Char *A = {‘a’,’b’,’c’};
Char *B = {‘x’,’y’,’z’};
B = A;
Now B is pointing is at same location where A pointer is pointing.Both A and B in this case sharing same data. if change is made both will get altered value of data.Advantage is that coping process is very fast and is independent of size of array.
while in deep copy data is also copied. This process is slow but Both A and B have their own copies and changes made to any copy, other will copy will not be affected.
objective c iphone 1 year experiences interview question.
objective c (iphone) 2013-05-07 10:53:21
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
Inheritance you subclass from parent class and extend its functionality.
objective c iphone 1 year experiences interview question.
objective c (iphone) 2013-05-07 10:54:13
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 NSObject protocol to access all the mehthods in NSObject
@protocol WebProtocol <NSObject>
@end
If I don’t implement NSObject explicitly, I will not be able to access NSObject methods like retain, release etc. when I access through WebProtocol instance.
While in Java you don’t need to implement Object interface explicitly. It is implicitly implemented.
objective c iphone 1 year experiences interview question.
objective c (iphone) 2013-05-07 10:55:26
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 key and value that property holds becomes value for that key. For example, you have employee class with name property.
You access property like
NSString age = e.age;
setting property value.
e.age = @â€16″;
Now how KVC works is like this
[e valueForKey:@"age"];
[e setValue:@"34" forKey:@"age"];
KVO : The mechanism through which objects are notified when there is change in any of property is called KVO.
For example, person object is interested in getting notification when accountBalance property is changed in BankAccount object.To achieve this, Person Object must register as an observer of the BankAccount’s accountBalance property by sending an addObserver:forKeyPath:options:context: message.
objective c iphone 1 year experiences interview question.
objective c (iphone) 2013-05-07 10:58:31
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 iphone 1 year experiences interview question.
objective c (iphone) 2013-05-07 11:01:37
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.
objective c (iphone) 2013-05-07 11:04:22
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 is any suitable job for you, I will let you know. In this mechanism, your time and money is not wasted. (Push Mechanism)
objective c iphone 1 year experiences interview question.
objective c (iphone) 2013-05-07 11:05:51
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. objective c (iphone) 2024 job interview questions with answers. objective c (iphone) for employee and fresher. Here we present some more challenging practice objective c (iphone) interview questions and answers that were asked in a real interview for a objective c (iphone) developer position. These questions are really good to not just test your objective c (iphone) skills, but also your general development knowledge. objective c (iphone) programming learning. we hope this objective c (iphone) interview questions and answers would be useful for quick glance before going for any objective c (iphone) job interview.