自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(8)
  • 资源 (1)
  • 收藏
  • 关注

原创 Core Data : update record

TableViewController.m - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath { // Navigation logic may go here. Create and push another view controller.

2012-05-29 14:56:54 736

原创 CoreData: Deleting object

1.Adding Edit button on the left of the NavigationBar - (void)viewDidLoad { [super viewDidLoad]; // Uncomment the following line to preserve selection between presentations. // self.clear

2012-05-29 14:52:00 590

原创 How to use NSNotification in iOS?

1. Adding an observer  [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(loadDataWithNotification:) name:@"Test" object:nil]; 2. Adding the observe method: - (void)loadDataW

2012-05-28 22:01:45 496

原创 How can you decide to use UINavigationBar, UIToolbar and UITabbar

The UINavigationBar class implements a control for navigating hierarchical content. It’s a bar, typically displayed at the top of the screen, containing buttons for navigating up and down a hierarch

2012-05-28 09:27:13 1777

原创 How to use insert or retrieve data by using Core Data in iOS

//inserting people data NSManagedObjectContext *context=self.managedObjectContext; People *people=[NSEntityDescription insertNewObjectForEntityForName:@"People" inManagedObjectContext:context]

2012-05-28 00:01:13 542

原创 How to test the Internet state

This class is used to test the Internet state. The source code can be downloaded from Apple by this link. - (BOOL)networkCheck{ Reachability *curReach = [[Reachability reachabilityForInterne

2012-05-27 11:24:20 265

原创 Adding Animation between two views

- (IBAction)showSecondViewController:(id)sender; { if (self.secondController==nil) { self.secondController=[[SecondViewController alloc] initWithNibName:@"SecondViewController" bundle:nil]

2012-05-20 23:35:47 265

原创 How to use UINavigationController

Adding a navigationController by code, and add UINavigationBarItem on both left and right hand sides. FirstViewControllerDelegate.h #import #import "XDreamViewControllerViewController.h" @interface

2012-05-20 23:32:25 178

修复金山词霸2010牛津版取词框透明

修复金山词霸2010牛津版,取词框透明,修复IE9引起的问题

2011-05-09

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

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