Corona中文站

强大、易学的跨平台(iOS/Android)开发框架。QQ群1:74390406(满) 群2:221929599

导航

使用xib文件来快速创建自定义风格的table view[独家图文 ]
1。创建view-based工程图


2.用ib打开...controller.xib文件,拖入一个table view。



3。在classes目录下创建UITableView文件,取名为BagItemCell。


.h文件,.m文件不用改

#import

@interface BagItemCell : UITableViewCell {


IBOutlet
UILabel *lblName;

}

@property (nonatomic,retain) UILabel *lblName;
...
«1»

日历

<< 2014-10 >>

Sun

Mon

Tue

Wed

Thu

Fri

Sat

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31

最近发表

Copyright 2011-2015 BuildApp.Net. All Rights Reserved.