8 chuanyituoku

尚未进行身份认证

暂无相关简介

等级
TA的排名 1w+

CocoaPods 公司电脑安装

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

2014-11-19 14:53:27

iOS 8 : Change of Launch Daemons

iOS 8 更新后,发现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: directory not found for option '-F"/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.s

2014-09-09 13:07:50

防止iOS程序进入休眠状态

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

2014-09-09 10:44:13

AFNetworking 2.0 编译不过的问题修复

Link: http://blog.csdn.net/zaitianaoxiang/article/details/22597785AFNetworking 2.0 当Deployment Target 低于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

Add the following to your ~/.gitconfig file to show the git command output in color when working in a terminal. This is really handy, give it a go.[color]ui = auto[color "branch"]current =

2014-09-03 10:03:41

Get Application Display Name

[[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleDisplayName"];

2014-09-03 09:58:37

NSString写入文件,append模式实现

- (BOOL)appendToFile:(NSString *)path usingEncoding:(NSStringEncoding)encoding{ NSLog(@"\n\n Append String :%@", self); NSFileHandle *fh = [NSFileHandle fileHandleForWritingAtPath: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(@"Application entered background state."); // bgTask is a property of the class NSAssert(self.bgTask == UII

2014-08-30 19:40:32

Creating, configuring, and scheduling a local notification

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

2014-08-30 19:34:09

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

void MonitorParentProcess() { pid_t parentPID = getppid(); dispatch_queue_t queue = dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0); dispatch_source_t source = dispatc

2014-08-29 17:20:45

Installing a block to monitor signals (via Dispatch Sources)

void InstallSignalHandler() { // Make sure the signal does not terminate the application. signal(SIGHUP, SIG_IGN); dispatch_queue_t queue = dispatch_get_global_queue(DISPATCH_QUEUE_

2014-08-29 17:09:13

Watching for filename changes (via Dispatch Sources)

an example that monitors a file for name changes and performs some custom behavior whenit does. (You would provide the actual behavior in place of theMyUpdateFileNamefunction called in theexample.

2014-08-29 16:57:12

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

dispatch_source_t ProcessContentsOfFile(const char* filename) { // Prepare the file for reading. int fd = open(filename, O_RDONLY); if (fd == -1) return NULL; fcntl(fd, F

2014-08-29 16:47:58

Getting data from a dispatch source

FunctionDescriptiondispatch_source_-get_handleThis function returns the underlying system data type that the dispatch sourcemanages.For a descriptor dis

2014-08-29 16:18:42

Creating a timer dispatch source

dispatch_source_t CreateDispatchTimer(uint64_t interval, uint64_t leeway, dispatch_queue_t queue, dispatch_block_t block) { dispatch_source_t tim

2014-08-29 16:17:45

Dispatch Sources

About Dispatch SourcesA dispatch sourceis a fundamental data type that coordinates the processing of specific low-level systemevents. Grand Central Dispatch supports the following types of dispatc

2014-08-29 15:21:49

查看更多

勋章 我的勋章
    暂无奖章