8 chuanyituoku

尚未进行身份认证

暂无相关描述

等级
博文 367
排名 7k+

CocoaPods 公司电脑安装

好像安装的时候最痛苦。。。各种卡不动网络问题还是被墙了?

2014-11-19 14:53:27

iOS 8 : Change of Launch Daemons

iOS8更新后,发现Daemons不会自启动

2014-11-17 14:27:37

iOS 7: How to get own number via private API?

iOS越狱开发获取本机手机号码:http://stackoverflow.com/questions/19504478/ios-7-how-to-get-own-number-via-private-api

2014-10-30 17:25:07

ld: warning: directory not found for option '-F"/Applications/Xcode.app/Contents/Developer/Platforms

在用AFNetworking或者Reachablity.h/.m的时候,遇到这个编译错误:ld:warning:directorynotfoundforoption'-F"/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.s

2014-09-09 13:07:50

防止iOS程序进入休眠状态

设置应用程序的idleTimerDisabled属性为YES(默认为NO)[UIApplicationsharedApplication].idleTimerDisabled=YES;//当然一定要慎用,记着退出程序时把自动休眠功能开启

2014-09-09 10:44:13

AFNetworking 2.0 编译不过的问题修复

Link: http://blog.csdn.net/zaitianaoxiang/article/details/22597785AFNetworking2.0当DeploymentTarget低于6.0时,AFURLConnectionOperation.h,AFURLSessionManager.h@property(nonatomic,strong)dispa

2014-09-09 10:35:54

Xcode Interface Builder Help Link

https://developer.apple.com/library/ios/recipes/xcode_help-interface_builder/_index.html

2014-09-05 13:57:27

Colorize Git Terminal Commands

Addthefollowingtoyour ~/.gitconfig filetoshowthegitcommandoutputincolorwhenworkinginaterminal.Thisisreallyhandy,giveitago.[color]ui=auto[color"branch"]current=

2014-09-03 10:03:41

Get Application Display Name

[[[NSBundlemainBundle]infoDictionary]objectForKey:@"CFBundleDisplayName"];

2014-09-03 09:58:37

NSString写入文件,append模式实现

-(BOOL)appendToFile:(NSString*)pathusingEncoding:(NSStringEncoding)encoding{NSLog(@"\n\nAppendString:%@",self);NSFileHandle*fh=[NSFileHandlefileHandleForWritingAtPath:path];

2014-09-03 09:25:21

Introduction to CocoaPods Tutorial

http://www.raywenderlich.com/64546/introduction-to-cocoapods-2

2014-09-01 22:41:06

Presenting a local notification immediately while running in the background

-(void)applicationDidEnterBackground:(UIApplication*)application{NSLog(@"Applicationenteredbackgroundstate.");//bgTaskisapropertyoftheclassNSAssert(self.bgTask==UII

2014-08-30 19:40:32

Creating, configuring, and scheduling a local notification

-(void)scheduleNotificationWithItem:(ToDoItem*)iteminterval:(int)minutesBefore{NSCalendar*calendar=[NSCalendarautoupdatingCurrentCalendar];NSDateComponents*dateComps=[[NSDateComp

2014-08-30 19:34:09

Monitoring the death of a parent process (via Dispatch Sources)

voidMonitorParentProcess(){pid_tparentPID=getppid();dispatch_queue_tqueue=dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT,0);dispatch_source_tsource=dispatc

2014-08-29 17:20:45

Installing a block to monitor signals (via Dispatch Sources)

voidInstallSignalHandler(){//Makesurethesignaldoesnotterminatetheapplication.signal(SIGHUP,SIG_IGN);dispatch_queue_tqueue=dispatch_get_global_queue(DISPATCH_QUEUE_

2014-08-29 17:09:13

Watching for filename changes (via Dispatch Sources)

anexamplethatmonitorsafilefornamechangesandperformssomecustombehaviorwhenitdoes.(YouwouldprovidetheactualbehaviorinplaceoftheMyUpdateFileNamefunctioncalledintheexample.

2014-08-29 16:57:12

Reading /(Writing) Data from / (to) a Descriptor (Dispatch Sources)

dispatch_source_tProcessContentsOfFile(constchar*filename){//Preparethefileforreading.intfd=open(filename,O_RDONLY);if(fd==-1)returnNULL;fcntl(fd,F

2014-08-29 16:47:58

Getting data from a dispatch source

FunctionDescriptiondispatch_source_-get_handleThisfunctionreturnstheunderlyingsystemdatatypethatthedispatchsourcemanages.Foradescriptordis

2014-08-29 16:18:42

Creating a timer dispatch source

dispatch_source_tCreateDispatchTimer(uint64_tinterval,uint64_tleeway,dispatch_queue_tqueue,dispatch_block_tblock){dispatch_source_ttim

2014-08-29 16:17:45

Dispatch Sources

AboutDispatchSourcesAdispatchsourceisafundamentaldatatypethatcoordinatestheprocessingofspecificlow-levelsystemevents.GrandCentralDispatchsupportsthefollowingtypesofdispatc

2014-08-29 15:21:49
奖章
    暂无奖章