OpenFlow的用法

OpenFlow:

a free, open source replacement for Apple’s private CoverFlow API.

The main class, AFOpenFlowView, is a subclass of UIView.

To use this in your own project:

  • Add the OpenFlow source code to your project.
  • Add the QuartzCore and CoreGraphics frameworks.
  • Import “AFOpenFlowView.h” & interact with it as you would a normal UIView.
  • You should implement both the AFOpenFlowViewDelegate andAFOpenFlowViewDataSource protocols.


At any point, you can set UIImage‘s on your AFOpenFlowView. You don’t need to wait for the datasource protocol to ask you. Your AFOpenFlowView will start displaying images as soon as you call setNumberOfImages.

你可能感兴趣的:(apple)