自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(25)
  • 资源 (29)
  • 收藏
  • 关注

转载 代码资源

搞了好久的ios开发,过程遇到各种各样的问题,基本都是靠百度+google,然后下载别人的开源代码来研究,下面列出一些常逛的ios开源代码网站,分享一下。cocoacontrols.com 收集了很多UI控件效果代码,缺点是需要翻墙,而且代码分类不够好。code4app.com,国内有个类似的,大部分代码来自github,但是做了中文翻译和效果截图,支持搜索,比较好用。缺点是代码还没有

2012-04-28 17:48:55 316

原创 不错blog

http://www.cnblogs.com/iphone520

2012-04-28 17:25:50 265

原创 imageView 添加手势失败原因

imageView = [[UIImageView alloc] initWithFrame:CGRectMake(8, 8, 200, 200)];    imageView.image = [UIImage imageNamed:@"d_citypick.png"];    imageView.userInteractionEnabled = YES;        [self

2012-04-28 14:17:03 2807

翻译 可变行距

https://github.com/Tuszy/MTLabel

2012-04-27 10:39:34 332

原创 淡出效果

imageView = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, 1024, 768)];        imageView.image =  [iBabyPubFunction ImageName:@"DefaultDay.png" IsPublic:NO Role:ROLE_UNKNOW];        image

2012-04-26 16:43:54 253

原创 缩放

////  PinchView.m//  ViewDemo////  Created by wgd on 12-4-25.//  Copyright 2012 __MyCompanyName__. All rights reserved.//#import "PinchView.h"#import @implementation PinchView

2012-04-25 17:16:47 390

转载 pbxuser

*.mode1v3*.pbxuser  这些文件,和项目代码没多大关系,和窗口布局,显示位置相关。  且包含断点信息转载自http://stackoverflow.com/questions/2373046/xcodeproj-filesup vote3down vote favorite share [g+] share

2012-04-24 17:41:46 958

转载 svn

SVN: How to resolve a conflict tutorialPosted by Charleson August 10, 2010 Leave a comment (4)Go to commentsThis tutorial is walkthough on how to resolve a conflict in svn (subversion)Firs

2012-04-24 16:54:03 939

转载 ip

58.251.159.110:8080123.12.12.18

2012-04-24 11:28:36 200

转载 快速 打开模拟器文件夹 和去影藏

open /Users/wgd/Library/Application\ Support/iPhone\ Simulator/4.3/Applications                      快速打开模拟器文件夹 open /Users/wgd/Library/Application\ Support/iPhone\ Simulator/4.3/Media/DCIM/10

2012-04-24 10:17:58 885

原创 CustomLable

#import @interface CustomerLable : UILabel {    NSMutableAttributedString *mutaString;}@property (nonatomic,retain) NSMutableAttributedString *mutaString;- (NSAttributedString *)

2012-04-23 14:37:05 669

原创 UILable 库

https://github.com/AliSoftware/OHAttributedLabelUILabel是经常使用的一种控件,iOS上的UILabel已经能很好满足一些需求。比如设置对齐方式,换行模式等等。但如果需求是需要一串字符中不同的字符颜色,字体都单独设置,UILabel就无法满足了。那就自己来做个富文本Label好了。先创建继承UILabel的Attrib

2012-04-23 09:43:54 2588

原创 移动图片

-(void)chooseRect{        float newX=0,newY=0;    CGRect newFrame;    newX = sourceView.frame.origin.x + endPoint.x-beginPoint.x;    newY = sourceView.frame.origin.y + endPoint.y-beginPoint.

2012-04-19 09:35:05 423

原创 截取 视图 部分 图片

/*      * begin      * 可以通过下边这段代码实现将myView中的图像抓取并保存成文件      */      UIGraphicsBeginImageContext(photoBackGround.frame.size); //@ 这里的myView可以换成其他的View,都可以得到这个View里的图像      CGContextRef cont

2012-04-19 08:37:26 303

原创 UIPinchGestureRecognizer

http://stackoverflow.com/questions/5647084/limit-maximum-scale-for-scaling-image-with-pinch-gesture-in-ios http://stackoverflow.com/questions/3406179/uipinchgesturerecognizer-zoom-out-zoom-in

2012-04-17 21:53:03 724

原创 图形api 函数解释

CGContextRef context = UIGraphicsGetCurrentContext(); // 获取图形环境CGContextSaveGState(context);       //保存图形环境到堆栈CGContextTranslateCTM(context, 0, rect.size.height);  //重新设置坐标点  原本点是 左下角(0,0)CGCont

2012-04-13 17:54:51 535

转载 截取视图 保存

CGRect rect = self.view.frame;    UIGraphicsBeginImageContext(rect.size);    CGContextRef context =UIGraphicsGetCurrentContext();    [self.view.layer renderInContext:context];    UIImage *img

2012-04-13 11:23:50 278

转载 往返小球

[UIViewbeginAnimations:@"movement"context:nil];   [UIViewsetAnimationCurve:UIViewAnimationCurveEaseIn]; //设置速度  [UIViewsetAnimationDuration:1.0f];  [UIViewsetAnimationRepeatCount:3];

2012-04-12 17:56:42 273

原创 自动调整 lable

-(void)drawGroupTip:(NSString *)groupName{        UILabel    *frontTipLabel = [[UILabel alloc] initWithFrame:CGRectMake(60,44,100,20)];    frontTipLabel.text = @"你正在";    frontTipLabel.backg

2012-04-12 08:56:03 343

原创 URLRequest

////  Copyright 2012 __MyCompanyName__. All rights reserved.//#import @interface URLRequest : NSObject {    id _delegate;        SEL _action;    NSString *_xml;    NSMutableDat

2012-04-10 13:24:33 738

原创 checkView

#import @interface OptionCheckView : UIView {    NSMutableArray *buttonArray;    id _delegate;}@property (nonatomic,retain) NSMutableArray *buttonArray;@property (nonatomic,assign) id

2012-04-10 13:22:49 532

原创 获取今天星期几 ,一年的多少周

NSCalendar *calendar = [NSCalendar currentCalendar];        NSInteger unitFlags = NSWeekCalendarUnit|NSWeekdayCalendarUnit;        NSDateComponents *comps = [calendar components:unitFlags from

2012-04-06 13:54:47 6453

转载 oauth_verifier 的获取

- (BOOL)webView:(UIWebView *)webView shouldStartLoadWithRequest:(NSURLRequest *)request navigationType:(UIWebViewNavigationType)navigationType{

2012-04-05 09:36:38 841

原创 CFURLCreateStringByAddingPercentEscapes

@implementation  NSString (URLEncoding)-(NSString *)URLEncodedString{    NSString *result = (NSString *)CFURLCreateStringByAddingPercentEscapes(kCFAllocatorDefault,

2012-04-01 17:35:23 1131

转载 数组排序

static NSInteger sortParameter(NSString *key1,NSString *key2,void *context){    NSComparisonResult result = [key1 compare:key2];    if(NSOrderedSame == result)    {        NSDictionary *dic

2012-04-01 16:15:21 234

最新ida7.2.zip

ida反汇编逆向资源,亲测有效果,ida7.2 windows 版本,带key。

2019-06-24

BurpSuitV1.7.17 Cracked

亲测有效!

2017-04-20

linux内核注解

linux 内核注解,难得赵老出来,给大家讲解,解剖linux。

2012-08-01

脚本小子攻防

脚本攻防,比较老了,不过学习基本思路还是不错的。

2012-08-01

IDA 使用教程

大名鼎鼎的IDA,使用也比较复杂,看看也不错。

2012-08-01

美化 iOS 手机

iOS 美化

2012-06-05

俄罗斯方块2

改进了些bug 以后有时间再改吧 总弄这个也不好

2012-05-18

俄罗斯方块

旋转数组,这个是我这个俄罗斯方块的特点吧。

2012-05-17

iphone kvo code

iphone kvo code 迟早都要看的吧。

2012-05-15

缓存图片库 demo

iphone 图片缓存 测试可以用。SDWebImage。

2012-05-11

mac下看图工具

苹果电脑下看图工具,默认的经常打不开。

2012-05-11

还原iphone图片

iphone 图片还原,测试通过可以的。

2012-05-09

iphone 连连看

学习一周ios能够做出这个

2012-02-03

简洁GBK UTF-8 UNICODE 转换工具

开发时,涉及到语言编码时,特别方便。。。小巧方便,实用。

2012-01-31

object-c grammer

好多官方语法解释在此。如synthesize 用法。

2012-01-31

网络通讯程序方便自己学习

网络通讯 程序 方便自己 学习。。。。。。

2011-07-18

最强悍的 sqlite 查看工具

用过4,5个sqlite查看工具,这个是最方便,功能强大。又小。

2011-06-16

C 游戏编程高手实践

一些关于C的游戏编程代码,好好学习吧,全免费提供。

2010-11-01

Microsoft.Programming.Applications.for.Microsoft

windows下编程的经典好书。免费哦,不要钱的喔。。。。。

2009-07-11

TMGBusUpdConfCallBohr121604final

TMGBusUpdConfCallBohr121604finalTMGBusUpdConfCallBohr121604final

2008-08-27

程序员必读index程序员必读indexv

程序员必读index程序员必读index程序员必读index

2008-08-27

linux0.11代码linux0.11代码linux0.11代码

本来这里是有了的。可是要8分的积分,我发了八分买下来了,没钱了,就要一个资源分吧!

2008-08-27

英文的sun的x86汇编手册

英文的sun的x86汇编手册英文的sun的x86汇编手册英文的sun的x86汇编手册

2008-08-26

linux windows下的nasm 手册

学习NASM,很好的资料喔!!!linux windows下的nasm

2008-08-26

AT&T汇编语言与GCC内嵌汇编简介

AT&T汇编语言与GCC内嵌汇编简介AT&T汇编语言与GCC内嵌汇编简介AT&T汇编语言与GCC内嵌汇编简介AT&T汇编语言与GCC内嵌汇编简介

2008-08-25

简介明了的汇编查询器!

简介明了的汇编查询器!自己查到的,拿来共享下 ,是黑影的,

2008-08-25

空空如也

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

TA关注的人

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