集合视图UICollectionView 简单来说就是多列的TableView 
它们同样是datasource和delegate设计模式UICollectionViewLayout是一个对View布局和行为描述的类 
UICollectionViewFlowLayout是它的子类
                            
                            
                                分类:
移动开发   时间:
2014-07-22 23:14:53   
                                阅读次数:
395
                             
                    
                        
                            
                            
                                if (ios_Vewsion_5_Or_Above) {//iOS 5系统之后的版本
        self.tableView.bounces =
NO;
    } else {
        for (id subview
in self.tableView.subviews)
            if ([[subview
class] isSubclassOfCl...
                            
                            
                                分类:
其他好文   时间:
2014-07-22 23:03:13   
                                阅读次数:
281
                             
                    
                        
                            
                            
                                - (void)tableView:(UITableView *)tableView 
didSelectRowAtIndexPath:(NSIndexPath *)indexPath{ //1.取消选中这一行 [tableView 
deselectRowAtIndexPath:indexPath.....
                            
                            
                                分类:
其他好文   时间:
2014-07-22 22:59:54   
                                阅读次数:
216
                             
                    
                        
                            
                            
                                - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
{
     [self.tableView
deselectRowAtIndexPath:[self.tableView
indexPathForSelectedRow] animated:YES];
}...
                            
                            
                                分类:
其他好文   时间:
2014-05-08 17:23:54   
                                阅读次数:
261
                             
                    
                        
                            
                            
                                -(BOOL)tableView:(UITableView*)tableViewcanEditRowAtIndexPath:(NSIndexPath*)indexPath{returnYES;}-(void)tableView:(UITableView*)tableViewcommitEditingStyle:(UITableViewCellEditingStyle)editingStyleforRowAtIndexPath:(NSIndexPath*)indexPath{if(editingStyle==U..
                            
                            
                                分类:
其他好文   时间:
2014-05-08 16:33:27   
                                阅读次数:
205
                             
                    
                        
                            
                            
                                1.通过xib自定义cell* 添加tableView* 加载团购数据* 新建xib,获取子控件* 
封装* 最后引入headerView和footerView(插入广告,加载更多)2.通过代码自定义cell* 引入UITableViewController* 
加载模型数据,用自带的cell展示基本数...
                            
                            
                                分类:
其他好文   时间:
2014-05-04 20:31:04   
                                阅读次数:
430
                             
                    
                        
                            
                            
                                每个section的row数量(都是从0下标开始)(http://blog.csdn.net/hmt20130412/article/details/20831377)
                            
                            
                                分类:
移动开发   时间:
2014-05-04 00:29:14   
                                阅读次数:
322
                             
                    
                        
                            
                            
                                // 设置 tableView整体的圆角设置 // /// 设置圆角// 
v_tableview.layer.cornerRadius = 7;// v_tableview.layer.masksToBounds = YES;// 
/// 设置边框// v_tableview.layer.bord....
                            
                            
                                分类:
移动开发   时间:
2014-05-01 14:16:37   
                                阅读次数:
636
                             
                    
                        
                            
                            
                                - 
(UITableViewCellEditingStyle)tableView:(UITableView *)tableView 
editingStyleForRowAtIndexPath:(NSIndexPath *)indexPath{ 
returnUITableViewCellEdit...
                            
                            
                                分类:
移动开发   时间:
2014-05-01 13:30:30   
                                阅读次数:
385
                             
                    
                        
                            
                            
                                【转】- 
(UITableViewCellEditingStyle)tableView:(UITableView *)tableView 
editingStyleForRowAtIndexPath:(NSIndexPath 
*)indexPath{returnUITableViewCellEditi...
                            
                            
                                分类:
其他好文   时间:
2014-05-01 11:57:48   
                                阅读次数:
292