Latest 0.0.1
Homepage https://github.com/Wymann/OWWaterFlowView
License MIT
Platforms ios 7.0
Authors

Make a display in the waterflow way. (By imitating UIScrollView)

How to use

Create a OWWaterFlowView

  OWWaterFlowView *waterFlowView = [[OWWaterFlowView alloc] init];
waterFlowView.delegate = self;
waterFlowView.dataSource = self;
waterFlowView.frame = CGRectMake(0, 20.0, self.view.frame.size.width, self.view.frame.size.height – 20.0);
   [self.view addSubview:waterFlowView];

OWWaterFlowViewDelegate && OWWaterFlowViewDataSource

  – (CGFloat)numberOfColumsOnWaterflowView:(OWWaterFlowView *)waterflowView {
  }

  – (CGFloat)numberOfCellsOnWaterflowView:(OWWaterFlowView *)waterflowView {
  }

  – (OWWaterFlowViewCell )waterflowView:(OWWaterFlowView )waterflowView cellAtIndex:(NSUInteger)index{
  }

  – (CGFloat)waterflowView:(OWWaterFlowView *)waterflowView heightAtIndex:(NSUInteger)index {
  }

  – (CGFloat)waterflowView:(OWWaterFlowView *)waterflowView marginForType:(OWWaterFlowMarginType)type {
}

  – (void)waterflowView:(OWWaterFlowView *)waterflowView didSelectedCellAtIndex:(NSUInteger)index {
  }

Latest podspec

{
    "name": "OWWaterFlowView",
    "version": "0.0.1",
    "summary": "Make a display in the waterflow way. (By imitating UIScrollView)",
    "description": "Make a display in the waterflow way. (By imitating UIScrollView)",
    "homepage": "https://github.com/Wymann/OWWaterFlowView",
    "license": "MIT",
    "authors": {
        "Wyman Chen": "[email protected]"
    },
    "platforms": {
        "ios": "7.0"
    },
    "source": {
        "git": "https://github.com/Wymann/OWWaterFlowView.git",
        "tag": "0.0.1"
    },
    "source_files": "OWWaterFlowView/*.{h,m}",
    "exclude_files": "Classes/Exclude"
}

Pin It on Pinterest

Share This