時間
@property (nonatomic, strong) IBOutlet UIScrollView *itemsContainer;
@property (nonatomic, strong) UIScrollView *itemsContainerDefaults;
メートル
- (void)awakeFromNib
{
self.itemsContainerDefaults = [self.itemsContainer copy]; // breaks here
}
コンソール
2013-02-27 19:09:07.585 Test App[2038:907] -[UIScrollView copyWithZone:]: unrecognized selector sent to instance 0x1ddcde60
2013-02-27 19:09:07.586 Test App[2038:907] Uncaught exception: -[UIScrollView copyWithZone:]: unrecognized selector sent to instance 0x1ddcde60
2013-02-27 19:09:07.601 Test App[2038:907] Stack trace: ( ... )
にコピーしようとしitemsContainer
てitemsContainerDefaults
いますが、ログにエラーが表示されます。なぜこれが機能しないのですか?