appsome / AccordionView

Simple accordion view in Cocoa Touch
Other
144 stars 38 forks source link

Reanimation on all cells and no scrolling when in horizontal orientation #15

Closed derekargueta closed 10 years ago

derekargueta commented 10 years ago

One thing I noticed when I was using the AccordionView is that when I click on a header, if there are other views open then they re-do the drop-down animation. This normally wouldn't be a big deal but one of my views is a large map so when I click on another header and the map is open, the re-animation on the map is quite obvious. Another thing is that my app needs to support horizontal orientation but the AccordionView is not scrolling with it's built-in scrollview when horizontal. I noticed in your code that there is a TODO comment under if(self.isHorizontal)..? Other than that, it is working quite well and kudos to you. Just a few things to iron out.

derekargueta commented 10 years ago

Oh and one last thing, is the AccordionView not resizeable? I've tried to reset/set the frame in multiple ways but it has no effect. It seems that the only time you can set the frame is with initWithFrame

ciponthenet commented 10 years ago

Regarding your second issue the answer is yes, you can set the frame. This issue has been fixed 2 days ago: https://github.com/appsome/AccordionView/issues/13