代码改变世界

用贝塞尔曲线实现水波效果

2015-06-26 16:49 by 甘雨路, 869 阅读, 1 推荐, 收藏, 编辑
摘要:// AppDelegate .h 文件 #import @interface AppDelegate : UIResponder @property (strong, nonatomic) UIWindow *window; @end ... 阅读全文

在一个Label上设置多种颜色字体

2015-06-26 16:09 by 甘雨路, 757 阅读, 0 推荐, 收藏, 编辑
摘要:1 #import "AppDelegate.h" 2 3 @interface AppDelegate () 4 5 @end 6 7 @implementation AppDelegate 8 9 10 - (BOOL)appli... 阅读全文

用UIImageView作出动画效果

2015-06-25 23:42 by 甘雨路, 341 阅读, 0 推荐, 收藏, 编辑
摘要:#import "AppDelegate.h"@interface AppDelegate ()@end@implementation AppDelegate- (BOOL)application:(UIApplication *)application didFinishLaunchingWith... 阅读全文

iOS 自定义UIButton(图片和文字混合)

2015-06-22 23:00 by 甘雨路, 1312 阅读, 0 推荐, 收藏, 编辑
摘要:// UIApplicationDelegate .h文件 #import <UIKit/UIKit.h> @interface AppDelegate : UIResponder <UIApplicationDelegate> @property (strong, nonatomic) UIWin 阅读全文

iOS 在一个应用程序中调另一个应用程序

2015-06-19 22:23 by 甘雨路, 224 阅读, 0 推荐, 收藏, 编辑
摘要:在A应用程序中调用B应用程序 1. 首先在B应用程序中生成URL 1)点击targets文件 2)点击Info 3)生成URL ①在Info.plist文件中点击+(新添加一项) ②在Info.plist新添加的一项中的Key选项选择URL types,然后点击... 阅读全文

iOS 图片实现马赛克效果

2015-06-19 09:50 by 甘雨路, 1005 阅读, 0 推荐, 收藏, 编辑
摘要:/** *实现马赛克效果 */ //导出CIImage图片 CIImage*ciImage = [[CIImagealloc]initWithImage:[UIImageimageNamed:@"De.png"]]; // 1.创建Filter滤镜 CIFilter*filter = [CI... 阅读全文
上一页 1 ··· 18 19 20 21 22