240 发简信
IP属地:福建
  • Swift - Optionals

    简介 通过构造函数为Int类型的变量count赋一个初始值var count: Int = Int("42")此时count的初始值就是42va...

  • Constrain to margins

    Xcode 8.0版本,视图与ViewController根视图之间 左右间距的系统推荐的间距值为 16pt。在Xcode 8.0 之前版本,推...

  • Resize,w 360,h 240
    edgesForExtendedLayout, extendedLayoutIncludesOpaqueBars, automaticallyAdjustsScrollViewInsets

    Navigation Controller是一个container view controller。可以在viewController中通过以下...

  • Resize,w 360,h 240
    UIView布局

    布局的三种方式 1.frame绝对布局2.frame + autoResizing布局3.autoLayout frame 原始位置redVie...

  • 关于_ _Block

    一个问题假设b为一个block, a为b外的一个NSMutableArray对象,现在需要在b内调用[a addObject:...],那么在a...

  • Category

    作用1.给已有类添加方法2.给已有类添加属性3.分离实现4.隐藏基类接口 NSString+SafeFormat.h文件 NSString+Sa...

  • OC中的语法糖

    被大量使用的语法糖在编写OC代码时,出于方便我们经常会用到如下方法来创建对象NSString *str = @"string";NSNumber...

个人介绍
有些事只适合收藏,不能说,也不能想,却又不能忘。