CGRect mainViewBounds = self.navigationController.view.bounds; UISearchBar *customSear...
![240](https://upload.jianshu.io/users/upload_avatars/6650714/72538951-c3c4-4f9a-88a8-3e248aec8f7f.png?imageMogr2/auto-orient/strip|imageView2/1/w/240/h/240)
CGRect mainViewBounds = self.navigationController.view.bounds; UISearchBar *customSear...
导入第三方FFDropDownMenu #import "AppDelegate.h" //controller #import "FFHomeViewController....
// AppDelegate.m #import "ViewController.h" #import "LViewController.h" //启动图在屏幕显示时间 s...
// AppDelegate.m #import "ViewController.h" ViewController *VC = [[ViewController allo...
//分段控件 导入第三方 LBSegmentControlKit ViewController.m #define kScreen_width [UIScreen mainS...
#import "MJRefresh.h" <MJRefreshBaseViewDelegate,UITableViewDataSource,UITableViewDeleg...
// AppDelegate.m //初始化 ViewController *vc = [[ViewController alloc]init]; UINavigation...
不要直接加按钮 先变成UIView+视图 UIView *view = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 44, ...
// AppDelegate.m #import "ViewController.h" ViewController *vc = [[ViewController alloc...
记得加入库MapKit #import #import <CoreLocation/CoreLocation.h> { CLGeocoder* geocoder; } @pr...
// AppDelegate.m #import "ViewController.h" ViewController * theVc = [[ViewController a...
//抽屉式图导入第三方LeftSlideViewController // AppDelegate.h //抽屉式图头文件 #import "LeftSlideViewCo...
AppDelegate.m ViewController *theVc = [[ViewController alloc]init]; UINavigationControl...
导入一张图片 @property (nonatomic,strong)UIScrollView * scrollView; @property (nonatomic,stro...
导入 #define leftTableWidth [UIScreen mainScreen].bounds.size.width * 0.3 #define rightTa...
// AppDelegate.m 倒入头文件 //轮播图 #import "stareViewController.h" //直接跳入标签控制器 #import "ViewC...
// AppDelegate.m #import "NextViewController.h" #import "ViewController.h" // ViewContr...
//工程名字StudentInfo //定义学生的属性类 class Student{ //属性类中添加:姓名、 var name:String //班级、 var clas...