例如.为什么它不是[someObject NSLog:@“Hello World!”];?
什么时候我应该使用括号而不是方括号?谢谢.
见例子:
// Method to create C Structure CGRect frame = CGRectMake( 0,100,100 ); // Objective-C method call (sending message) UIButton *button = [[UIButton alloc] initWithFrame:frame];