自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(18)
  • 收藏
  • 关注

转载 swit开发Dictionary详细使用

// // ViewController.swift // Swift+Dictionary import UIKit class ViewController: UIViewController { override func viewDidLoad() { super.viewDidLoad() self.view...

2017-09-01 10:27:00 208

转载 Swift开发Array详细使用

// // ViewController.swift // Swift+Array import UIKit class ViewController: UIViewController { override func viewDidLoad() { super.viewDidLoad() self.view.back...

2017-08-30 14:09:00 208

转载 Swift开发String+NSString详细使用

// // ViewController.swift // Swift+String import UIKit class ViewController: UIViewController { override func viewDidLoad() { super.viewDidLoad() //var 变量 let...

2017-08-29 17:32:00 265

转载 iOS 开发 property,strong,weak,retain,assign,copy,nomatic 的区别及使用

1:ARC环境下,strong代替retain.weak代替assign,xcode 4.2(ios sdk4.3和以下版本)和之前的版本使用的是retain和assign,是不支持ARC的。xcode 4.3(ios5和以上版本)之后就有了ARC,并且开始使用strong与weak 2:weak的作用:在ARC环境下,所有指向这个对象的weak指针都将被置为nil。这个T特性很有用...

2017-08-29 10:28:00 185

转载 iOS开发UITabbarController常用属性方法

// // AppDelegate.m // UITabBarController+UINavigationController #import "AppDelegate.h" @interface AppDelegate () @end @implementation AppDelegate - (BOOL)application:(UI...

2017-08-28 14:08:00 144

转载 iOS开发UIPickerView常用属性方法

// // ViewController.m // UIPickerViewAll #import "ViewController.h" @interface ViewController () @end @implementation ViewController /* UIPickView控件常用的方法和属性: (1) - (NSInte...

2017-08-25 11:04:00 176

转载 iOS开发UIDatePicker常用属性方法

//只是简单的使用,以后我会更新一个日常使用的一些demo // ViewController.m // UIDatePickerAll #import "ViewController.h" @interface ViewController () { UIDatePicker *myDatePicker; } @end @implementat...

2017-08-24 15:00:00 212

转载 iOS开发UIToolbar常用属性方法

// // ViewController.m // UIToolbarAll #import "ViewController.h" @interface ViewController () @end @implementation ViewController - (void)viewDidLoad { [super viewDidLo...

2017-08-24 10:46:00 166

转载 iOS开发UIPageControl常用属性方法

// // ViewController.m // UIPageControlAll #import "ViewController.h" @interface ViewController ()<UIScrollViewDelegate> { UIScrollView *helpScrView; UIPageControl *page...

2017-08-23 15:10:00 134

转载 iOS开发UISwitch and UISlider常用属性方法

// // ViewController.m // UISwtichAll #import "ViewController.h" @interface ViewController () { UILabel *valueLabel; UILabel *minLabel; UILabel *maxLabel; } @end @i...

2017-08-23 14:33:00 133

转载 iOS开发UIAlertController常用属性方法

UIAlertController是iOS8推出的新概念,取代了之前的 UIAlertView和UIActionSheet(虽然现在仍可以使用,但是会有警告)。所以还是建议大家以后还是使用UIAlertController吧(本人看见警告就有种冲动????),下面有些代码有点重复,但是能过为了更清楚的看到效果 // // ViewController.m // UIAlertCont...

2017-08-22 15:39:00 219

转载 iOS开发UItextview常用属性方法

// // ViewController.m // TextViewAll #import "ViewController.h" @interface ViewController ()<UITextViewDelegate> @end @implementation ViewController - (void)viewDidLoa...

2017-08-22 11:28:00 234

转载 iOS开发UIscrollview常用属性方法

// // ViewController.m // ScrollviewAll #import "ViewController.h" @interface ViewController ()<UIScrollViewDelegate> @end @implementation ViewController - (void)viewDi...

2017-08-21 14:45:00 140

转载 iOS开发UITextField常用属性方法

// // ViewController.m // TextFieldAll // #import "ViewController.h" @interface ViewController ()<UITextFieldDelegate> @end @implementation ViewController - (void)v...

2017-08-21 10:44:00 155

转载 iOS开发UILabel的常用属性和方法

// // ViewController.m // LabelAll // #import "ViewController.h" @interface ViewController () @end @implementation ViewController - (void)viewDidLoad { [super viewDi...

2017-08-18 14:46:00 176

转载 iOS开发UILabel的公共属性及拓展属性

在IOS开发的过程中,UILabel是很常用的一个控件,同时也是大量使用的一个控件。创建一个UILabel一般需要五六句代码,如果我们需要创建几十个UILabel,就意味着我们要写五六十句代码,其实很多代码是重复的,我们可以把类似的代码写到一个公共的方法中,以提高工作效率和降低代码重复。官方提供UILabel的一些属性有很大的局限性,有些在项目中开发中需要用到的一些拓展性的属性,根据个人...

2017-08-18 14:45:00 208

转载 iOS开发UItableview的常用属性方法的使用

有些属性和方法始终是记不清,只能记下来,方便查找 如果对你有帮助请支持,没有帮助请告诉我哪里需要改进!谢谢! // ViewController.m // TableViewAll #import "ViewController.h" @interface ViewController ()<UITableViewDelegate, UITableViewDataSo...

2017-08-17 18:13:00 239

转载 iOS开发UIbutton常用属性方法

对UIbutton的简单使用(基本上足够了),话不多说,直接看 UIButton *myButton = [UIButton buttonWithType:UIButtonTypeCustom]; /* UIButtonTypeCustom = 0, //自定义风格 UIButtonTypeSystem NS_ENUM_AV...

2017-08-17 14:57:00 234

空空如也

空空如也

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

TA关注的人

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