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 the difference between string and nsstring?



What is the difference between string and nsstring?..

Answer / Parvez Aalam

In Objective-C, both String and NSString are used to represent text. However, they have some differences:n1. String: It is a C-based Foundation framework class, which is not object-oriented and has no methods or properties for common string operations like length, substring, etc. On the other hand, it is more efficient due to being C based.n2. NSString: It is an Objective-C runtime class, which provides many useful string handling capabilities such as conversion, comparison, searching, and mutation. However, it is less efficient than String because it is object-oriented.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Objective-C Interview Questions

Tell us the result when you invoke a particular method on a nil pointer?

1 Answers  


What are some of the major differences between objective c and swift?

1 Answers  


What is m script in matlab?

1 Answers  


What does r mean in xcode?

1 Answers  


Is objective c still used?

1 Answers  


What is a class in xcode?

1 Answers  


What are the rules of variable?

1 Answers  


What is super in objective c?

1 Answers  


How to sort array of dictionary in objective c?

1 Answers  


What is meant by not thread safe?

1 Answers  


Who invented objective c?

1 Answers  


What is id?

1 Answers  


Categories