V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
爱意满满的作品展示区。
Draven

一个为 iOS 应用添加夜间模式轻量级的框架

  •  1
     
  •   Draven ·
    draveness · Apr 26, 2015 · 3418 views
    This topic created in 4019 days ago, the information mentioned may be changed or developed.

    做了一个为 iOS 应用添加夜间模式轻量级的框架, 求 Star = =, 求关注~

    https://github.com/Draveness/DKNightVersion

    Supplement 1  ·  Apr 30, 2015
    ![](http://deltax.qiniudn.com/DKNightVersion.gif?attname=&e=1430459180&token=YJb_IPQrTSw1ox9LenQDH1HRcgHii9w_bp9ddmcz:0ZUWmW6KegFD0WOIY3n3-JBFLJM)

    原图不知道为什么裂了
    9 replies    2015-04-30 00:52:50 +08:00
    Majirefy
        1
    Majirefy  
       Apr 26, 2015
    不错不错~~~支持一下!
    Draven
        2
    Draven  
    OP
       Apr 27, 2015
    @Majirefy 谢谢~
    yangxiongguo
        3
    yangxiongguo  
       Apr 27, 2015
    已 Star
    unununn
        4
    unununn  
       Apr 27, 2015
    挺好,已支持
    run2
        5
    run2  
       Apr 27, 2015
    原来除了category 还有个associative啊,请问这个哪本书/文档 有具体的介绍啊
    谢谢
    Draven
        7
    Draven  
    OP
       Apr 27, 2015   ❤️ 1
    @sobigfish 是这样的…并没有哪一本是具体讲 Runtime 运行时的,不过关于这方面的资料还是蛮多的,而且关于如何为分类添加属性,如何进行方法调试都有挺多详细的资料.

    译文[Objective-C的动态特性](http://limboy.me/ios/2013/08/03/dynamic-tips-and-tricks-with-objective-c.html)
    原文[Dynamic Tips & Tricks With Objective-C
    ](http://pilky.me/21/)

    [Associated Objects](http://nshipster.com/associated-objects/)
    [Method Swizzling](http://nshipster.com/method-swizzling/)
    Draven
        8
    Draven  
    OP
       Apr 27, 2015
    竟然不支持 markdown..
    Hysteria
        9
    Hysteria  
       Apr 30, 2015   ❤️ 1
    @sobigfish 有个叫BlocksKit的开源项目里面有很多关于Runtime的运用,非常nice
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3182 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 43ms · UTC 00:27 · PVG 08:27 · LAX 17:27 · JFK 20:27
    ♥ Do have faith in what you're doing.