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

分享自己写的 OS X 上的一个农历控件

  •  1
     
  •   fancymax ·
    fancymax · Dec 29, 2015 · 2576 views
    This topic created in 3777 days ago, the information mentioned may be changed or developed.

    Pure Native and Write by Swift

    Demo:
    demo

    Github:
    https://github.com/fancymax/LunarCalendar

    10 replies    2015-12-29 21:15:47 +08:00
    pheyer
        1
    pheyer  
       Dec 29, 2015
    练习作品?
    如果要看农历的话是不是把按钮放在顶栏比较好一点?
    fancymax
        2
    fancymax  
    OP
       Dec 29, 2015
    @pheyer 不是练习作品,这个 demo 只是用来演示这个农历控件的功能的,别人可以把这个控件很容易的集成到自己的程序里。
    fancymax
        3
    fancymax  
    OP
       Dec 29, 2015
    专业分享 OS X(Swift)控件,应该有人会用的上
    pheyer
        4
    pheyer  
       Dec 29, 2015
    @fancymax
    能咨询一下吗,我上午想到了这个点子: https://www.v2ex.com/t/246849#reply10 ,想问一下有可能在 Mac 上这个功能吗?应该是非典型软件吧,只有 4 条线,感觉可能有点麻烦
    jjgod
        5
    jjgod  
       Dec 29, 2015   ❤️ 1
    农历转换不能直接用 NSCalendarIdentifierChinese 吗?
    fancymax
        6
    fancymax  
    OP
       Dec 29, 2015
    @jjgod 谢谢,没注意到这个,直接用这个方便多了~~
    SourceMan
        7
    SourceMan  
       Dec 29, 2015
    红色背景试试搭配白色的字呗?
    fancymax
        8
    fancymax  
    OP
       Dec 29, 2015
    @SourceMan 有兴趣,自己拿去调整吧~~
    fancymax
        9
    fancymax  
    OP
       Dec 29, 2015
    @pheyer 比较另类,风格有点 windows ,可以再想想其它设计方案。
    pheyer
        10
    pheyer  
       Dec 29, 2015
    @fancymax 嗯,目前我也只是异想天开一下
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2639 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 35ms · UTC 03:40 · PVG 11:40 · LAX 20:40 · JFK 23:40
    ♥ Do have faith in what you're doing.