andreamazz / SlideOutNavigation

SlideOut Navigation Controller for iOS.
MIT License
210 stars 49 forks source link

Added AMOptionsTableInsetX option #54

Closed donaciano closed 10 years ago

donaciano commented 10 years ago

This option insets the tableview width by the given amount on both sides.
Includes default value of 0 for backwards compatibility.

Example image attached. insettableexample

donaciano commented 10 years ago

Any thoughts on this AM? I thought about calling it AMOptionsTableOffsetX but that's not really what it does. If you like I could rework it to be 2 separate options...

AMOptionsTableOffsetX : @## AMOptionsWantXInset: @YES

Then someone could do only a left side inset if they use @NO for AMOptionsWantXInset and a mirrored one if @YES.

Or... other ideas?

Separate left and right values? Cell level inset instead of table? An existing way to do this I missed?

If it's ugly or causes a problem let me know. :-)

andreamazz commented 10 years ago

Hi @donaciano, the pull request is fine, I'm just short on spare time :smiley: Merging