bennyguitar / CollapseClick

A collapsible list that functions like a UITableView, except you can collapse and open cells on a click. Feed it UIViews for what is shown when each cell is open. Works via delegation similar to UITableView.
MIT License
533 stars 83 forks source link

iPad Width Issue #11

Open danielheth opened 11 years ago

danielheth commented 11 years ago

I'm developing both an iPad and iPhone app and this is the desired feature. I'm trying to figure out where I can get the width of the collapse bar to resize for the wider iPad format.

jslim89 commented 9 years ago

I'm facing exactly the same issue like you

Try to use all these files

CollapseClickDemo/CollapseClickDemo/CollapseClick.h
CollapseClickDemo/CollapseClickDemo/CollapseClick.m
CollapseClickDemo/CollapseClickDemo/CollapseClickArrow.h
CollapseClickDemo/CollapseClickDemo/CollapseClickArrow.m
CollapseClickDemo/CollapseClickDemo/CollapseClickCell.h
CollapseClickDemo/CollapseClickDemo/CollapseClickCell.m
CollapseClickDemo/CollapseClickDemo/CollapseClickCell.xib

instead of those in CollapseClick folder

nvdcmptr commented 9 years ago

Wow... it Work! why?

jslim89 commented 9 years ago

@nvdcmptr Both set of these files are not same. Perhaps CollapseClick no longer use but they still leave it there, thus we get confused.

HTKT commented 9 years ago

@jslim89 : Is it work on ios 8? I tried on ios 8 use Sizeclass but the width is always 600px not 1024px in iPad. Can you help to fix? Thanks