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
通常来说,编程语言教程中的第一个程序应该在屏幕上打印“Hello, world”。在 Swift 中,可以用一行代码实现: println("hello, world")如果你写过 C 或者 Objective-C 代码,那你应该很熟悉这种形式——在 Swift 中,这行代码就是一个完整的程序。你....
分类:
其他好文 时间:
2014-07-29 21:23:22
阅读次数:
389
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
openNebula is the open-source industry standard for data center virtualization,offering a simple but feature-rich and flexible solution to build and m...
分类:
其他好文 时间:
2014-07-29 10:30:56
阅读次数:
286
最终效果图:
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