[SDK]iPhoneアプリ開発初心者質問箱36[touch][iPad]
■ このスレッドは過去ログ倉庫に格納されています
0488名称未設定
2014/01/07(火) 16:15:59.41ID:HXkG/iLM0ttps://developer.apple.com/library/ios/samplecode/StreetScroller/Introduction/Intro.html
こちらのInfiniteScrollViewをUIViewControllerのUIViewControllerメソッドの中で初期化して設定しています。
initWithCoderがよく分からなかったので、内容は元のままinitメソッドをオーバーライドする形に書き換えています。
@interface HogeViewController ()
@property (strong, nonatomic) InfiniteScrollView *scrollView;
@end
@implementation HogeViewController
- (void)viewDidLoad
{
[super viewDidLoad];
// Do any additional setup after loading the view, typically from a nib.
_scrollView = [[InfiniteScrollView alloc] init];
[self.view addSubview:_scrollView];
}
InfiniteScrollViewの正しい使い方・設定方法を教えていただけないでしょうか。よろしくお願いします。
■ このスレッドは過去ログ倉庫に格納されています