导航

03 2014 档案

摘要:注意属性都是weak// Load the NIB fileUINib *nib = [UINib nibWithNibName:@"HomepwnerItemCell" bundle:nil];// Register this NIB which contains the cell[[self tableView] registerNib:nib forCellReuseIdentifier:@"HomepwnerItemCell"];// Get the new or recycled cell HomepwnerItemCell *cell = [ 阅读全文

posted @ 2014-03-30 21:23 0304 阅读(175) 评论(0) 推荐(0)

摘要:有条虚线,防止循环引用可以在android上实现自己的UINavigationController,主要考虑设计这块,使代码清晰。 阅读全文

posted @ 2014-03-30 18:27 0304 阅读(217) 评论(0) 推荐(0)

摘要:core data 中对象的插入,详情请看:http://stackoverflow.com/questions/10732785/inserting-a-new-managed-object-in-core-data文章中又引出的一片文章:http://stackoverflow.com/questions/3868514/is-there-a-way-to-instantiate-a-nsmanagedobject-without-inserting-it 阅读全文

posted @ 2014-03-29 11:01 0304 阅读(140) 评论(0) 推荐(0)

摘要:Leaving the Inverse field with the value No Inverse Relationship gives you two compiler warnings: consistency error and misconfigured property. You can ignore these warnings and run your application without specifying an inverse relationship—after all, these are compiler warnings, not compiler error 阅读全文

posted @ 2014-03-28 15:05 0304 阅读(365) 评论(0) 推荐(0)

摘要:Setting a view controller as the rootViewController of a window adds that view controller’s view as a subview of the window (Figure 7.4). It also automatically resizes the view to be the same size as the window. Given what you learned in Chapter 6, you could write setRootViewController: yourself: - 阅读全文

posted @ 2014-03-26 21:03 0304 阅读(193) 评论(0) 推荐(0)

摘要:id Take another look at the initializer’s declaration; its return type is id (pronounced “eye-dee”). This type is defined as “a pointer to any object.” (id is a lot like void * in C.) init methods are always declared to return id. Why not make the return type BNRItem *? After all, that is the type o 阅读全文

posted @ 2014-03-26 20:35 0304 阅读(224) 评论(0) 推荐(0)

摘要:使用 chflags nohidden ~/Library/详细请看链接:http://osxdaily.com/2011/07/22/access-user-library-folder-in-os-x-lion/ 阅读全文

posted @ 2014-03-25 13:43 0304 阅读(116) 评论(0) 推荐(0)

摘要: 阅读全文

posted @ 2014-03-21 21:20 0304 阅读(123) 评论(0) 推荐(0)

摘要:EasyTableView-master类似于淘点点的tableView,支持垂直和水平两个方向RFQuiltLayout-master对UICollectionView的layout进行了重写,使其支持瀑布流的显示方式InAppSettingsKit-master设置OpenUDID-master... 阅读全文

posted @ 2014-03-13 13:55 0304 阅读(376) 评论(0) 推荐(0)