摘要: Add NSContactsUsageDescriptionkey to your info.plist and add the Message you want to display as the value.For more keys, please refer to:https://developer.apple.com/library/mac/documentation/General/Reference/InfoPlistKeyReference/Articles/CocoaKeys.htmlNSContactsUsageDescriptionNSContactsUsageDescr 阅读全文
posted @ 2013-08-16 10:43 九勺吹雪 阅读(226) 评论(0) 推荐(0)
摘要: 转自:http://b2cloud.com.au/how-to-guides/using-a-xcconfig-fileIn Xcode the build settings screen can be pretty daunting for some people, especially when you start iOS/Mac development. Knowing which settings to pick can be tricky, but I still see a lot of people that do this individually for each of th 阅读全文
posted @ 2013-05-30 16:32 九勺吹雪 阅读(261) 评论(0) 推荐(0)
摘要: @implementation NSString(compare)-(NSComparisonResult)intCompare:(NSString *)other{ int myValue = [self floatValue]; int otherValue= [other floatValue]; if (myValue == otherValue) { return NSOrderedSame; } return (myValue < otherValue ? NSOrderedAscending : NSOrderedDes... 阅读全文
posted @ 2013-05-24 17:53 九勺吹雪 阅读(731) 评论(0) 推荐(0)
摘要: 1. Whenever you create an object in viewDidLoad (setting the reference count to 1), you should release the object in viewDidUnload.2. It is a good practice to set an object to nil after release, because by setting it to nil it avoids a lot of problems. Any time you call a method on a nil object, it 阅读全文
posted @ 2013-05-24 10:35 九勺吹雪 阅读(154) 评论(0) 推荐(0)
摘要: 转自:http://blog.csdn.net/sanpintian/article/details/7571621在用xcode开发的时候偶尔会出现一些好像不应该的错误,今天遇到的其实也不算是错误,在键盘command+鼠标选择- (UITableViewCell*)tableView:(UITableView*)tableView cellForRowAtIndexPath:(NSIndexPath*)indexPath系统函数的时候不能够索引,也就是说command鼠标左键点击关键字,曝出了“Symbol not found”这个错误.其实这个问题很好解决:主要原因是工程索引文件损坏, 阅读全文
posted @ 2013-01-10 10:57 九勺吹雪 阅读(360) 评论(0) 推荐(0)
摘要: Lazy Foo' Productions News FAQs Games Tutorials Articles Contact Donations Setting up SDL in Visual Studio.NET 2005/2008 Express Last Updated 12/28/08 Before you start, make sure you have the latest v... 阅读全文
posted @ 2009-06-07 21:01 九勺吹雪 阅读(473) 评论(0) 推荐(0)