原创 TableView 下拉刷新
參見:https://github.com/enormego/EGOTableViewPullRefresh
原创 得到Iphone屏幕分辨率
[NSScreen mainScreen].applicationFrame.size.height.....
原创 一個界面顯示“等待”處理的共有類
效果如圖: 代碼:
原创 iphone 單例全局變量寫法
interface MySingleton : NSObject { ⇒① NSString *testGlobal; } + (MySingleton *)sharedSingleton; ⇒②@property (nonxxx
原创 動態更新Table Cell
NSIndexPath *indexPath = [NSIndexPath indexPathForRow: row inSection: 0];
原创 UITableView 異步加載圖片
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { [