Ожидаемые идентификаторы "(" до "Синтезировать" - PullRequest
0 голосов
/ 23 апреля 2011

Что означает '('?

И код, с которым у меня проблемы -

#import <UIKit/UIKit.h>

@interface ZelNoteAppDelegate : NSObject <UIApplicationDelegate> {        
   UIWindow *window;        
   UITextField *textfield;      
   UITextView *textview;        
}

@property (nonatomic, retain) IBOutlet UIWindow *window;    
(@synthesize, @dynamic UITextField *textfield;    
@synthesize, @dynamic UITextView *textview;    
@end

1 Ответ

1 голос
/ 23 апреля 2011
#import <UIKit/UIKit.h>

@interface ZelNoteAppDelegate : NSObject <UIApplicationDelegate> {        
   UIWindow *window;        
   UITextField *textfield;      
   UITextView *textview;        
}
@property (nonatomic, retain) IBOutlet UIWindow *window;
@property (nonatomic, retain) UITextField *textfield;    
@property (nonatomic, retain) UITextView *textview;    
@end

@interface ZelNoteAppDelegate 
@synthesize window, textField, textView;
// ...
@end

Это поможет вам снова прочитать Язык программирования Objective-C .

Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...