Why don’t we use strong for enum property in objective-c ?



Why don’t we use strong for enum property in objective-c ?..

Answer / Rahul Saxena

In Objective-C, we typically do not use the ‘strong’ attribute when declaring properties of an enumeration (enum) because enums are value types and are copied rather than referenced. Enums have a fixed storage size and do not require memory management using ownership qualifiers like strong.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Apple iOS Interview Questions

What is concurrency in ios?

1 Answers  


What are design patterns in ios?

1 Answers  


Define ipa?

1 Answers  


What does sn mean in a text message?

1 Answers  


What is a difference between stack and heap memory?

1 Answers  


What is nsfetchedresultscontroller? How do you turn on content monitoring?

1 Answers  


How to access the spotlight search feature now?

1 Answers  


What is delegate?

1 Answers  


Explain why delegates and notifications are different.

1 Answers  


What are all the newly added frameworks iOS 4.3 to iOS 5.0?

1 Answers   CDC,


What are all the difference between iOS3, iOS4 and iOS5?

1 Answers   UGC Corporation,


What is messaging? How does the runtime handle message passing?

1 Answers  


Categories