Medium
What directive means that the instance of a variable is accessible only in the class that declares it?
Author: Smart&SoftStatus: PublishedQuestion passed 14 times
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!
Similar QuestionsMore questions about Objective C
0
How to throw an exception in Objective-C0
What is the superclass of UIViewController?0
What is the type of the result of the following expression? '2023-03-08 12:00:00 +0000'.dateWithFormat('yyyy-MM-dd HH:mm:ss Z')0
What is the output of the following Objective-C code?
@interface MyClass : NSObject
- (void)doSomething;
@end
@implementation MyClass
- (void)doSomething {
NSLog(@"%@", self);
}
@end
int main(int argc, const char * argv[]) {
MyClass *myClass = [[MyClass alloc] init];
[myClass doSomething];
return 0;
}0
What is the syntax to create a section in an Objective-C header file?