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

讨论下"瀑布流"的实现思路吧~~~

  •  
  •   kakashilw · Jan 10, 2012 · 5967 views
    This topic created in 5377 days ago, the information mentioned may be changed or developed.
    瀑布流网站很火,而响应的这些网站也出了ios端,比如国外最有名的这个


    http://itunes.apple.com/us/app/pinterest/id429047995?mt=8

    但是这种不规则高度的table是如何实现的呢? 各位有啥好思路没?
    2 replies  •  1970-01-01 08:00:00 +08:00
    NemoAlex
        1
    NemoAlex  
       Jan 10, 2012
    设备屏幕宽度都固定了,那么列数是固定的
    弄个数组存当前的每列高度,每次加新元素的时候找高度最小的那列放进去就好了
    不困难吧
    Hyperion
        2
    Hyperion  
       Jan 10, 2012
    每一列一个ul容器咯.
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   857 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 19:27 · PVG 03:27 · LAX 12:27 · JFK 15:27
    ♥ Do have faith in what you're doing.