iOS开发UI篇—自定义瀑布流控件(cell的循环利用)一、简单说明 当滚动的时候,向数据源要cell。 当UIScrollView滚动的时候会调用layoutSubviews在tableView中也是一样的,因此,可以用这个方法来监听scrollView的滚动,可以在在这个地方向数据源索要对应.....
分类:
移动开发 时间:
2014-07-30 11:59:43
阅读次数:
405
TableView表
TableColumn列
构建一个表主要有TableView,TableColumn,ObservableList,Bean。
添加列table.getColumns().addAll(firstNameCol, lastNameCol, emailCol);
ObservableList里面是存放的数据
table.setItems(observa...
分类:
编程语言 时间:
2014-07-29 22:07:02
阅读次数:
460
http://stackoverflow.com/questions/18577462/how-to-make-a-tableview-divided-into-sections-by-letter-like-the-contacts-apphttp://www.iphonedevcentral.c...
分类:
移动开发 时间:
2014-07-29 21:10:42
阅读次数:
207
Tableview为我们提供了列表功能,在游戏中可以用来呈现物品,道具等,效果如下图:在上图中,有两个列表,一个是水平方向的,一个是竖直方向的,该效果图出自cocos2d-x自带的例子,里面有相关的代码,可以自行查阅,这里我只记录一下相关接口,以便日后使用: 1 #include "cocos2d....
分类:
编程语言 时间:
2014-07-29 20:40:22
阅读次数:
269
最终效果图:
Girl.h
//
// Girl.h
// 12_tableView的增删改
//
// Created by beyond on 14-7-27.
// Copyright (c) 2014年 com.beyond. All rights reserved.
//
#import
@interface Girl : NSObject
// UI控...
分类:
移动开发 时间:
2014-07-29 14:25:18
阅读次数:
258
//uiTableView透明效果 tableView.backgroundView=nil; tableView.backgroundColor=[UIColor clearColor]; uiTableViewCellPullDown.textLabel.backgrou...
分类:
其他好文 时间:
2014-07-29 12:23:16
阅读次数:
136
最终效果图:
Girl.h
//
// Girl.h
// 12_tableView的增删改
//
// Created by beyond on 14-7-27.
// Copyright (c) 2014年 com.beyond. All rights reserved.
//
#import
@interface Girl : NSObject
// U...
分类:
移动开发 时间:
2014-07-28 16:00:13
阅读次数:
317
最终效果图:
Girl.h
//
// Girl.h
// 12_tableView的增删改
//
// Created by beyond on 14-7-27.
// Copyright (c) 2014年 com.beyond. All rights reserved.
//
#import
@interface Girl : NSObject
// UI控...
分类:
移动开发 时间:
2014-07-28 15:43:43
阅读次数:
358
总结几个TableView常用的代码 初始化方面 static string CellIndetifier="cellIndetifier";-(NSInteger)numberOfSectionsInTableView:(UITableView *)tableView{ return 1;//表中...
分类:
移动开发 时间:
2014-07-28 11:22:30
阅读次数:
222
最终效果图:
Girl.h
//
// Girl.h
// 11_tableView的使用_红楼梦
//
// Created by beyond on 14-7-26.
// Copyright (c) 2014年 com.beyond. All rights reserved.
//
#import
@interface Girl : NSObject
/...
分类:
移动开发 时间:
2014-07-28 00:15:59
阅读次数:
310