#import "RootViewController.h"@interface RootViewController ()@end@implementation RootViewController- (void)viewDidLoad { [super viewDidLoad]; NSStr.....
分类:
Web程序 时间:
2015-10-30 18:35:33
阅读次数:
174
#import "EDRViewController.h"@interface EDRViewController ()@property(nonatomic,weak) UIWebView * webView;@end@implementation EDRViewController- (void...
分类:
移动开发 时间:
2015-10-30 15:25:51
阅读次数:
261
#import "RootViewController.h"#import "Person.h"@interface RootViewController ()@property (nonatomic, retain)NSMutableArray *array;@end@implementation...
分类:
其他好文 时间:
2015-10-29 21:47:31
阅读次数:
171
#import "ViewController.h"#import @interface ViewController ()@property(nonatomic,strong)CLLocationManager * manager;@end@implementation ViewControlle...
分类:
其他好文 时间:
2015-10-29 16:04:26
阅读次数:
220
#import "NSDate+XMGExtension.h"@implementation NSDate (XMGExtension)/** * 是否为今天 */- (BOOL)isToday{ NSCalendar *calendar = [NSCalendar currentCalen...
分类:
其他好文 时间:
2015-10-28 18:46:01
阅读次数:
151
所有代码如下:是一个画板三基颜色的随机变化 #import?"AppDelegate.h"
@interface?AppDelegate?()
{
????NSTimer?*_timer;//定时器
}
@end
@implementation?AppDelegate
-?(void)dealloc?{
????...
分类:
移动开发 时间:
2015-10-28 15:54:50
阅读次数:
297
#synthesize关键字: 根据@property设置,自动生成成员变量相应的存取方法,从而可以使用点操作符来方便的存取该成员变量 。@implementation 关键字,表明类的实现 @end 结束self 关键字 :类似于java中的this,是隐藏参数,指向当前调用方法的类。super ...
分类:
其他好文 时间:
2015-10-28 12:06:59
阅读次数:
221
function?Sierpinski
%Sierpinski??MATLAB?implementation?of?the??Sierpinski.
shg
clf?reset
set(gcf,‘color‘,‘white‘,‘menubar‘,‘none‘,?...
???‘numbertitle‘,‘off‘,‘name‘,‘Fractal?Sierpin...
分类:
其他好文 时间:
2015-10-28 10:58:02
阅读次数:
266
制作简单的九宫格: 源码如下: 1 #import "ViewController.h" 2 3 @interface ViewController () 4 5 @end 6 7 @implementation ViewController 8 9 - (void)viewDidLoad ...
分类:
移动开发 时间:
2015-10-28 01:17:17
阅读次数:
166
#import "AppDelegate.h"@interface AppDelegate ()@end@implementation AppDelegate- (BOOL)application:(UIApplication *)application didFinishLaunchingWith...
分类:
移动开发 时间:
2015-10-27 15:21:10
阅读次数:
185