Skip to content

Commit

Permalink
Updated to iOS v8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Malte Baumann committed Sep 27, 2017
1 parent 78ba3a3 commit 4a363f1
Show file tree
Hide file tree
Showing 447 changed files with 518,614 additions and 11,307 deletions.
8 changes: 2 additions & 6 deletions src/ios/PESDKPlugin.m
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,9 @@ - (void)present:(CDVInvokedUrlCommand *)command {
if (imageData && !dataCreationError) {
PESDKPhotoEditViewController *photoEditViewController = [[PESDKPhotoEditViewController alloc] initWithData:imageData configuration:configuration];
photoEditViewController.delegate = self;
PESDKToolbarController *toolbarController = [PESDKToolbarController new];
[toolbarController pushViewController:photoEditViewController animated:YES completion:nil];

dispatch_async(dispatch_get_main_queue(), ^{
[self.viewController presentViewController:toolbarController animated:YES completion:nil];
[self.viewController presentViewController:photoEditViewController animated:YES completion:nil];
});
} else if (dataCreationError) {
NSLog(@"Failed to open given path: %@", dataCreationError);
Expand All @@ -93,10 +91,8 @@ - (void)present:(CDVInvokedUrlCommand *)command {
[cameraViewController setCompletionBlock:^(UIImage * _Nullable image, NSURL * _Nullable url) {
PESDKPhotoEditViewController *photoEditViewController = [[PESDKPhotoEditViewController alloc] initWithPhoto:image configuration:configuration];
photoEditViewController.delegate = self;
PESDKToolbarController *toolbarController = [PESDKToolbarController new];
[toolbarController pushViewController:photoEditViewController animated:YES completion:nil];
[self.viewController dismissViewControllerAnimated:YES completion:^{
[self.viewController presentViewController:toolbarController animated:YES completion:nil];
[self.viewController presentViewController:photoEditViewController animated:YES completion:nil];
}];
}];

Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

12,566 changes: 6,476 additions & 6,090 deletions ...F-58F5-3A5B-B3B1-FBAF65DEB01E.bcsymbolmap → ...E-7FEE-3801-A7B3-6E501165E493.bcsymbolmap
100644 → 100755

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

5,408 changes: 2,891 additions & 2,517 deletions ...3-4E97-3DAA-B059-777C17EC95F2.bcsymbolmap → ...C-3C52-32DE-A6C6-86AA00C14257.bcsymbolmap
100644 → 100755

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ extern PESDKAnalyticsEventName const PESDKAnalyticsEventNameTransformAspectRatio
extern PESDKAnalyticsEventName const PESDKAnalyticsEventNameAdjustOptionChange;
extern PESDKAnalyticsEventName const PESDKAnalyticsEventNameAdjustValueChange;

extern PESDKAnalyticsEventName const PESDKAnalyticsEventNameStickerAdd;
extern PESDKAnalyticsEventName const PESDKAnalyticsEventNameStickerRemove;
extern PESDKAnalyticsEventName const PESDKAnalyticsEventNameStickerSelect;
extern PESDKAnalyticsEventName const PESDKAnalyticsEventNameStickerCategorySelect;
extern PESDKAnalyticsEventName const PESDKAnalyticsEventNameStickerActionSelect;
Expand All @@ -81,13 +83,14 @@ extern PESDKAnalyticsEventName const PESDKAnalyticsEventNameStickerColorChange;

extern PESDKAnalyticsEventName const PESDKAnalyticsEventNameFrameSelect;
extern PESDKAnalyticsEventName const PESDKAnalyticsEventNameFrameDeselect;
extern PESDKAnalyticsEventName const PESDKAnalyticsEventNameFrameActionSelect;

extern PESDKAnalyticsEventName const PESDKAnalyticsEventNameBrushActionSelect;
extern PESDKAnalyticsEventName const PESDKAnalyticsEventNameBrushOptionChange;
extern PESDKAnalyticsEventName const PESDKAnalyticsEventNameBrushValueChange;
extern PESDKAnalyticsEventName const PESDKAnalyticsEventNameBrushColorChange;

extern PESDKAnalyticsEventName const PESDKAnalyticsEventNameTextAdd;
extern PESDKAnalyticsEventName const PESDKAnalyticsEventNameTextRemove;
extern PESDKAnalyticsEventName const PESDKAnalyticsEventNameTextActionSelect;
extern PESDKAnalyticsEventName const PESDKAnalyticsEventNameTextEdit;
extern PESDKAnalyticsEventName const PESDKAnalyticsEventNameTextRectChange;
Expand Down Expand Up @@ -125,6 +128,11 @@ extern PESDKAnalyticsEventAttributeName const PESDKAnalyticsEventAttributeNameVa
extern PESDKAnalyticsEventAttributeName const PESDKAnalyticsEventAttributeNameSticker;
extern PESDKAnalyticsEventAttributeName const PESDKAnalyticsEventAttributeNameStickerCategory;

extern PESDKAnalyticsEventAttributeName const PESDKAnalyticsEventAttributeNameText;
extern PESDKAnalyticsEventAttributeName const PESDKAnalyticsEventAttributeNameAlignment;
extern PESDKAnalyticsEventAttributeName const PESDKAnalyticsEventAttributeNameTextColor;
extern PESDKAnalyticsEventAttributeName const PESDKAnalyticsEventAttributeNameBackgroundColor;

extern PESDKAnalyticsEventAttributeName const PESDKAnalyticsEventAttributeNameFont;
extern PESDKAnalyticsEventAttributeName const PESDKAnalyticsEventAttributeNameColor;

Expand Down
60 changes: 0 additions & 60 deletions src/ios/PhotoEditorSDK.framework/Headers/PESDKRenderMode.h

This file was deleted.

Loading

0 comments on commit 4a363f1

Please sign in to comment.