自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(126)
  • 收藏
  • 关注

转载 5555555555555555555555555

http://www.hao123.com/

2015-05-18 11:33:09 124

原创 iOS开发点滴-CABasicAnimation

CABasicAnimation *theAnimation;        theAnimation=[CABasicAnimationanimationWithKeyPath:@"transform.scale"];        theAnimation.duration=0.1f;        theAnimation.removedOnCompletion =NO;

2014-11-27 18:43:53 544

转载 iOS开发-截屏方法

1.        UIGraphicsBeginImageContextWithOptions(pageView.page.bounds.size, YES, zoomScale);        [pageView.page.layer renderInContext:UIGraphicsGetCurrentContext()];        UIImage

2014-11-10 13:28:42 724

转载 iOS点滴- ViewController详解

4、viewWillAppear 这个一般在view被添加到superview之前,切换动画之前调用。在这里可以进行一些显示前的处理。比如键盘弹出,一些特殊的过程动画(比如状态条和navigationbar颜色)。5、viewDidAppear 一般用于显示后,在切换动画后,如果有需要的操作,可以在这里加入相关代码。6、viewDidUnload Releasing ref

2014-11-09 07:37:44 8134

转载 Mac使用--截屏方法

Mac截图快捷键|浏览:32045|更新:2012-04-06 13:38MAC OSX 截图快捷键工具/原料MAC OS X即可步骤/方法1快捷键:2Shift+Command+3  截取全屏幕至桌面Shift+Comm

2014-10-30 13:48:27 120

转载 Mac使用--截屏方法

Mac截图快捷键|浏览:32045|更新:2012-04-06 13:38MAC OSX 截图快捷键工具/原料MAC OS X即可步骤/方法1快捷键:2Shift+Command+3  截取全屏幕至桌面Shift+Comm

2014-10-30 13:48:14 550

转载 Blender点滴-11个小技巧

Blender小技巧http://www.blenderguru.com/articles/11-useful-blender-tricks-you-may-not-know/#.VEm2yYuUe1l

2014-10-24 10:33:50 554

转载 kkkk

http://blog.163.com/nijino_saki/blog/static/8009214420132155585685/

2014-10-21 07:55:21 89

Win8系统安装msi文件时遇到问题,弹出两个对话框:The installer has encountered an unexpected error installing this package.this may indicate a problem with package.the error code is 2502.The installer has encounter

2014-10-11 06:52:37 121

Win8系统安装msi文件时遇到问题,弹出两个对话框:The installer has encountered an unexpected error installing this package.this may indicate a problem with package.the error code is 2502.The installer has encounter

2014-10-11 06:52:37 78

转载 iOS开发点滴-cocoapods在64bit编译

现在编写iOS程序,引用到第三方包,运用cocoapods进行包管理已经成为了一个趋势了,但是最近运用cocoapods构建的应用却在64bit的iOS7系统中有警告的产生,具体的警告信息如下面所示:Pods was rejected as an implicit dependency for ‘libPods.a’ because its architectures ‘i386’ d

2014-10-08 11:18:08 1652

转载 iOS开发--RegexKitLite编译报错

解决RegexKitLite编译报错转载▼标签: it 在编译RegexKitLite的时候,报错如下:Undefined symbols for architecture i386:"_uregex_open", referenced from:_rkl_getCachedRegex in R

2014-09-23 15:49:07 1396

转载 iOS开发--AFJSONRequestSerializer

NSMutableDictionary *dict=[[NSMutableDictionary alloc]init];    [dict setObject:@"apple" forKey:@"brand"];NSString *url=@"http://xxxxx";//你的接口地址   AFHTTPRequestOperationManager *manager = [A    FHTT

2014-09-17 12:09:49 11157

转载 iOS开发点滴-CocoaPods安装和使用教程

CocoaPods安装和使用教程http://code4app.com/article/cocoapods-install-usage

2014-08-13 12:00:32 484

原创 ios开发点滴-ios7系统以上mac地址获取为假地址

2014-07-21 14:42:00.096 Dettol[424:60b] Mac Address: 02:00:00:00:00:002014-07-21 14:42:00.099 Dettol[424:60b] macaddress==02:00:00:00:00:00

2014-07-21 14:38:57 1503

翻译 iOS点滴-How do I size a UITextView to its content?

stackflow 上的怎- (void)textViewDidChange:(UITextView *)textView{ CGFloat fixedWidth = textView.frame.size.width; CGSize newSize = [textView sizeThatFits:CGSizeMake(fixedWidth, MAXFLOAT)]; C

2014-07-10 11:50:12 425

转载 ios开发点滴-icon的使用

iOS icon的使用和设置 (2013-03-11 11:51:18)标签: ios icon iphone图标 程序发布用图标 it分类: iOS笔记icon图标是ios程序包必需的一部分,每个程序都要包含正确的iocn图标,否则将不能通过苹果的审核,下面就讲解一下i

2014-06-20 14:55:21 1089

转载 iOS开发点滴-ShareSDK(iOS版)开发实践:自定义授权视图和分享视图导航栏

最近很多人问ShareSDK的授权视图和分享视图的导航栏样式与应用风格不一致,能否修改导航栏的样式?那么这里我就2.6.1版本进行说明(还在使用1.x版本的朋友建议升级到2.x版本,在新版本中可定制的东西比旧版本更多更灵活哦)。     其实要修改导航栏需要在分享接口(showShareActionSheet或者showShareView)中指定authOptions的viewDelega

2014-06-17 05:56:23 4526 1

原创 iOS开发点滴-“to prevent warning from “PerformSelect may cause a leak because its selector is unknown””

#pragma clang diagnostic push#pragma clang diagnostic ignored "-Warc-performSelector-leaks"    UIImage *resultImage2 = [_imageperformSelector:NSSelectorFromString(@"e2")];    UIImage *resultIm

2014-06-11 13:30:50 758

翻译 U3D开发点滴-射线的使用

using System;/// /// Ray Test 的摘要说明/// 射击是否击中目标/// public class RayTest{    public Transform shotT;    public void Shoot()    {        //设置射线的起始点        Ray ray = new

2014-06-09 06:26:31 2296

翻译 U3D开发点滴-摄像机跟随

using System;/// /// 摄像机的跟随/// 添加到Camera对象/// public class GameCamera{    public Vector3 cameraTarget;    //目标物体的transform组件    private Transform target;    void Start() 

2014-06-08 09:04:35 4489

翻译 U3D开发点滴-敌人基础类

public class Entity:MonoBehaviour    {        public float health;        public virtual void TakeDamage(float dmg)        {            health -= dmg;            if (health      

2014-06-08 08:54:25 811

翻译 U3D开发点滴-延迟物体消失

代码如下:public class Fade:MonoBehaviour{private bool fading;//设置物体存活时间,后然后消失public float lifTime = 1;//物体原本的颜色private Color originalCol;//物体的开始消失的时间private float deathTime;//物

2014-06-08 08:23:23 2821

原创 Unity点滴

想要摄像机跟随其实很简单:

2014-05-20 13:41:06 432

原创 iOS开发点滴-GameCenter报错问题

Error retrieving player info: The requested operation could not be completed due to an error communicating with the server.可能情况就是

2014-05-09 11:55:55 717

转载 U3D点滴-计时器

void start(){start}

2014-04-11 06:56:34 1642

翻译 U3D点滴-Coroutines

原文引用:http://unitypatterns.com/introduction-to-coroutines/

2014-04-10 12:21:09 579

翻译 U3D点滴-单例模式

在开发unity的时候,你会经常发现很难

2014-04-09 11:25:48 2070

翻译 U3D-隐性的局部变量

原文引用

2014-04-08 20:16:59 1236

原创 U3D 开发

http://unitypatterns.com/

2014-04-08 17:48:18 575

翻译 ios开发点滴-rejected for using the Ad support framework错误

当遇到rejected for using the Ad support framework.类似这样的错误的时候打开终端到项目根目录 输入: "grep -r advertisingIdentifier ."

2014-02-24 12:13:31 845

转载 iOS开发点滴-ALAssetsLibrary

利用asseturl来获取图片 ALAssetsLibrary *lib = [[ALAssetsLibrary alloc] init]; [lib assetForURL:[NSURL URLWithString:assetUrl] resultBlock:^(ALAsset *asset){//在这里使用asset来获取图片}failureBlock:^(NSError

2014-01-08 18:26:07 1203

转载 iOS点滴-openSSH使用

OpenSSH for iOS 简介OpenSSH是一个在Linux下很实用的一个软件。iPhone本身就是一个运行BSD系统(可认为是一种Liunx)的硬件,因此,cydia的作者Saurik把OpenSSH这一软件移植到了iOS平台上,并且简化了安全认证密钥的繁琐,使之成为一款可以在iPhone上运行的Cydia软件。OpenSSH用途:在PC或者Mac上远程输入命令操

2013-12-31 15:52:59 6874

转载 iOS开发点滴-网络流量

+ (NSArray *)getDataCounters{    BOOL success;    struct ifaddrs *addrs;    const struct ifaddrs *cursor;    const struct if_data *networkStatisc;        int WiFiSent = 0;    int WiF

2013-12-30 13:16:42 1001

转载 iOS开发点滴-iOS5: Saving photos in custom photo album

http://www.touch-code-magazine.com/ios5-saving-photos-in-custom-photo-album-category-for-download/

2013-12-26 17:03:22 659

原创 cocos2dx学习---修改文件夹读取权限

sudo chmod -R 777 你的文件夹名称

2013-12-17 11:58:38 1440

原创 iOS开发点滴-添加阴影效果

UIBezierPath *shadowPath = [UIBezierPathbezierPathWithRect:imageView.bounds];                imageView.layer.masksToBounds =NO;                imageView.layer.shadowColor = [UIColorblackColo

2013-12-16 15:10:38 10903

转载 iOS开发点滴-lldb的使用方法

http://lldb.llvm.org/tutorial.html

2013-12-08 07:42:59 898

转载 iOS开发点滴-对于[iOS6.0, iOS6.1) UIImagePickerController

参考网址:http://blog.devtang.com/blog/2013/10/15/objective-c-object-model/#define SYSTEM_VERSION_GREATER_THAN_OR_EQUAL_TO(v) ([[[UIDevice currentDevice] systemVersion] compare:v options:NSNumericS

2013-12-04 18:17:57 617

转载 iOS开发点滴-编写高质量的Objective-C代码

此文转载自http://www.cnblogs.com/xdream86/p/3309345.html点标记语法属性和幂等方法(多次调用和一次调用返回的结果相同)使用点标记语法访问,其他的情况使用方括号标记语法。良好的风格:view.backgroundColor = [UIColor orangeColor];[UIApplication sharedApplicatio

2013-12-04 15:58:18 1437

空空如也

空空如也

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

TA关注的人

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