How to convert nsnumber to nsstring in objective c?



How to convert nsnumber to nsstring in objective c?..

Answer / Ashish Mathur

"To convert NSNumber to NSString in Objective-C, you can use the description method or the stringValue method. For example: NSString *str = [myNumber description]; or NSString *str = [myNumber stringValue];"

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Objective-C Interview Questions

What is protocol in objective-c?

1 Answers  


What is protocol in networking?

1 Answers  


What is the use of synchronized() block in objective c?

1 Answers  


What is hashable?

1 Answers  


What are the different types of identifiers?

1 Answers  


What is the difference between a script and function?

1 Answers  


Which is better swift or objective c?

1 Answers  


What does @synchronized() do?

1 Answers  


Who calls dealloc method? Can we implement dealloc in arc?

1 Answers  


Is swift objective c?

1 Answers  


What is 'protocol' on objective c?

1 Answers  


What is posing in objective c?

1 Answers  


Categories