How to initialize nsmutabledictionary in objective c?



How to initialize nsmutabledictionary in objective c?..

Answer / Rosan Singh

"To initialize an NSMutableDictionary in Objective-C, you can use the alloc and init methods, followed by an assignment. Here's an example:nnnsmutabledictionary *myDict = [[NSMutableDictionary alloc] init];"

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Objective-C Interview Questions

Will objective c be deprecated?

1 Answers  


How do I open .am files?

1 Answers  


What is toll-free bridging?

1 Answers  


What is the difference between a script and function?

1 Answers  


How to declare variable in objective c?

1 Answers  


Are callbacks closures?

1 Answers  


What is 'protocol' on objective c?

1 Answers  


How to add custom cell in uitableview in objective c?

1 Answers  


What is difference between nsstring and nsmutablestring?

1 Answers  


What is a .m file in xcode?

1 Answers  


How dispatch_once runs only once?

1 Answers  


What are the two types of tangible property?

1 Answers  


Categories