个别地方没有释放,自己填入即可#import"AppDelegate.h"@interfaceAppDelegate()@end@implementationAppDelegate-(void)dealloc{[_windowrelease];[superdealloc];}-(BOOL)application:(UIApplication*)applicationdidFinishLaunchingWithOptions:(NSDictionary*)launchOptions..
分类:
其他好文 时间:
2015-07-04 17:00:38
阅读次数:
105
1.eg:通过拖动滑块改变图片透明度#import "ViewController.h"@interface ViewController (){ UIImageView *imageView;}@end@implementation ViewController- (void)viewDidLo....
分类:
移动开发 时间:
2015-07-04 12:35:32
阅读次数:
127
首先,找出符合条件的文章。1.清洗公式格式为\\begin{equation}...\\end{equation}\\begin{eqnarray}...\\end{eqnarray}2.以每段为准,将句子连接,接着进行分句(每行为一个句子)。3.清洗标签格式为(\\$$.*?\\$$)?(\\$....
分类:
编程语言 时间:
2015-07-04 12:32:24
阅读次数:
202
#import "ViewController.h"@interface ViewController (){UIActivityIndicatorView *activity;}@end@implementation ViewController- (void)viewDidLoad { [su....
分类:
移动开发 时间:
2015-07-04 10:58:47
阅读次数:
204
1 #import "AppDelegate.h" 2 3 @interface AppDelegate () 4 5 @end 6 7 @implementation AppDelegate 8 9 10 - (BOOL)application:(UIApplication *)appl...
分类:
其他好文 时间:
2015-07-04 08:27:18
阅读次数:
113
1. 批量更新 update table_name set field_name = CASE id WHEN id1 THEN field_value, WHEN id1 THEN field_value END 2.批量插入 insert into table_name (field...
分类:
数据库 时间:
2015-07-04 00:50:45
阅读次数:
140
1 #import "AppDelegate.h" 2 3 @interface AppDelegate ()// 添加代理协议 4 5 @end 6 7 @implementation AppDelegate 8 9 10 - (BOOL)application:(UIApplicati...
分类:
其他好文 时间:
2015-07-03 18:50:22
阅读次数:
121
定义: 第一种:CASE case_value WHEN when_value THEN statement_list [WHEN when_value THEN statement_list] ... [ELSE statement_list]END CASE 第二种:CAS...
分类:
数据库 时间:
2015-07-03 18:45:46
阅读次数:
219
这段时间一直在探索一些新奇的事物,博客一直没有更新。今天我们来学一些好玩的东西。比如利用facebook的pop,做一个会动的贝塞尔曲线。废话不多说,来看看吧。
#import "Beisaier.h"
#import
@interface Beisaier ()
{
CAShapeLayer *layer1;
UIBezierPath *aPath1;
}
@end
...
分类:
移动开发 时间:
2015-07-03 14:12:22
阅读次数:
280
#import "NSString+JSON.h"#import @interface NSString (JSON)+(NSDictionary *)parseJSONStringToNSDictionary:(NSString *)JSONString;@end@implementation N...
分类:
其他好文 时间:
2015-07-03 13:57:56
阅读次数:
73