u16suzuの blog

日々学んだことのメモブログです。

2013-05-07から1日間の記事一覧

UIButtonの設置

UIButton *btn = [UIButton buttonWithType:UIButtonTypeRoundedRect]; btn.frame = CGRectMake(10, 50, 100, 30); [btn setTitle:@"push" forState:UIControlStateNormal]; [self.view addSubview:btn];

UITableViewの使い方

- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section; - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath; 使用例 @interface ViewController () <UITableViewDelegate, UITableViewDataSource> @propert</uitableviewdelegate,>…