子曾经曰过

  博客园  :: 首页  ::  ::  ::  :: 管理
上一页 1 2 3 4 5 6 ··· 9 下一页

2012年6月12日

摘要: 待定 阅读全文
posted @ 2012-06-12 18:21 人的本质是什么? 阅读(155) 评论(0) 推荐(0) 编辑

摘要: 待续 阅读全文
posted @ 2012-06-12 18:20 人的本质是什么? 阅读(177) 评论(0) 推荐(0) 编辑

摘要: 文件列表ReadImageAppDelegate.hReadImageAppDelegate.mReadImageViewController.hReadImageViewController.mReadImageViewController.xib--------------------------------------ReadImageAppDelegate.h#import <UIKit/UIKit.h>@class ReadImageViewController;@interface ReadImageAppDelegate : NSObject <UIApplic 阅读全文
posted @ 2012-06-12 17:05 人的本质是什么? 阅读(6456) 评论(0) 推荐(0) 编辑

摘要: http://blog.csdn.net/banyingli/article/details/6124995根据文件名来获取文件路径(Document目录下)//根据文件名来获取文件路径-(NSString*)dataFilePath:(NSString*)sender{NSArray*path=NSSearchPathForDirectoriesInDomains(NSDocumentDirectory,NSUserDomainMask,YES);NSString*documentDirectory=[pathobjectAtIndex:0];return[documentDirectory 阅读全文
posted @ 2012-06-12 15:35 人的本质是什么? 阅读(3523) 评论(0) 推荐(0) 编辑

摘要: 1:正常建立工程2:新建一个objective-C类,命名(可以随便)RootViewController,可带可不带xib文件3:appdelegate.h#import <UIKit/UIKit.h>@class RootViewController;@interface AppDelegate : UIResponder <UIApplicationDelegate>@property (strong, nonatomic) UIWindow *window;@property (strong, nonatomic) RootViewController *roo 阅读全文
posted @ 2012-06-12 15:15 人的本质是什么? 阅读(7818) 评论(0) 推荐(0) 编辑

2012年6月10日

摘要: 待定http://blog.csdn.net/shijiucdy/article/details/7404079#import <AssetsLibrary/AssetsLibrary.h>-(void)getImgs{ dispatch_async(dispatch_get_main_queue(), ^{ NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; ALAssetsLibraryAccessFailureBlock failureblock ... 阅读全文
posted @ 2012-06-10 22:55 人的本质是什么? 阅读(953) 评论(0) 推荐(0) 编辑

摘要: .h#import <UIKit/UIKit.h>#import "MBProgressHUD.h"@interface ViewController : UIViewController<MBProgressHUDDelegate>{ MBProgressHUD *HUD;}-(IBAction)showWithLable:(id)sender;-(void)myTask;@end.m//// ViewController.m// MBprogressbarTest//// Created by jstv.com jstv on 12-6-10./ 阅读全文
posted @ 2012-06-10 22:11 人的本质是什么? 阅读(1167) 评论(0) 推荐(0) 编辑

摘要: http://www.cnblogs.com/iphone520/archive/2011/10/27/2226548.html 手势http://www.cnblogs.com/iphone520/archive/2012/01/09/2225160.html开发常用代码 阅读全文
posted @ 2012-06-10 20:28 人的本质是什么? 阅读(113) 评论(0) 推荐(0) 编辑

2012年6月6日

摘要: @synthesize db;@synthesize dbName;-(void)openAndCreate{ NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES); NSString *documentDirectory = [paths objectAtIndex:0]; NSString *dbPath = [documentDirectory stringByAppendingPathComponent:@"test.db"]; 阅读全文
posted @ 2012-06-06 23:47 人的本质是什么? 阅读(246) 评论(0) 推荐(0) 编辑

摘要: -(UIImage *) getImageFromURL:(NSString *)fileURL { NSLog(@"执行图片下载函数"); UIImage * result; NSData * data = [NSData dataWithContentsOfURL:[NSURL URLWithString:fileURL]]; result = [UIImage imageWithData:data]; return result;}-(void) saveImage:(UIImage *)image withFileName:(NSStrin... 阅读全文
posted @ 2012-06-06 17:35 人的本质是什么? 阅读(32072) 评论(0) 推荐(2) 编辑

上一页 1 2 3 4 5 6 ··· 9 下一页