- 博客(5)
- 收藏
- 关注
转载 iOS进阶_动画的多种实现方式
一、UIView动画 //UIView动画有开始beginAnimation,有结束commitAnimation //第一步:开始UIView动画 [UIView beginAnimations:@"标识ID(可随意命名)" context:nil]; //第二步:设置动画时长 [UIView setAnimationDuration:3]; ...
2016-06-02 16:01:00
134
转载 iOS进阶_地图上定位的标志——大头针
一、添加大头针地图使用的框架是MapKit大头针走的是MKAnnotation协议/*注意:因为是满足协议MKAnnotation,所以没有MKAnnotation的系统大头针类,必须自定义大头针类,我自定义的为MyAnnotation大头针:在iOS开发中经常会标记某个位置,需要使用地图标注,也就是大家俗称的“大头针”。只要一个NSObject类实现MKAnnota...
2016-05-31 21:34:00
1006
转载 iOS进阶_地图定位
一、定位步骤1.Xcode自带地图,直接先引入头文件#import <CoreLocation/CoreLocation.h>2.CLLocation框架中的CLLocationManager用于管理定位的管理器//CLLocation框架中的CLLocationManager用于管理定位的管理器@property (nonatomic, strong...
2016-05-31 15:34:00
147
转载 iOS进阶_FMDB的简单使用
先引入FMDB第三方,点击查看方法一、创建表1.创建sql语句 NSString *createSql = @"create table if not exists t_student(id integer primary key autoincrement not null, name text not null, age integer not null, sex...
2016-05-30 17:07:00
143
转载 iOS进阶_三方使用步骤
一、配置环境(:后为在终端输入的命令)打开终端查看自己电脑的Ruby环境:gem sources -l如果环境已经是淘宝镜像了,此时不需要再进行环境的修改。如果不是,发送gem sources —remove https://rubygems.org/移除当前镜像,然后gem sources -a https://ruby.taobao.org/来添加淘宝镜像。...
2016-05-28 15:05:00
143
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人