CocoaPods 公司电脑安装

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

2014-11-19 14:53:27

阅读数 928

评论数 0

iOS 8 : Change of Launch Daemons

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

2014-11-17 14:27:37

阅读数 1073

评论数 0

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

阅读数 1155

评论数 0

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/...

2014-09-09 13:07:50

阅读数 1894

评论数 0

防止iOS程序进入休眠状态

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

2014-09-09 10:44:13

阅读数 891

评论数 0

AFNetworking 2.0 编译不过的问题修复

Link: http://blog.csdn.net/zaitianaoxiang/article/details/22597785 AFNetworking 2.0 当Deployment Target 低于6.0时,AFURLConnectionOperation.h,AFURLSess...

2014-09-09 10:35:54

阅读数 468

评论数 0

Xcode Interface Builder Help Link

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

2014-09-05 13:57:27

阅读数 356

评论数 0

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....

2014-09-03 10:03:41

阅读数 479

评论数 0

Get Application Display Name

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

2014-09-03 09:58:37

阅读数 751

评论数 0

NSString写入文件,append模式实现

- (BOOL)appendToFile:(NSString *)path usingEncoding:(NSStringEncoding)encoding { NSLog(@"\n\n Append String :%@", self); NSFil...

2014-09-03 09:25:21

阅读数 831

评论数 0

Introduction to CocoaPods Tutorial

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

2014-09-01 22:41:06

阅读数 406

评论数 0

Presenting a local notification immediately while running in the background

- (void)applicationDidEnterBackground:(UIApplication *)application { NSLog(@"Application entered background state."); // bgTask...

2014-08-30 19:40:32

阅读数 650

评论数 0

Creating, configuring, and scheduling a local notification

- (void)scheduleNotificationWithItem:(ToDoItem *)item interval:(int)minutesBefore { NSCalendar *calendar = [NSCalendar autoupdatingCurrentCalend...

2014-08-30 19:34:09

阅读数 632

评论数 0

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_D...

2014-08-29 17:20:45

阅读数 472

评论数 0

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 ...

2014-08-29 17:09:13

阅读数 650

评论数 0

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 th...

2014-08-29 16:57:12

阅读数 608

评论数 0

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); ...

2014-08-29 16:47:58

阅读数 449

评论数 0

Getting data from a dispatch source

Function Description dispatch_source_-get_handle This function returns the underlying system data type tha...

2014-08-29 16:18:42

阅读数 389

评论数 0

Creating a timer dispatch source

dispatch_source_t CreateDispatchTimer(uint64_t interval, uint64_t leeway, dispatch_queue_t queue, dis...

2014-08-29 16:17:45

阅读数 1124

评论数 0

Dispatch Sources

About Dispatch Sources A dispatch source is a fundamental data type that coordinates the processing of specific low-level systemevents. Grand Centr...

2014-08-29 15:21:49

阅读数 469

评论数 0

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