美文网首页
2018-06-25 登录注册第三方登录及找回密码

2018-06-25 登录注册第三方登录及找回密码

作者: 胖渣大橘子 | 来源:发表于2018-06-25 15:41 被阅读0次

    1swift核心是面相协议 不要使用子类
    2协议语法
    If a class has a superclass,list the superclass name before any protocols it adopts folowed by a comma:
    class SomeClass: SomeSuperclass, FirstProtocol, AnotherProtocol{
    //clsass definition goes here
    }
    。Swift的核心是面向协议编程
    。面向协议的编程的核心是抽象(abstraction)和简化(simplicity)
    。所以swift的核心就是抽象和简化
    面向对象编程(object-oriented programmer) OOP
    面向协议编程(protocol oriented programming) POP
    http://www.cocoachina.com/swift/20150803/12881.html
    3!?optional类型
    喵神文章 swift类型https://onevcat.com/2014/06/walk-in-swift/
    ![

    swift.jpeg
    ]

    相关文章

      网友评论

          本文标题:2018-06-25 登录注册第三方登录及找回密码

          本文链接:https://www.haomeiwen.com/subject/blweyftx.html