原创 CocoaPods使用
http://www.jianshu.com/p/6e5c0f78200a
原创 UITableView備忘
<UITableViewDataSource,UITableViewDelegate> @property(nonatomic,strong)UITableView*tableView; @property(nonatomic,stro
原创 ViewControlloer常用背景圖設置
@property(nonatomic,strong)UIImageView*bgImageView; //背景圖 _bgImageView = [[UIImageView alloc]initWithFrame:self.vie
原创 UITextfield常用屬性
@property(nonatomic,strong) UIImageView*bgImageView;//登錄背景 @property(nonatomic,strong) UITextField*phoneNumField;//手機號輸
原创 iOS 帶下劃線的文字按鈕
效果如圖 //富文本 NSMutableAttributedString *content = [[NSMutableAttributedString alloc]initWithString:[NSString stringWith
原创 系統UITabbarController
新建MainTabbarController類 在MainTabbarController.m中 - (void)viewDidLoad { [super viewDidLoad]; self.view.backgrou
原创 JSONKit報錯
錯誤顯示:direct access to Objective-C's isa is deprecated in favor of object_getClass() BuildSetting中搜索 Direct usage of 'is
原创 iOS原生QQ第三方登錄
本文簡介 最近在做QQ登錄,這裏把QQ原生第三方登錄集成過程和大家分享一下。 首先需要下載QQ SDK ———–QQ第三方登錄官方SDK下載 從下載的文件夾中可以找到下圖的兩個文件 在這裏爲了方便起見,我們在一個新的工程裏實現QQ
原创 iOS tableView滑動隱藏/顯示tabbar
在需要滑動隱藏/顯示的頁面中: @property(nonatomic,assign)CGFloat historyY; #pragma mark Delegate //設置滑動的判定範圍 - (void)scr
原创 iOS 多圖輪播
將多張圖片 輪換展示在當前頁面上: UIImageView *gifImageView; = [[UIImageView alloc] initWithFrame:CGRectMake(100, 100, 100, 100)];