1down voteIf you decide to add a .pch file manually and you want to use Objective-C just like before xCode 6 you will also have to import UIKit and Fo...
分类:
其他好文 时间:
2015-01-10 16:29:35
阅读次数:
171
DXPopoverA Popover mimic Facebook app popover using UIKit.使用UIKit框架写了一个类似于Facebook的pop效果的动画。The concept of this popover is very simple: add your conte...
分类:
其他好文 时间:
2015-01-09 00:03:50
阅读次数:
233
如何在iOS中使用BlockBlock可以帮助我们组织独立的代码段,并提高复用性和可读性。iOS4在UIKit中引入了该特征。超过100个的Apple API都使用了Block,所以这是一个我们必须开始熟悉的知识。Block是什么样的?你可以使用^操作符来声明一个Block变量,它表示一个Block...
分类:
移动开发 时间:
2015-01-08 22:45:28
阅读次数:
328
View Program iOSView and Window ArchitectureThe view draw cycleWhen a view first appears on the screen, the system asks it to draw its content. The sy...
分类:
其他好文 时间:
2015-01-07 00:29:05
阅读次数:
274
0.今天开始学习SWIFT,以后就得连续的学习一段时间了。跟oc的语法大同小异, 1.另外就是按照一篇文章从零开始写applewatch的小程序,但是倒入swift文件的时候还是显示倒入fundation而不是uikit,以至于没有写下去。以后写的applewatch肯定是swift来写的趋...
分类:
其他好文 时间:
2015-01-06 19:53:11
阅读次数:
192
在移动端设计风起云涌的今天,移动端的UI和UX设计师任重而道远。巧妇难为无米之炊,好素材就是设计师的底气。这次搜集的移动端免费素材覆盖全面,从教学资源到UIKit,从开发工具到图标合集,一应俱全。学习资源UXDesignforMobileDevelopers移动端开发的用户体验设计是Udacity所...
分类:
移动开发 时间:
2015-01-06 11:49:59
阅读次数:
368
//使用NSUserDefaults对UIImage数据进行保存
1.对JPEG图片进行保存
UIKIT_EXTERNNSData*UIImageJPEGRepresentation(UIImage*p_w_picpath,CGFloatcompressionQuality);
2.对PNG图片进行保存
UIKIT_EXTERNNSData*UIImagePNGRepresentation(UIImage*p_w_picpath);
//保存(这里保存..
分类:
其他好文 时间:
2015-01-03 21:10:57
阅读次数:
226
1 // Playground - noun: a place where people can play 2 3 import UIKit 4 //---------------------------------------------------------------------...
分类:
编程语言 时间:
2015-01-01 12:29:09
阅读次数:
148
A.关于Quiartz2D的一些细节1.UIKit的工具已经封装了上下文引用,所以不用手动获取和渲染1 - (void)drawRect:(CGRect)rect {2 [[UIColor redColor] set];3 UIRectFill(CGRectMake(0, 0, 10...
分类:
移动开发 时间:
2014-12-31 23:58:14
阅读次数:
700
// Playground - noun: a place where people can playimport UIKit/***********************************************************//*** 一. A Swift Tour*///1....
分类:
编程语言 时间:
2014-12-30 00:25:32
阅读次数:
231