首页 > 其他 > 详细

UIScollView

时间:2016-11-21 18:42:23      阅读:262      评论:0      收藏:0      [点我收藏+]

技术分享
 
 
NSArray 类定义的方法

1.  makeObjectsPerformSelector:@select(aMethod)

简介:让数组中的每个元素 都调用 aMethod 

2. makeObjectsPerformSelector:@select(aMethod)

                     withObject:oneObject

简介:让数组中的每个元素 都调用 aMethod  并把 withObject 后边的 oneObject 对象做为参数传给方法aMethod

[array makeObjectsPerformSelector:@selector(setRecurringDelegate:)

                                  withObject:self];/*将检测到的该自动插入的交易插入数据库*/

   

[array makeObjectsPerformSelector:@selector(insertRecursion)]; /*将检测到的该自动插入的交易插入数据库*/
 
 
 
 
    //居中
纯代码自动布局NSLayoutConstraint
  [NSLayoutConstraint constraintWithItem:ban  attribute:NSLayoutAttributeCenterX   relatedBy:NSLayoutRelationEqual
 
                          toItem:self.view

                              attribute:NSLayoutAttributeCenterX

                              multiplier:1

 
                              constant:0]];

UIScollView

原文:http://www.cnblogs.com/xsyl/p/6085915.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!