摘要: 当iPhone走进生活时,做好每一个属于我们的iPhone作品,就是我们的信念 1.去RegexKitLite下载类库,解压出来会有一个例子包及2个文件,其实用到的就这2个文件,添加到工程中。 2.工程中添加libicucore.dylib frameworks。 3.现在所有... 阅读全文
posted @ 2011-08-29 19:23 wujian1360 阅读(460) 评论(0) 推荐(0) 编辑
摘要: #import "TestViewController.h"@implementation TestViewController- (void)viewDidLoad { [super viewDidLoad]; //创建与删除: //创建文件管理器 NSFileManag... 阅读全文
posted @ 2011-08-29 19:16 wujian1360 阅读(2950) 评论(0) 推荐(0) 编辑
摘要: #import "TurnViewController.h"@implementation TurnViewController- (void)dealloc{ [super dealloc];}-(void)doScale:(id)sender{ UIView *centerVie... 阅读全文
posted @ 2011-08-29 19:12 wujian1360 阅读(1548) 评论(0) 推荐(0) 编辑
摘要: 创建View based工程文件,导入框架MapKit.framework CoreGraphics.framework libicucore.dylib(重要)。 详见源码下载:http://files.cnblogs.com/wujian1360/TheMapRoute... 阅读全文
posted @ 2011-08-29 18:42 wujian1360 阅读(3995) 评论(0) 推荐(0) 编辑
摘要: #import @interface TestGestureRecognizerViewController : UIViewController { UIView *aView;}@property(nonatomic,retain)IBOutlet UIView *aView;@en... 阅读全文
posted @ 2011-08-29 16:10 wujian1360 阅读(31067) 评论(0) 推荐(2) 编辑
摘要: #import//导入框架 self.aView.layer setCornerRadius:8.0];//倒角self.aView.layer setShadowColor:[[UIColor blackColor]CGColor]];//阴影颜色self.aView.layer s... 阅读全文
posted @ 2011-08-29 16:00 wujian1360 阅读(2172) 评论(0) 推荐(1) 编辑