davdroman / DRCellSlideGestureRecognizer

Make your cells actionable through swipes
MIT License
519 stars 45 forks source link

Errors still exist in example project #4

Closed crobertsbmw closed 11 years ago

crobertsbmw commented 11 years ago

I get all sorts of errors when I download it. -QuartzCore needs to be included. -line 345; No visible @interface for 'NSArray' declares the selector 'firstObject' -line 399; No visible @interface for 'PDGesturedTableView' declares the selector 'setSeparatorInset'

These things are probably because I still have xcode 4. I just changed the firstObject to objectAtIndex:0 and then commented out the setSeparatorInset line (I can't find anything in the source about seperatorInsets) and it the code still seems to work. If you don't care about it working out the box for xcode 4 users I will understand I guess.

davdroman commented 11 years ago

Yeah, that's due of iOS 7-only methods. I'll change that code in a future commit to make it iOS 6 compatible too. Meanwhile, your way is the best to go, so just change the code you specified and it must work perfectly.

Regards.