V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
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
Livid
271.61D
572.45D
V2EX  ›  iDev

Quora 的 iPhone 客户端

  •  
  •   Livid ·
    PRO
    · Jan 3, 2012 · 6442 views
    This topic created in 5238 days ago, the information mentioned may be changed or developed.
    http://www.quora.com/Anne-K.-Halsall/Posts/Announcing-Quora-for-iPhone-and-iPod-touch

    一些复杂的 views 就用 UIWebView 搞定,不那么复杂的就 API + UITableView,看来是一个很靠谱的做法。
    11 replies    1970-01-01 08:00:00 +08:00
    virushuo
        1
    virushuo  
       Jan 4, 2012
    不过这东西用起来体验挺不好的。只能算“能用”,完全没有web带来的惊喜。

    他们还在继续招聘iOS工程师,我估计早晚还是得更native一些。
    Livid
        3
    Livid  
    MOD
    OP
    PRO
       Jan 4, 2012
    @ytzong 多谢分享。在里面看到一个很亲切的东西:

    MAURLRouter *router = [MAURLRouter sharedInstance];

    [router mapURLPatternString:@"myApp://viewEntry/(initWithId:)"
    toViewControllerClass:@"MAViewEntryController"];

    但是在 Google 里搜索无结果,看来是他们自己实现的一个 App 内部的 URL 导航类。
    soulhacker
        4
    soulhacker  
       Jan 4, 2012
    @virushuo 因为大量使用 UIWebView,这个 app 效率和用户交互反馈都很是问题,更要命的是它的信息架构很不清晰(而 Quora 本身目前信息架构已经挺复杂了),用起来很费劲,连及格都算不上。
    linlinqi
        5
    linlinqi  
       Jan 4, 2012
    @Livid MAURLRouter听起来很像Three20里面的Three20UINavigator https://github.com/facebook/three20
    lbj96347
        6
    lbj96347  
       Jan 4, 2012
    @soulhacker 比较赞同你的观点!
    keywind
        7
    keywind  
       Jan 4, 2012
    @linlinqi 貌似两者概念是一样的
    ydhydh
        8
    ydhydh  
       Jan 4, 2012
    soulhacker
        9
    soulhacker  
       Jan 5, 2012
    @linlinqi @Livid 原理都类似,本质上就是把一种 URL pattern 映射到一个特定的 view controller,是 native-web 混合模式的必备构件,我比较喜欢 Nimbus 的开发者 Jeff Verkoeyen 的 SOCkit https://github.com/jverkoey/sockit ,映射很简单:

    [map from:@"twitter://tweet/:id" toViewController:[TweetController class] selector:@selector(initWithTweetId:)];
    [map from:[Tweet class] name:@"thread" toURL:@"twitter://tweet/:id/thread"];
    soulhacker
        10
    soulhacker  
       Jan 5, 2012
    看了下楼上转的 ABRouter,是封装 SOCKit 用于路由,很轻很好,基本不用自己做太多事情了……
    soulhacker
        11
    soulhacker  
       Jan 5, 2012
    Jeff Verkoeyen 他们正在重写
    Three20 里的 navigator(在新的 Nimbus 项目中),会用 SOCKit 作为后端,其实 ABRouter 可以看作是第三方过渡实现了……

    p.s. Jeff 等接手 Three20 后建立的 Nimbus 项目真是比 Three20 好太多了,之前用得人抓狂 -_-
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   950 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 63ms · UTC 19:47 · PVG 03:47 · LAX 12:47 · JFK 15:47
    ♥ Do have faith in what you're doing.