自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 UICollectionView 基础篇

属性:         collectionViewLayout:集合视图布局         backgroundView:背景视图         allowsSelection:是否允许选中         allowsMultipleSelection:是否允许多选         方法:         - (instancetype)initWithFrame:

2016-04-25 11:02:35 1328

原创 UITableView 基础篇

属性:   rowHeight:行高   sectionHeaderHeight:表头高度   sectionFooterHeight:表尾高度   estimatedRowHeight:估记高度 (iOS7)   estimatedSectionHeaderHeight:估计表头高度(iOS7)   estimatedSectionFooterHeight:估计表尾高

2016-04-21 16:43:36 427

原创 UIActivityIndicatorView 基础篇

属性       activityIndicatorViewStyle:指示器风格 (    UIActivityIndicatorViewStyleWhiteLarge:白色大37*37,UIActivityIndicatorViewStyleWhite:白色20*20,UIActivityIndicatorViewStyleGray:灰色20*20)      hidesWhenSto

2016-04-19 16:16:01 234

原创 UIAlertView 基础篇

属性         title:标题         message:内容         numberOfButtons:获取按钮个数         cancelButtonIndex:设置将某一个按钮设置为取消按钮         firstOtherButtonIndex:返回其他类型按钮第一个的索引值         visible:警告框是否可

2016-04-19 11:10:53 277

原创 UITabBarController基础篇

属性       viewControllers:视图控制器字典       selectedViewController:当前正在显示的VC       selectedIndex:默认选中VC指数       moreNavigationController:更多导航栏 (超过五个vc出现)       customizableViewControllers:更多视图中可编

2016-04-15 15:42:42 290

原创 UIButton 基础篇

属性:        contentEdgeInsets:内容显示范围        titleEdgeInsets:标题显示范围        reversesTitleShadowWhenHighlighted:按钮高亮的时候是否改变阴影        imageEdgeInsets:图片显示范围        adjustsImageWhenHighlighted:按钮在

2016-04-14 14:32:18 238

原创 UITableViewCell 基础编

1.属性            imageView:图片视图             textLabel:文本标签            detailTextLabel:详细文本标签

2016-04-06 15:32:20 279

原创 UIViewController 基础篇

UIViewController提供了一个基础的视图管理模型,可以用UIViewController管理视图的继承,及对view的管理。               属性:               view:视图  (UIViewController的一个属性,用于UI控件的存放和操作)                   viewIfLoaded:是否加载视图成功 (是一个只

2016-03-30 09:24:20 1528

原创 UINavigationController 基础篇

UINavigationController是管理堆栈视图和导航栏的工具,在每个UINavigationController栈内部的viewcontroller都会有一个自己对应的navigationItem.如果UINavigationController是嵌套在UITabbar上面,那么它使用标题和底部的工具栏都会在堆栈上。同时UINavigationController也是一个可旋转的视图控

2016-03-28 15:08:20 634

原创 UITextView 基础篇

苹果对UITextView的解释:UITextView displays a region that can contain multiple lines of editable text. When a user taps a text view, a keyboard appears; when a user taps Return in the keyboard, the keyboard

2016-03-18 14:34:35 969

原创 UITextInputTraits

UITextInputTraits:键盘输入特性 (这是一个文本输入的协议,一共有8个属性)      autocapitalizationType:自动大写输入               取值为UITextAutocapitalizationType一共有四种情况:              UITextAutocapitalizationTypeNone:不自动大写   

2016-03-17 11:14:47 730

原创 iOS 使用symbolicatecrash分析crash文件

首先,在桌面那个一个文件夹crash,接着需要准备4个文件:1、崩溃日志.crash:Xcode->Window->Devices,选中设备,点击View Device Logs,然后可以看到好多日志,你可以根据时间来判断需要导出哪个日志,选中一个crash日志,右击选择Export log,然后就可以导出日志为aaa.crash,复制到crash文件。2、xxx.app.dSYM文件:X

2016-03-16 11:28:10 285

原创 UITextField 基础篇

苹果官方对UITextField的解释为:A UITextField object is a control that displays editable text and sends an action message to a target object when the user presses the return button. You typically use this class

2016-03-16 10:03:39 281

原创 NSAttributedString 富文本详解

NSAttributedString是用于富文本编辑的,跟NSString和NSDictionary一样有一个可变的NSMutableAttributedString,一帮我们在使用的时候都是用NSMutableAttributedString。           NSMutableAttributedString创建和使用:           方式一:           N

2016-03-11 13:06:56 369

原创 UILabel基础篇

苹果官方UILabel的解释为:Implements a read-only text view. A label can contain an arbitrary amount of text, but UILabel may shrink, wrap, or truncate the text, depending on the size of the bounding rectangle a

2016-03-08 09:34:53 394

空空如也

空空如也

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

TA关注的人

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