1
我已經創建了用於將數據傳送到CustomComponent
的協議CustomComponentDataSource
。如何在InterfaceBuilder(Xcode)中顯示屬性
@protocol CustomComponentDataSource <NSObject>
- (NSUInteger)numberOfBlocksInView:(CustomComponent *)customComponent;
...
@end
@interface CustomComponent : NSView
...
@property id <CustomComponentDataSource> dataSource;
...
@end
是否有可能使這個dataSource
財產都看得到,並準備在XCode的接口工具的詳情鏈接?