Skip to content
This repository has been archived by the owner on Oct 30, 2020. It is now read-only.

Implemented "showFromRect:inView:animated:" #24

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

michaeltyson
Copy link

Hi! This adds the ability to select an origin rect, and have JGActionSheet automatically determine which side to display on. This mirrors the functionality from UIActionSheet.

This adds the ability to select an origin rect, and have JGActionSheet automatically determine which side to display on. This mirrors the functionality from UIActionSheet.
@JonasGessner
Copy link
Owner

Awesome, this is something I wanted to implement a long time ago. I'll test it when I get some free time but it looks promising! Wicked!

@michaeltyson
Copy link
Author

Cool =)

This provides the equivalent behaviour to moveToPoint..., but automatically selects the arrow direction and anchor point.
@michaeltyson
Copy link
Author

Just added an additional commit that provides the "moveToRect" functionality necessary when rotating

@tposch
Copy link

tposch commented Jan 7, 2016

I would love to get this pull-requested merged and the pod updated. Thanks @michaeltyson for implementing it.

@JonasGessner
Copy link
Owner

Thanks for reminding me. I'm super busy but I hope that I will be able to test this soon.

@michaeltyson
Copy link
Author

Ah, the downside of getting pull requests - yet another thing to add to the todo list =) I've always got a backlog on my projects.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants