How could i use iCarousel in my project?

只愿长相守 提交于 2019-12-13 06:50:38

问题


I am a newbie in iphone development and want to implement coverflow. I googled it and came across the opensource iCarousel, but did not understand the way to use it in my project?

Any help would be appreciated.


回答1:


Download the zipped file from Github. Unzip and open

nicklockwood-iCarousel-da1deb7/Examples/Basic\ iOS\ Demo/iCarouselExample.xcodeproj

The

iCarouselExampleViewController

looks just like what your view controller, that is supposed to show the carousel, should look like. Note that the view of your view controller will be a custom view of the type :

iCarousel




回答2:


iCarousel.m class calls that function from its dataSource class. set delegate and datasource of iCarousel object. At sample application, dataSource and delegate is set by interface builder.




回答3:


Did you go through the example provided here? I didn't try it, but it seems to be straightforward.



来源:https://stackoverflow.com/questions/8473862/how-could-i-use-icarousel-in-my-project

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!