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
pysama
V2EX  ›  iDev

可否用写 HTML 结构的方式来写 iOS 的界面?

  •  
  •   pysama · Jun 8, 2015 · 3869 views
    This topic created in 4165 days ago, the information mentioned may be changed or developed.

    个人觉得在storyboard中处理布局就像用dreamweaver可视化做网页一样,不是很高效。(特别是一个SB中有多个view的时候,打开都特别慢)

    有没有办法可以像写html结构一样来写iOS 的界面呢?在类文件中通过id或者tag就可以控制ui控件的表现。

    17 replies  •  2015-06-09 15:58:09 +08:00
    w88975
    w88975
    Jun 8, 2015❤️1
    1
    React native
    hybrid APP
    l12ab
    l12ab
    Jun 8, 2015
    2
    你可以全手写界面,能复用的尽量复用,某些参数可以作为常量的就作为常量
    janxin
    janxin
    Jun 8, 2015 via iPad
    3
    可以,国人有个开源项目就是实现类似功能的
    qq2511296
    qq2511296
    Jun 8, 2015
    4
    BeeFramework
    wezzard
    wezzard
    Jun 8, 2015 via iPhone
    5
    Opening your storyboard file in code editor will make your dream come true.
    hging
    hging
    Jun 8, 2015
    6
    ionic
    ipconfiger
    ipconfiger
    Jun 9, 2015
    7
    用Masonry,就跟手写CSS感觉差不多
    df4VW
    df4VW
    Jun 9, 2015
    8
    react native
    pysama
    pysama
    OP
    Jun 9, 2015
    9
    @l12ab
    @wezzard 您是说在xcode中直接编辑xml嘛?
    pysama
    pysama
    OP
    Jun 9, 2015
    10
    @qq2511296 关注下
    pysama
    pysama
    OP
    Jun 9, 2015
    11
    多谢LS其他朋友的建议,我优化完手头demo了,一起看看那
    typcn
    typcn
    Jun 9, 2015
    12
    iOS 程序直接用 HTML 都没问题,很流畅
    wezzard
    wezzard
    Jun 9, 2015
    13
    @pysama Yes.
    likid
    likid
    Jun 9, 2015
    14
    “特别是一个SB中有多个view的时候,打开都特别慢”

    你该升级硬件了

    可以拆分多个 SB 出来
    ajan
    ajan
    Jun 9, 2015
    15
    janxin
    janxin
    Jun 9, 2015
    16
    @ajan 这个是hybird的App跟原生界面不是一个概念的
    pysama
    pysama
    OP
    Jun 9, 2015
    17
    @likid 我14年的rmbp,还好吧。。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1483 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 44ms · UTC 23:28 · PVG 07:28 · LAX 15:28 · JFK 18:28
    ♥ Do have faith in what you're doing.