
ios_Dev
渡人先渡己
个人github github.com/marco2013
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Swift Programming Basics
We’ve explored the notion of classes, methods, and instance variables, but you probably still don’t have a real idea of how to go about making a program do something. So, this section reviews several转载 2015-03-28 10:05:34 · 1112 阅读 · 0 评论 -
Deep understand iOS view - Drawing(1)
Here discusses the mechanics of drawing. --不要害怕自己写绘图代码,本身并不难,要想让自己的app成为自己想要的样子就要自己捋起袖子原创 2019-07-01 23:10:18 · 246 阅读 · 0 评论 -
Deep understand iOS view(二)
接着一,继续看变换,先旋转后平移再逆旋转(inverted + concatenating) override func viewDidLoad() { super.viewDidLoad() // Do any additional setup after loading the view. let v1 = UIView(frame:...原创 2019-06-15 10:17:08 · 667 阅读 · 0 评论 -
Deep understand iOS view(一)
Experimenting with Views(view 的小实验)The viewDidLoad method can refer to the view controller’s main view by sayingself.view override func viewDidLoad() { super.viewDidLoad() // ...原创 2019-06-13 23:06:43 · 266 阅读 · 0 评论 -
IOS 视频转码器
http://blog.csdn.net/leixiaohua1020/article/details/47072673最简单的基于FFmpeg的移动端例子系列文章列表最简单的基于FFmpeg的移动端例子系列文章列表:最简单的基于FFmpeg的移动端例子:Android HelloWorld最简单的基于FFmpeg的移动端例子:Android 视频解码器最简单的基于转载 2017-12-08 13:29:35 · 765 阅读 · 0 评论 -
objective-c计算相对于现在的时间差
最近做了一个小应用程序,是读取新浪微博的。微博上面对于新发的微博,不是告诉你具体什么时候发布的,而是告诉你几秒钟之前,几分钟之前,几个小时之前之类的相对于现在的时间。可以使用下面代码来计算这个时间差。- (NSString*)timestamp{ // Calculate distance time string // time_t now; time(&now原创 2017-11-04 20:19:19 · 587 阅读 · 0 评论 -
iOS小技巧-为项目添加全局PrefixHeader.pch预编译文件
现在xcode的版本创建新的项目时,不会默认为开发者创建一个全局的PrefixHeader.pch文件,下面简单说下如何自己配置一个PrefixHeader.pch预编译文件。第一步、在navigator栏,在你需要的插入文件的位置右击->New File...(或者快捷键:Command + N ),在弹出的界面中选择:iOS下的Other->PCH File->点击Next->输入转载 2017-11-04 17:53:27 · 1636 阅读 · 0 评论 -
iOS10出现后,ASO优化又有了哪些新玩儿法?
APP优化分为两方面,首先是产品自身优化;第二方面,是通过微信真人积分墙的形式,达成关键词排名提升。从产品自身优化的角度来考虑,一个好的APP名称至关重要,他可以为APP直接吸引非常多的用户。所以这一点需要开发者团队脑洞大开,集思广益,充分展开无限的遐想。接下来说下对产品自身权重影响最大的一个因素,那就是产品副标题。副标题看似无关紧要,实际上充满玄机。本文将详细介绍一下产品自身转载 2017-04-05 18:31:00 · 658 阅读 · 0 评论 -
Types of Backgrounding
five primary types of backgrounding in iOS: 1 application suspension, SuspensionWhen an application is suspended, it ceases executing code but is preserved exactly as the user left it.转载 2015-05-13 00:19:06 · 473 阅读 · 0 评论 -
About 应用程序组(Group)
这个组创建了应用扩展和其关联应用程序都可以访问、共享的容器。打开Xcode中每一个对象的Capabilities窗格,并激活App Groups。 然后对共享组提供唯一标识符。请务必对Finder Sync扩展和其关联应用程序使用同一个标识符。在Capabilities中激活App Groups下列过程将允许com.apple.security.application-gr转载 2015-05-07 21:41:34 · 939 阅读 · 0 评论 -
Beginning Auto Layout Tutorial in iOS 7: Part 1
http://blog.csdn.net/wave_1102/article/details/21400065转载 2014-12-08 18:37:38 · 586 阅读 · 0 评论 -
MKMapView的使用
http://blog.csdn.net/swingpyzf/article/details/16801787一、使用MKMapView 定位二、在地图上通过经纬度标注(大头针)项目源码:http://download.csdn.net/detail/swingpyzf/6569785最终效果图:打开应用程序会自动定位并且放大到自己的位置,然后在我的位置转载 2014-12-18 10:39:48 · 858 阅读 · 0 评论 -
苹果语音
NSUserDefaults *defaults = [ NSUserDefaults standardUserDefaults ]; // 取得 iPhone 支持的所有语言设置 NSArray *languages = [defaults objectForKey : @"AppleLanguages" ]; NSLog ( @"%转载 2015-01-12 21:52:59 · 547 阅读 · 0 评论 -
Basic Swift Syntax
Calling Methods (Hello World) In Objective-C, to print “Hello World” on the console, you would use the NSLog() method:NSLog(@"Hello World");In Swift, the equivalent is as follows:println("转载 2015-03-27 23:14:20 · 682 阅读 · 0 评论 -
Deep understand iOS view(三)
Configuring Layout in the Nib之前都是使用代码来实现自动布局,当对代码实现充分理解后,接下来将接触非常强大的配置方式叫nib editor,虽然可能有些使用nib edit没有代码好表示!When a .storyboard or .xib file is selected, in the File inspector, can make threemajo...原创 2019-06-25 00:49:48 · 268 阅读 · 0 评论