PFCarouselView is easy to create a carousel view for news app.
PFCarouselView is still in development, welcome to improve the project together.
0.8.0
source 'https://github.com/CocoaPods/Specs.git'
platform:ios, '6.0'
target 'YourTarget' do
pod 'PFCarouselView', '~> 0.8'
end
//create carousel view
PFCarouselView *carouselView = [[PFCarouselView alloc] initWithFrame:CGRectMake(0, 100, 320, 200)];//setup pages
[carouselView numberOfPagesUsingBlock:^NSInteger {
return viewsArray.count;
}];//setup content view
[carouselView setupContentViewUsingBlock:^UIView *(NSInteger index) {
return viewsArray[index];
}];PFCarouselView is released under the MIT license, see LICENSE for details.
