icarousel

picture does not show up using iCarousel

和自甴很熟 提交于 2019-12-25 17:56:07
问题 I am using MultiCarousel in a storyboard and I am getting errors and can not display the image in the carousel. Is there a problem with the code??I am getting errors from viewfromItemAtIndex saying expected method body expected':' expected identifier or ( expected identifier or ( extraneous closing brace ("}") Please feel free to ask for more code if you want to see a specific part. #import "iCarouselExampleViewController.h" @interface iCarouselExampleViewController () @property (nonatomic,

iCarousel auto scrolling not appearing smoothly

混江龙づ霸主 提交于 2019-12-24 22:46:19
问题 Auto scrolling appear smooth, when I specify timeInterval for auto scroll 0.0333. But, If I specify timeInterval for auto scroll 5.0 sec, the auto scroll not appear smooth. Is there any animation duration in iCarousel? 回答1: Try out this. [_icarousel scrollByNumberOfItems:85 duration:10];//scrolls 85 items in 10 seconds 回答2: Go to iCarousel.m file and add the following line of code inside the setUp method. - (void)setUp { _autoscroll=1; } 来源: https://stackoverflow.com/questions/15790311

ScrollDirection in iCarousel?

倖福魔咒の 提交于 2019-12-24 01:47:05
问题 I Am using iCarousel framework . https://github.com/nicklockwood/iCarousel There I want to find out the swipe direction of a view , because i am having next and previous actions, need to give for right and left scrolling. 回答1: If I understand your question correctly, you want to know when the user scrolled the carousel and to know in which direction did she scroll. If so, you should implement the method - (void)carouselCurrentItemIndexDidChange:(iCarousel *)carousel; and compare the new index

How to load iCarousel view from storyboard or xib?

只愿长相守 提交于 2019-12-17 17:01:43
问题 I am using one 3rd party control iCarousel view to show view with nice animation. Every thing is working fine and i am pretty much aware about this control. But till now I am using manually code to add view in iCarousel view and show it on screen but now as per my new requirement are i got 3 to 4 new themes which i need to show iCarousel view so below is my question related to that view. How can i load different views from XIB ? How can i load view from Storyboard TO iCarousel view? Currently

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

How to implement delete functionality for images in different positions in iCarousel iphone

旧城冷巷雨未停 提交于 2019-12-13 06:20:10
问题 I am using iCarousel as shownh here with carousel type Liner Carousel and implemented delete functionalty .I am able to delete the image in carousel and when I attempt to delete any other iomage in the visible screen It is moved to carousel frame and deleted. I need to delete the image from its original position. - (void)loadView { [super loadView]; self.view.backgroundColor = [UIColor blackColor]; carousel = [[iCarousel alloc] initWithFrame:CGRectMake(-130,300, 320, 100)]; carousel

iCarousel is been shown up in previous page when clicked the back button

孤街浪徒 提交于 2019-12-12 12:34:19
问题 When i press the back button. the iCarousel is still shows up for 1 second.why is this happening and how to stop this.I have used storyboard to create a iCarosel view.. - (void)viewDidUnload { [super viewDidUnload]; self.carousel = nil; } - (void)dealloc { carousel.delegate = nil; carousel.dataSource = nil; } - (NSUInteger)numberOfItemsInCarousel:(iCarousel *)carousel { return [idOfAllWords count]; } - (UIView *)carousel:(iCarousel *)carousel viewForItemAtIndex:(NSUInteger)index reusingView:

Carousel index are not in order

試著忘記壹切 提交于 2019-12-12 02:34:04
问题 I have the following plist and I want to show images on order on the carousel. When I debug the code, I see index are not order. When I am debugging, first it shows index = 0 , then next item is index = 5 (lldb) po [items objectAtIndex:index]; http://charcoaldesign.co.uk/AsyncImageView/Forest/IMG_0351.JPG (lldb) po [items objectAtIndex:index]; http://charcoaldesign.co.uk/AsyncImageView/Forest/IMG_0358.JPG Here is the implementation: - (void)awakeFromNib { //set up data //your carousel should

Trouble in creating Webview and Button on each iCarousal View

空扰寡人 提交于 2019-12-11 13:58:16
问题 I am using iCarousel for loading youtube videos .When we scroll the iCarousel respective youtube url is loaded and it plays the video.For this purpose I am using webview to load the urls.I also need one button on each Carousel view so that I can implement one action when respective carousel view is clicked even when video is loading when user taps at the carousel view it should respond to action. Carousel Methods: Edit: - (NSUInteger)numberOfItemsInCarousel:(iCarousel *)carousel { return 5; }