码迷,mamicode.com
首页 >  
搜索关键字:implementation    ( 1803个结果
对常用控件添加长按复制及自定义弹出menu
#import "FeedbackLabel.h"@implementation FeedbackLabel/*// Only override drawRect: if you perform custom drawing.// An empty implementation adversely ...
分类:其他好文   时间:2015-07-30 13:15:43    阅读次数:93
iOS UI01_Label
@implementation AppDelegate -(void)dealloc {     [_window release];     [super dealloc]; } - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary...
分类:移动开发   时间:2015-07-30 09:35:44    阅读次数:182
复制/剪切/粘贴屏幕中的图片
使用touchesEnded:withEvent:自定义复制粘贴菜单,copy:复制屏幕中的图片,cut:剪切屏幕中的图片,paste:粘贴屏幕中的图片. 1 @implementation prjCopyAndPaste 2 3 -(void)viewDidLoad 4 { 5 [sup...
分类:其他好文   时间:2015-07-29 22:45:43    阅读次数:226
利用UIView做出霓虹灯的效果
效果如图 代码如下(只有实现部分) @interface AppDelegate () @end @implementation AppDelegate - (void)dealloc { [_window release]; [super dealloc]; } - (BOOL)application:(UIApplication *)application...
分类:其他好文   时间:2015-07-29 21:23:10    阅读次数:141
The Brain as a Universal Learning Machine
The Brain as a Universal Learning MachineThis article presents an emerging architectural hypothesis of the brain as a biological implementation of aUn...
分类:系统相关   时间:2015-07-29 21:14:26    阅读次数:194
iOS-代理委托的使用
#import "Rigester_ViewController.h" #import "Rigester_ViewController.h" @interface Rigester_ViewController () @end @implementation Rigester_ViewController ...
分类:移动开发   时间:2015-07-29 09:07:08    阅读次数:466
涂鸦之贝赛尔
代码如下@interface JFpaintView ()@property (nonatomic ,strong)NSMutableArray *totalPathPoints; @property (nonatomic, strong)NSMutableArray *paths;@end @implementation JFpaintView //清除 -(void)clear{ [se...
分类:其他好文   时间:2015-07-28 10:58:35    阅读次数:145
iOS -- 用代码添加按钮
#import "ViewController.h"@interface ViewController ()@end@implementation ViewController#pragma mark 用代码添加按钮// 系统默认程序开始时就加载此方法- (void)viewDidLoad{ [s....
分类:移动开发   时间:2015-07-28 00:40:19    阅读次数:170
CALayer 知识:创建带阴影效果的圆角图片图层和创建自定义绘画内容图层
效果如下:KMLayerDelegate.h1 #import 2 3 @interface KMLayerDelegate : NSObject4 5 @endKMLayerDelegate.m 1 #import "KMLayerDelegate.h" 2 3 @implementation ....
分类:其他好文   时间:2015-07-27 00:03:44    阅读次数:218
设计模式_桥梁模式
Bridge Pattern     Decouple an abstraction from its implementation so that the two can vary independently.(将抽象和实现解耦,使得倆者可以独立的变化) 例子 "天下熙熙,皆为利来;天下攘攘,皆为利往"  现实和结构分开 服装公司 ="服装"+"公司" ="服装公司"   解耦之前...
分类:其他好文   时间:2015-07-26 12:46:51    阅读次数:124
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!