上一页 1 ··· 52 53 54 55 56 57 58 59 60 ··· 69 下一页
摘要: #pragma mark - 开始动画 - (IBAction)startAnimation { // 1.1 加载所有的图片 NSMutableArray *imageArr = [NSMutableArray array]; for (int i=0; i<20; i++) { // 获取图片的名称 NSString *imageNam... 阅读全文
posted @ 2016-11-07 20:00 iFat 阅读(1801) 评论(0) 推荐(0) 编辑
摘要: - (void)viewDidLoad { [super viewDidLoad]; /* // 设置frame的方式 // 方式一 UIImageView *imageView = [[UIImageView alloc] init]; imageView.image = [UIImage imageNamed:@"1"]; ... 阅读全文
posted @ 2016-11-07 19:43 iFat 阅读(397) 评论(0) 推荐(0) 编辑
摘要: // 1.创建UIImageView对象 UIImageView *imageView = [[UIImageView alloc] init]; // 2. 设置尺寸 // imageView.frame = CGRectMake(0, 0, self.view.frame.size.width, self.view.frame.size.height); ... 阅读全文
posted @ 2016-11-07 18:44 iFat 阅读(228) 评论(0) 推荐(0) 编辑
摘要: UIKit框架提供了非常多的UI控件,但并不是每一个都很常用,有些控件可能1年内都用不上,有些控件天天用,比如UIButton、UILabel、UIImageView、UITableView等等 UIImageView极其常用,功能比较专一:显示图片 阅读全文
posted @ 2016-11-06 22:46 iFat 阅读(219) 评论(0) 推荐(0) 编辑
摘要: public class MainActivity extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activi... 阅读全文
posted @ 2016-11-06 16:44 iFat 阅读(114) 评论(0) 推荐(0) 编辑
摘要: (1)内容观察不是四大组件 他不需要在清单文件里配置 (2)定义内容观察者 (3)在内容提供者发送通知 阅读全文
posted @ 2016-11-06 15:19 iFat 阅读(321) 评论(0) 推荐(0) 编辑
摘要: 插入联系人的步骤 [1]先往row_contacts表插入数据 contact_id [2]在往data表里面插入数据 data1 //点击按钮 插入一条联系人信息 public void click(View v) { Uri uri = Uri.parse("content://com.andr 阅读全文
posted @ 2016-11-06 13:46 iFat 阅读(206) 评论(0) 推荐(0) 编辑
摘要: UIFont代表字体,常见创建方法有以下几个:+ (UIFont *)systemFontOfSize:(CGFloat)fontSize; 系统默认字体+ (UIFont *)boldSystemFontOfSize:(CGFloat)fontSize; 粗体+ (UIFont *)italicS 阅读全文
posted @ 2016-11-05 23:21 iFat 阅读(169) 评论(0) 推荐(0) 编辑
摘要: UILabel极其常用,功能比较专一:显示文字 UILabel的常见属性 @property(nonatomic,copy) NSString *text; 显示的文字 @property(nonatomic,retain) UIFont *font; 字体 @property(nonatomic, 阅读全文
posted @ 2016-11-05 23:12 iFat 阅读(249) 评论(0) 推荐(0) 编辑
摘要: [1]data表 data1列里面存的是所有联系人的信息 raw_contact_id 列是用来区分一共有几条联系人信息 mimetype_id 列是用来区分数据类型 [2]row_contacts表 中contact_id就是data表的 raw_contact_id 查询联系人的步骤 [1]先查 阅读全文
posted @ 2016-11-03 21:56 iFat 阅读(286) 评论(0) 推荐(0) 编辑
上一页 1 ··· 52 53 54 55 56 57 58 59 60 ··· 69 下一页