iOS 开发实用技术导航
NSHipster 中文版
http://nshipster.cn/
cocos2d 开源 2D 游戏引擎
http://www.cocos2d-iphone.org/
CocoaPods
http://cocoapods.org/
Google Analytics for Mobile 统计解决方案
http://code.google.com/mobile/analytics/
WWDC
https://developer.apple.com/wwdc/
Design Guides and Resources
https://developer.apple.com/design/
Transcripts of WWDC sessions
http://asciiwwdc.com
Cocoa with Love
http://cocoawithlove.com/
Cocoa Dev Central
http://cocoadevcentral.com/
NSHipster
http://nshipster.com/
Style Guides
Google Objective-C Style Guide
NYTimes Objective-C Style Guide
Useful Tools and Services
Charles Web Debugging Proxy
Smore
taotao95
V2EX  ›  iDev

关于在 iOS 开发中,代码手写 UI 的问题

  •  1
     
  •   taotao95 · Jul 7, 2014 · 6157 views
    This topic created in 4346 days ago, the information mentioned may be changed or developed.
    发现在写iOS的UI时,nib和StoryBoard有局限性,了解到还可以用代码来手写UI。但是发现这方面的资料很少,如果有人对这方面有了解希望能给点帮助。谢谢:)
    14 replies    2014-07-11 15:51:49 +08:00
    ybh37
        1
    ybh37  
       Jul 7, 2014
    View上放几个View而已。
    WildCat
        2
    WildCat  
       Jul 7, 2014 via iPhone
    ReactiveCocoa?
    hustlzp
        3
    hustlzp  
       Jul 7, 2014
    顶一下,同问,有代码展示就好了。
    pljhonglu
        4
    pljhonglu  
       Jul 7, 2014
    view上添加控件而已
    painter
        5
    painter  
       Jul 7, 2014
    不同的项目可能适合不同的方式吧

    差不多就是view上加view和view上加控件 哈哈
    amon
        6
    amon  
       Jul 7, 2014
    不明白你想要什么资料。
    taotao95
        7
    taotao95  
    OP
       Jul 7, 2014
    @amon 系统一点讲解用代码写UI的资料,或者是vieController是怎样渲染出来的。不知道我表达清楚了没有:)谢谢
    ycxgmail
        8
    ycxgmail  
       Jul 7, 2014   ❤️ 1
    taotao95
        9
    taotao95  
    OP
       Jul 7, 2014
    @ycxgmail 多谢,已star
    Hysteria
        10
    Hysteria  
       Jul 8, 2014
    代码手写UI,主要就是用view的位置,需要通过数字来调整了,不可视化了。
    只能说,写得多了,就熟练了。
    kobe1941
        11
    kobe1941  
       Jul 8, 2014
    纯代码无压力,逻辑很清晰,想要什么加什么,xib看着都难受
    dopcn
        12
    dopcn  
       Jul 10, 2014
    @taotao95 Documentation and API Reference 里有所有
    fuadam1982
        13
    fuadam1982  
       Jul 11, 2014
    手写UI的必备利器CGGeometry
    WeeTom
        14
    WeeTom  
       Jul 11, 2014
    手写UI是必须的。。XIB,storyBoard 只适合简单的UI。。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2835 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 73ms · UTC 15:10 · PVG 23:10 · LAX 08:10 · JFK 11:10
    ♥ Do have faith in what you're doing.