Name four important data types found in Objective-C
Name four important data types found in Objective-C
Here are four important data types found in Objective-C:
id: This is a generic object pointer type that can point to any Objective-C object. It is commonly used when the exact type of an object is not known or when you want to write code that can work with objects of different classes.
NSString: This is the Objective-C class for representing strings. It provides methods for creating, manipulating, and comparing strings.
Đăng nhập để tham gia thảo luận cùng mọi người.
Chưa có bình luận nào
Hãy là người đầu tiên chia sẻ suy nghĩ của bạn.