WYStoryboardPopoverSegue.h 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. /*
  2. Version 0.3.9
  3. WYPopoverController is available under the MIT license.
  4. Copyright © 2013 Nicolas CHENG
  5. Permission is hereby granted, free of charge, to any person obtaining a copy
  6. of this software and associated documentation files (the "Software"), to deal
  7. in the Software without restriction, including without limitation the rights
  8. to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  9. copies of the Software, and to permit persons to whom the Software is
  10. furnished to do so, subject to the following conditions:
  11. The above copyright notice and this permission notice shall be included
  12. in all copies or substantial portions of the Software.
  13. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
  14. INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
  15. PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
  16. HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
  17. OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
  18. SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  19. */
  20. #import <UIKit/UIKit.h>
  21. #import "WYPopoverController.h"
  22. @interface WYStoryboardPopoverSegue : UIStoryboardSegue
  23. - (WYPopoverController*)popoverControllerWithSender:(id)sender
  24. permittedArrowDirections:(WYPopoverArrowDirection)arrowDirections
  25. animated:(BOOL)animated;
  26. - (WYPopoverController*)popoverControllerWithSender:(id)sender
  27. permittedArrowDirections:(WYPopoverArrowDirection)arrowDirections
  28. animated:(BOOL)animated
  29. options:(WYPopoverAnimationOptions)options;
  30. @end