Câu hỏi phỏng vấn Objective-C
Câu hỏi

Name four important data types found in Objective-C

Câu trả lời

Here are four important data types found in Objective-C:

  1. 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.

  2. NSString: This is the Objective-C class for representing strings. It provides methods for creating, manipulating, and comparing strings.

  3. NSArray: This is the Objective-C class for represen...

entry

entry

Gợi ý câu hỏi phỏng vấn

expert

Why and in which conditions should we use @autoreleasepool ?

expert

What's the difference between marking a method as @objc vs dynamic , when would you do one vs the
other?

middle

A grandparent, parent and child problem

Bình luận

Chưa có bình luận nào

Chưa có bình luận nào