Skip to content

Releases: jpmartha/EggsBenedict

0.9.9

15 Jan 10:06
Compare
Choose a tag to compare
0.9.9 Pre-release
Pre-release

Added

  • Test Cases

Improved

  • Updated the Result Enumeration to the SharingFlowResult Enumeration

    enum SharingFlowResult<T, U> {
        case Success(T)
        case Failure(T, U)
    }
    • Handling Errors Example

      sharingFlow.presentOpenInMenuWithImage(YourImage, inView: YourView, documentInteractionDelegate: self) { (sharingFlowResult) -> Void in
          switch sharingFlowResult {
          case .Success(let imagePath):
              print("Success: \(imagePath)")
          case let .Failure(imagePath, errorType):
              print("ImagePath: \(imagePath), ErrorType: \(errorType)")
          }
      }

      But, if you don't need, you may also call the following method.

      sharingFlow.presentOpenInMenuWithImage(YourImage, inView: YourView)

0.9.8

13 Jan 20:03
Compare
Choose a tag to compare
0.9.8 Pre-release
Pre-release

Add

Methods
  • presentOpenInMenuWithImage:inView:
  • presentOpenInMenuWithImage:inView:documentInteractionDelegate:
  • presentOpenInMenuWithImage:inView:completion:
  • removeTemporaryImage

0.9.7

12 Jan 10:52
Compare
Choose a tag to compare
0.9.7 Pre-release
Pre-release
Rename method parameter name

From

  • presentOpenInMenuWithImage:view:documentInteractionControllerDelegate:completion:

To

  • presentOpenInMenuWithImage:inView:documentInteractionDelegate:completion:

0.9.6

08 Jan 23:17
Compare
Choose a tag to compare
0.9.6 Pre-release
Pre-release

Added

0.9.5

06 Jan 13:37
Compare
Choose a tag to compare
0.9.5 Pre-release
Pre-release
  • Updated .travis.yml
  • Changed the method name from presentOptionsMenuWithImage to presentOpenInMenuWithImage.
  • Updated README.md