What is NS in swift??? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What is NS in swift???

25th Aug 2016, 11:45 AM
Prashant
Prashant - avatar
1 Answer
+ 1
String is a chain of characters. NSString is a chain of characters too but comes with more functionalities to manipulate the Strings. NS refers to Next Step brought by Steve Job. You could prefix your Classes with what you like: instead of class Animal you could say class PNAnimal PN from the initials of your first and last name. Enjoy
17th Sep 2016, 5:03 AM
Abdelkader Ait Assou
Abdelkader Ait Assou - avatar