240 发简信
IP属地:上海
  • ViewModel = View ?? Model; Mode -> ViewModel -> View

    iOS 开发中的 ViewModel

    MVVM 这个模式可能大家耳朵都听出茧了,但却没有多少人真正在项目中应用过,毕竟 Cocoa Touch 整体是基于“MVC”的,没有 Controller 根本干不了活。而...

  • Dynamic animation 0720

    ##Dynamic animation This is essentially animating using physics so we assign gravity an...

  • NSTimer and Animation 0719

    Animation is timing-based thing, and NSTimer obviously is a timing-based class. NSTimer...

  • 0715

    Create a push behavior with a certain magnitude and angle. And look what I've got. Set ...

  • Animation and Core Motion 0718

    A lazy property doesn't get initialized until someone accesses it. Things initialized t...

  • 120
    Swift 算法实战之路:数组,字符串,集合,与字典

    上次讲解了基本的语法和一些Swift的小技巧。这期我们来看几个最基本的数据结构:数组,字符串,集合和字典。 数组 数组是最基本的数据结构。Swift中改变了以前Objecti...

  • 120
    iOS之UIScrollview添加约束图文详解

    前言 在iOS开发中,autolayout是一个很强大的东西,用好了,能让你事半功倍,用不好,各种蛋疼。不过autolayout是很容易学的,笔者当时仅仅看了一个多小时的资料...