
【Resources】Sample Code
文章平均质量分 62
Cyaninreality1975
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
【Multitasking】Executing a Finite-Length Task in the Background
//Starting a background task at quit time- (void)applicationDidEnterBackground:(UIApplication *)application { bgTask = [application beginBackgroundTaskWithExpirationHandler:^{ // C原创 2014-09-19 11:50:54 · 547 阅读 · 0 评论 -
【Loading Image】Loading Image Resource
Loading Images in Objective-C NSString* imageName = [[NSBundle mainBundle] pathForResource:@"image1"ofType:@"png"];NSImage* imageObj = [[NSImage alloc] initWithContentsOfFile:imageName];原创 2014-09-23 17:07:21 · 720 阅读 · 0 评论 -
【View Controller】Presenting a view controller programmatically
- (void)add:(id)sender { // Create the root view controller for the navigation controller // The new view controller configures a Cancel and Done button for the // navigation bar. RecipeAd原创 2014-09-22 21:44:18 · 396 阅读 · 0 评论 -
【Sample Code】Configuring the Destination Controller When a Segue is Triggered
iOS performs the following tasks when a segue is triggered:原创 2014-09-22 22:20:47 · 629 阅读 · 0 评论 -
【URL Schemes】The Complete Tutorial on iOS/iPhone Custom URL Schemes
地址:http://iosdevelopertips.com/cocoa/launching-your-own-application-via-a-custom-url-scheme.html转载 2014-09-22 16:10:39 · 450 阅读 · 0 评论 -
【Sample Code】Custom Segue
In a delegate-based model, the view controller defines a protocol for its delegate to implement. The protocoldefines methods that are called by the view controller in response to specific actions, s原创 2014-09-22 22:29:34 · 482 阅读 · 0 评论 -
【Loading nib file】Loading a nib file
Loading a nib file from the current bundle - (BOOL)loadMyNibFile{ // The myNib file must be in the bundle that defines self's class. if (![NSBundle loadNibNamed:@"myNib" owner:self]) {原创 2014-09-23 15:40:27 · 465 阅读 · 0 评论 -
【Loading Resources】iOS Supports Device-Specific Resources
In iOS 4.0 and later, it is possible to mark individual resource files as usable only on a specific type of device.This capability simplifies the code you have to write for Universal applications. Rat原创 2014-09-23 09:16:20 · 368 阅读 · 0 评论 -
【View Controller】Configuring the Initial View Controller at Launch
If you define a main storyboard in your project, iOS automatically does a lot of work for you to set up your app.When your app calls theUIApplicationMainfunction, iOS performs the following action原创 2014-09-22 22:18:34 · 527 阅读 · 0 评论 -
【APNs】Scheduling the Delivery of Local Notifications
- (void)scheduleAlarmForDate:(NSDate*)theDate { UIApplication* app = [UIApplication sharedApplication]; NSArray* oldNotifications = [app scheduledLocalNotifications]; // Clear o原创 2014-09-19 13:29:23 · 487 阅读 · 0 评论 -
【Topics】IPC: CPDistributedMessagingCenter (rocketbootstrap)
参考地址:http://www.iphonedevwiki.net/index.php/CPDistributedMessagingCenterhttp://www.iphonedevwiki.net/index.php/Updating_extensions_for_iOS_7越狱后,Tweak之间的进程间通信,可以用CPDistributedMessagingCente原创 2014-12-10 19:20:27 · 2350 阅读 · 0 评论