sunguoqiang / openflow Goto Github PK
View Code? Open in Web Editor NEWThis project forked from thefaj/openflow
CoverFlow API replacement for the iPhone
Home Page: http://apparentlogic.com/openflow
This project forked from thefaj/openflow
CoverFlow API replacement for the iPhone
Home Page: http://apparentlogic.com/openflow
Follow the project's status at http://apparentlogic.com/openflow and on Twitter at @openflow When I released my first iPhone app, Presenter, two months ago, Apple accused me of using their private iPhone CoverFlow API. After appealing to Apple & writing a blog post about my roadblock, Apple reversed their decision. The initial release is simple, but it is also efficient and very fast, even on first generation iPhones. The API should be easy to include in your own program. 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 and AFOpenFlowViewDataSource protocols. Currently, the delegate protocol is used to let your code know when the user selected a new object. The datasource protocol is called when AFOpenFlowView needs a UIImage object. This method should be *fast*. Don’t do NSURL requests or even disk access in this method. See the AFOpenFlowDemo app I provided for an example how to load images from a remote server. The datasource also needs to provide a default UIImage. 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. This is an initial release of OpenFlow. I licensed it under the liberal MIT open source license. Please drop me a line to let me know what you think & where you want the project to go from here. The source code for both OpenFlow and the AFOpenFlowDemo project are currently available on Github at http://github.com/thefaj/OpenFlow. For the demo application, you will need to register for a Flickr API key and secret. If you try to compile the demo, you will quickly find the error message where your Key & Secret should be added. Enjoy! -Alex
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.