adspace
Why don’t we use strong for enum property in objective-c ?
Answer Posted / 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 View All Answers
How to handle concurrency problems in core data?
Why do all model object attributes get marked with @dynamic and not synthesised?
In a single model, can I have few entities in one sqlite db file and remaining in another sqlite db file?
What is the purpose of reuseidentifier?
What are transient properties?
What is latest version of ios?
What are the different store migration options? How do they work?
What is nsmanagedobjectcontext? What are the different concurrency types? Explain them.
What is latest xcode version?
Explain parent-child context setup. How does it work? What are the advantages?
What's the latest version of ios?
What is dependency management tools?
What is latest ios version?
Why do all model object attributes get marked with @dynamic and not synthesised? What does @dynamic mean?