自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(10)
  • 资源 (9)
  • 收藏
  • 关注

原创 ios 图片拉伸 产生气泡效果

- (UIImage *)stretchableImageWithLeftCapWidth:(NSInteger)leftCapWidth topCapHeight:(NSInteger)topCapHeight 这个函数是UIImage的一个实例函数,它的功能是创建一个内容可拉伸,而边角不拉伸的图片,需要两个参数,第一个是左边不拉伸区域的宽度,第二个参数是上面不拉伸的高度。根据设

2012-12-25 11:02:48 9262 1

原创 ios URL Scheme

Add Row  URL types,然后按照上面的设置,URL identifier   自定义,item(todolist部分) 自定义;上面显示item1实际为item0;下面的为接收到外部调用的时候程序启动,响应方法,在safari输入:todolist://com.acme.ToDoList ,- (BOOL)application:(UIApplication *)ap

2012-12-24 11:35:18 5844

原创 获取UITableView 的cell 及其cell上的controll

假设定义了一个UITableView *myTableView;sectionIndex为row所在的Section,rowIndex及row所在行UITableViewCell *cell = [myTableView cellForRowAtIndexPath:[NSIndexParh indexPathForRow:rowIndex inSection:sectionIndex];

2012-12-21 11:06:29 24017

原创 ios 获取指定路径文件大小

-(long long) fileSizeAtPath:(NSString*) filePath{ NSFileManager* manager = [NSFileManager defaultManager]; if ([manager fileExistsAtPath:filePath]){ return [[manager attributesOfItemAtPa

2012-12-15 10:57:41 5349

原创 常用路径、方法总结

常用路径工具函数NSString * NSUserName(); 返回当前用户的登录名 NSString * NSFullUserName(); 返回当前用户的完整用户名 NSString * NSHomeDirectory(); 返回当前用户主目录的路径 NSString * NSHomeDirectoryForUser(); 返回用户user的主目录

2012-12-14 11:14:14 1337 1

原创 ios (ASIHTTPRequest)获取下载文件大小(size)

[request setDidReceiveResponseHeadersSelector:@selector(didReceiveResponseHeaders:)];- (void)didReceiveResponseHeaders:(ASIHTTPRequest *)request{ NSLog(@"didReceiveResponseHeaders %@",[request.r

2012-12-13 14:44:11 4829

原创 NSTimer 小结

创建一个 Timer+ scheduledTimerWithTimeInterval: invocation: repeats:+ (NSTimer *)scheduledTimerWithTimeInterval:(NSTimeInterval)ti invocation:(NSInvocation *)invocation repeats:(BOOL)yesOrNo;+ sche

2012-12-11 10:44:25 812

原创 关于可移动Button的定制

在开发的过程中,有时候需要用到可以移动的Button,这就需要自己去写一个了;设计思路:通过重写几个touch方法- (void)touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event { if (!isMove && !isCancelTouch) { [delegate clickedActi

2012-12-10 15:39:45 878

原创 ios 全屏/正常 切换时view.frame 的结构设置

if(bt.tag == 100){//转全屏 bt.tag = 101; [[UIApplication sharedApplication] setStatusBarHidden:YES]; self.view.frame = CGRectMake(0, 0, 320, 480); /* if (orientation == UI

2012-12-04 10:46:39 3801

原创 ios 获取当前屏幕的方向 隐藏状态栏

UIInterfaceOrientation orientation = [UIApplication sharedApplication].statusBarOrientation;获取当前屏幕的方向;[[UIApplication sharedApplication] setStatusBarHidden:YES];隐藏状态栏;

2012-12-04 10:39:57 6646

teleport-assist-macos-3.5.5.dmg

teleport mac 助手,配合新版本的 堡垒机服务端3.5.x版本使用,采用github上源码3.5.5beta版编译而成,用于macos系统访问远程资源

2021-03-18

XJSONParse

JSON 格式化工具 for Mac,专业的JSON格式化工具 仿Windows下 JsonView风格!

2018-10-22

photoShutter2 iPhone相机拍照声音反向波音频文件

photoShutter2 iPhone相机拍照声音反向波音频文件

2016-06-01

Genymotion 2.5.4 reg.exe 文件

Exception (VBoxManage): java.io.IOException: Cannot run program "C:\Program Files\Genymobile\Genymotion\/reg": CreateProcess error=2, 系统找不到指定的文件。

2015-10-13

librfc3951

linphone sdk 需要的一个静态库 rfc3951

2015-08-19

Wireshark1.6.3(不会乱码版) for mac

Wireshark1.6.3(不会乱码版) for mac 最新版本会出现乱码,一个个的小方块,还不如之前的这个版本

2013-08-28

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除