Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is property and its types?



What is property and its types?..

Answer / Harish Singh

"In Objective-C, properties provide a way to encapsulate instance variables with accessor methods. Properties can be of different types such as `@property (nonatomic, strong) IBOutlet UIView *myView;` or `@property (readonly, assign) CGFloat myReadonlyProperty;`. This line defines an instance variable `myView` and a synthesized accessor method pair."

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Objective-C Interview Questions

Can protocols have properties?

1 Answers  


What is differences between nsnull and nil in objective c?

1 Answers  


Why is objective c syntax so weird?

1 Answers  


What is block variable?

1 Answers  


Can we create dynamic classes in objective c? If yes, explain how to create with a valid use case?

1 Answers  


What is kvc and kvo? Give an example of using kvc to set value.

1 Answers  


What are the 5 principles of object oriented programming?

1 Answers  


What is the difference between polymorphism and abstraction?

1 Answers  


What do you mean by @synthesize and @dynamic in the objective-c?

1 Answers  


What is .h and .m file in xcode?

1 Answers  


What is the protocol in objective c?

1 Answers  


How do you call a method in objective c?

1 Answers  


Categories