diff --git a/ios/keyman/Keyman/Keyman/Images.xcassets/IconBrowser.imageset/786-browser.png b/ios/keyman/Keyman/Keyman/Images.xcassets/IconBrowser.imageset/786-browser.png new file mode 100644 index 0000000000..a5a0c79b12 Binary files /dev/null and b/ios/keyman/Keyman/Keyman/Images.xcassets/IconBrowser.imageset/786-browser.png differ diff --git a/ios/keyman/Keyman/Keyman/Images.xcassets/IconBrowser.imageset/Contents.json b/ios/keyman/Keyman/Keyman/Images.xcassets/IconBrowser.imageset/Contents.json new file mode 100644 index 0000000000..1296c29cbf --- /dev/null +++ b/ios/keyman/Keyman/Keyman/Images.xcassets/IconBrowser.imageset/Contents.json @@ -0,0 +1,12 @@ +{ + "images" : [ + { + "idiom" : "universal", + "filename" : "786-browser.png" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/ios/keyman/Keyman/Keyman/Images.xcassets/IconBrowserSelected.imageset/786-browser-selected.png b/ios/keyman/Keyman/Keyman/Images.xcassets/IconBrowserSelected.imageset/786-browser-selected.png new file mode 100644 index 0000000000..366cf0dd38 Binary files /dev/null and b/ios/keyman/Keyman/Keyman/Images.xcassets/IconBrowserSelected.imageset/786-browser-selected.png differ diff --git a/ios/keyman/Keyman/Keyman/Images.xcassets/IconBrowserSelected.imageset/Contents.json b/ios/keyman/Keyman/Keyman/Images.xcassets/IconBrowserSelected.imageset/Contents.json new file mode 100644 index 0000000000..a408d585d2 --- /dev/null +++ b/ios/keyman/Keyman/Keyman/Images.xcassets/IconBrowserSelected.imageset/Contents.json @@ -0,0 +1,12 @@ +{ + "images" : [ + { + "idiom" : "universal", + "filename" : "786-browser-selected.png" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/ios/keyman/Keyman/Keyman/Images.xcassets/IconInfo.imageset/724-info.png b/ios/keyman/Keyman/Keyman/Images.xcassets/IconInfo.imageset/724-info.png new file mode 100644 index 0000000000..44e7683296 Binary files /dev/null and b/ios/keyman/Keyman/Keyman/Images.xcassets/IconInfo.imageset/724-info.png differ diff --git a/ios/keyman/Keyman/Keyman/Images.xcassets/IconInfo.imageset/Contents.json b/ios/keyman/Keyman/Keyman/Images.xcassets/IconInfo.imageset/Contents.json new file mode 100644 index 0000000000..bd49b6e79d --- /dev/null +++ b/ios/keyman/Keyman/Keyman/Images.xcassets/IconInfo.imageset/Contents.json @@ -0,0 +1,12 @@ +{ + "images" : [ + { + "idiom" : "universal", + "filename" : "724-info.png" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/ios/keyman/Keyman/Keyman/Images.xcassets/IconInfoSelected.imageset/724-info-selected.png b/ios/keyman/Keyman/Keyman/Images.xcassets/IconInfoSelected.imageset/724-info-selected.png new file mode 100644 index 0000000000..954baa07de Binary files /dev/null and b/ios/keyman/Keyman/Keyman/Images.xcassets/IconInfoSelected.imageset/724-info-selected.png differ diff --git a/ios/keyman/Keyman/Keyman/Images.xcassets/IconInfoSelected.imageset/Contents.json b/ios/keyman/Keyman/Keyman/Images.xcassets/IconInfoSelected.imageset/Contents.json new file mode 100644 index 0000000000..0683bb0163 --- /dev/null +++ b/ios/keyman/Keyman/Keyman/Images.xcassets/IconInfoSelected.imageset/Contents.json @@ -0,0 +1,12 @@ +{ + "images" : [ + { + "idiom" : "universal", + "filename" : "724-info-selected.png" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/ios/keyman/Keyman/Keyman/Images.xcassets/IconMore.imageset/Contents.json b/ios/keyman/Keyman/Keyman/Images.xcassets/IconMore.imageset/Contents.json new file mode 100644 index 0000000000..e017eee9a1 --- /dev/null +++ b/ios/keyman/Keyman/Keyman/Images.xcassets/IconMore.imageset/Contents.json @@ -0,0 +1,12 @@ +{ + "images" : [ + { + "idiom" : "universal", + "filename" : "more@2x.png" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/ios/keyman/Keyman/Keyman/Images.xcassets/IconMore.imageset/more@2x.png b/ios/keyman/Keyman/Keyman/Images.xcassets/IconMore.imageset/more@2x.png new file mode 100644 index 0000000000..6f3691ef63 Binary files /dev/null and b/ios/keyman/Keyman/Keyman/Images.xcassets/IconMore.imageset/more@2x.png differ diff --git a/ios/keyman/Keyman/Keyman/Images.xcassets/IconMoreSelected.imageset/Contents.json b/ios/keyman/Keyman/Keyman/Images.xcassets/IconMoreSelected.imageset/Contents.json new file mode 100644 index 0000000000..964bf143eb --- /dev/null +++ b/ios/keyman/Keyman/Keyman/Images.xcassets/IconMoreSelected.imageset/Contents.json @@ -0,0 +1,12 @@ +{ + "images" : [ + { + "idiom" : "universal", + "filename" : "more-selected@2x.png" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/ios/keyman/Keyman/Keyman/Images.xcassets/IconMoreSelected.imageset/more-selected@2x.png b/ios/keyman/Keyman/Keyman/Images.xcassets/IconMoreSelected.imageset/more-selected@2x.png new file mode 100644 index 0000000000..6a038e3cc8 Binary files /dev/null and b/ios/keyman/Keyman/Keyman/Images.xcassets/IconMoreSelected.imageset/more-selected@2x.png differ diff --git a/ios/keyman/Keyman/Keyman/Images.xcassets/IconNotepad.imageset/887-notepad.png b/ios/keyman/Keyman/Keyman/Images.xcassets/IconNotepad.imageset/887-notepad.png new file mode 100644 index 0000000000..03868f8792 Binary files /dev/null and b/ios/keyman/Keyman/Keyman/Images.xcassets/IconNotepad.imageset/887-notepad.png differ diff --git a/ios/keyman/Keyman/Keyman/Images.xcassets/IconNotepad.imageset/Contents.json b/ios/keyman/Keyman/Keyman/Images.xcassets/IconNotepad.imageset/Contents.json new file mode 100644 index 0000000000..fbe5b32e27 --- /dev/null +++ b/ios/keyman/Keyman/Keyman/Images.xcassets/IconNotepad.imageset/Contents.json @@ -0,0 +1,12 @@ +{ + "images" : [ + { + "idiom" : "universal", + "filename" : "887-notepad.png" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/ios/keyman/Keyman/Keyman/Images.xcassets/IconNotepadSelected.imageset/887-notepad-selected.png b/ios/keyman/Keyman/Keyman/Images.xcassets/IconNotepadSelected.imageset/887-notepad-selected.png new file mode 100644 index 0000000000..b79d63173c Binary files /dev/null and b/ios/keyman/Keyman/Keyman/Images.xcassets/IconNotepadSelected.imageset/887-notepad-selected.png differ diff --git a/ios/keyman/Keyman/Keyman/Images.xcassets/IconNotepadSelected.imageset/Contents.json b/ios/keyman/Keyman/Keyman/Images.xcassets/IconNotepadSelected.imageset/Contents.json new file mode 100644 index 0000000000..5b944a2650 --- /dev/null +++ b/ios/keyman/Keyman/Keyman/Images.xcassets/IconNotepadSelected.imageset/Contents.json @@ -0,0 +1,12 @@ +{ + "images" : [ + { + "idiom" : "universal", + "filename" : "887-notepad-selected.png" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/ios/keyman/Keyman/Keyman/Images.xcassets/IconShare.imageset/702-share.png b/ios/keyman/Keyman/Keyman/Images.xcassets/IconShare.imageset/702-share.png new file mode 100644 index 0000000000..7c3cdf9844 Binary files /dev/null and b/ios/keyman/Keyman/Keyman/Images.xcassets/IconShare.imageset/702-share.png differ diff --git a/ios/keyman/Keyman/Keyman/Images.xcassets/IconShare.imageset/Contents.json b/ios/keyman/Keyman/Keyman/Images.xcassets/IconShare.imageset/Contents.json new file mode 100644 index 0000000000..552f8b73ea --- /dev/null +++ b/ios/keyman/Keyman/Keyman/Images.xcassets/IconShare.imageset/Contents.json @@ -0,0 +1,12 @@ +{ + "images" : [ + { + "idiom" : "universal", + "filename" : "702-share.png" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/ios/keyman/Keyman/Keyman/Images.xcassets/IconShareSelected.imageset/702-share-selected.png b/ios/keyman/Keyman/Keyman/Images.xcassets/IconShareSelected.imageset/702-share-selected.png new file mode 100644 index 0000000000..276394c0f3 Binary files /dev/null and b/ios/keyman/Keyman/Keyman/Images.xcassets/IconShareSelected.imageset/702-share-selected.png differ diff --git a/ios/keyman/Keyman/Keyman/Images.xcassets/IconShareSelected.imageset/Contents.json b/ios/keyman/Keyman/Keyman/Images.xcassets/IconShareSelected.imageset/Contents.json new file mode 100644 index 0000000000..27d9a74cfc --- /dev/null +++ b/ios/keyman/Keyman/Keyman/Images.xcassets/IconShareSelected.imageset/Contents.json @@ -0,0 +1,12 @@ +{ + "images" : [ + { + "idiom" : "universal", + "filename" : "702-share-selected.png" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/ios/keyman/Keyman/Keyman/Images.xcassets/IconTextSize.imageset/Contents.json b/ios/keyman/Keyman/Keyman/Images.xcassets/IconTextSize.imageset/Contents.json new file mode 100644 index 0000000000..72e7728010 --- /dev/null +++ b/ios/keyman/Keyman/Keyman/Images.xcassets/IconTextSize.imageset/Contents.json @@ -0,0 +1,12 @@ +{ + "images" : [ + { + "idiom" : "universal", + "filename" : "textsize.png" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/ios/keyman/Keyman/Keyman/Images.xcassets/IconTextSize.imageset/textsize.png b/ios/keyman/Keyman/Keyman/Images.xcassets/IconTextSize.imageset/textsize.png new file mode 100644 index 0000000000..19a95475ea Binary files /dev/null and b/ios/keyman/Keyman/Keyman/Images.xcassets/IconTextSize.imageset/textsize.png differ diff --git a/ios/keyman/Keyman/Keyman/Images.xcassets/IconTextSizeSelected.imageset/Contents.json b/ios/keyman/Keyman/Keyman/Images.xcassets/IconTextSizeSelected.imageset/Contents.json new file mode 100644 index 0000000000..26c2f9174b --- /dev/null +++ b/ios/keyman/Keyman/Keyman/Images.xcassets/IconTextSizeSelected.imageset/Contents.json @@ -0,0 +1,12 @@ +{ + "images" : [ + { + "idiom" : "universal", + "filename" : "textsize_selected.png" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/ios/keyman/Keyman/Keyman/Images.xcassets/IconTextSizeSelected.imageset/textsize_selected.png b/ios/keyman/Keyman/Keyman/Images.xcassets/IconTextSizeSelected.imageset/textsize_selected.png new file mode 100644 index 0000000000..e6cb0a42f2 Binary files /dev/null and b/ios/keyman/Keyman/Keyman/Images.xcassets/IconTextSizeSelected.imageset/textsize_selected.png differ diff --git a/ios/keyman/Keyman/Keyman/Images.xcassets/IconTrash.imageset/711-trash.png b/ios/keyman/Keyman/Keyman/Images.xcassets/IconTrash.imageset/711-trash.png new file mode 100644 index 0000000000..0340d6cafa Binary files /dev/null and b/ios/keyman/Keyman/Keyman/Images.xcassets/IconTrash.imageset/711-trash.png differ diff --git a/ios/keyman/Keyman/Keyman/Images.xcassets/IconTrash.imageset/Contents.json b/ios/keyman/Keyman/Keyman/Images.xcassets/IconTrash.imageset/Contents.json new file mode 100644 index 0000000000..a9de7497dd --- /dev/null +++ b/ios/keyman/Keyman/Keyman/Images.xcassets/IconTrash.imageset/Contents.json @@ -0,0 +1,12 @@ +{ + "images" : [ + { + "idiom" : "universal", + "filename" : "711-trash.png" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/ios/keyman/Keyman/Keyman/Images.xcassets/IconTrashSelected.imageset/711-trash-selected.png b/ios/keyman/Keyman/Keyman/Images.xcassets/IconTrashSelected.imageset/711-trash-selected.png new file mode 100644 index 0000000000..b5c3c6c312 Binary files /dev/null and b/ios/keyman/Keyman/Keyman/Images.xcassets/IconTrashSelected.imageset/711-trash-selected.png differ diff --git a/ios/keyman/Keyman/Keyman/Images.xcassets/IconTrashSelected.imageset/Contents.json b/ios/keyman/Keyman/Keyman/Images.xcassets/IconTrashSelected.imageset/Contents.json new file mode 100644 index 0000000000..24fc757b3e --- /dev/null +++ b/ios/keyman/Keyman/Keyman/Images.xcassets/IconTrashSelected.imageset/Contents.json @@ -0,0 +1,12 @@ +{ + "images" : [ + { + "idiom" : "universal", + "filename" : "711-trash-selected.png" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/ios/keyman/Keyman/Keyman/Images.xcassets/TextSizeDown.imageset/Contents.json b/ios/keyman/Keyman/Keyman/Images.xcassets/TextSizeDown.imageset/Contents.json new file mode 100644 index 0000000000..a9fad23d02 --- /dev/null +++ b/ios/keyman/Keyman/Keyman/Images.xcassets/TextSizeDown.imageset/Contents.json @@ -0,0 +1,12 @@ +{ + "images" : [ + { + "idiom" : "universal", + "filename" : "textsize_down.png" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/ios/keyman/Keyman/Keyman/Images.xcassets/TextSizeDown.imageset/textsize_down.png b/ios/keyman/Keyman/Keyman/Images.xcassets/TextSizeDown.imageset/textsize_down.png new file mode 100644 index 0000000000..5115dc0d67 Binary files /dev/null and b/ios/keyman/Keyman/Keyman/Images.xcassets/TextSizeDown.imageset/textsize_down.png differ diff --git a/ios/keyman/Keyman/Keyman/Images.xcassets/TextSizeUp.imageset/Contents.json b/ios/keyman/Keyman/Keyman/Images.xcassets/TextSizeUp.imageset/Contents.json new file mode 100644 index 0000000000..0d5684ac68 --- /dev/null +++ b/ios/keyman/Keyman/Keyman/Images.xcassets/TextSizeUp.imageset/Contents.json @@ -0,0 +1,12 @@ +{ + "images" : [ + { + "idiom" : "universal", + "filename" : "textsize_up.png" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/ios/keyman/Keyman/Keyman/Images.xcassets/TextSizeUp.imageset/textsize_up.png b/ios/keyman/Keyman/Keyman/Images.xcassets/TextSizeUp.imageset/textsize_up.png new file mode 100644 index 0000000000..874de51fa4 Binary files /dev/null and b/ios/keyman/Keyman/Keyman/Images.xcassets/TextSizeUp.imageset/textsize_up.png differ diff --git a/ios/keyman/Keyman/Keyman/MainViewController.swift b/ios/keyman/Keyman/Keyman/MainViewController.swift index 4ab3abc3f3..f9969beb8c 100644 --- a/ios/keyman/Keyman/Keyman/MainViewController.swift +++ b/ios/keyman/Keyman/Keyman/MainViewController.swift @@ -287,8 +287,8 @@ class MainViewController: UIViewController, TextViewDelegate, UIActionSheetDeleg orientation: orientation) browserButton.title = "Browser" - let actionButton = createNavBarButton(with: #imageLiteral(resourceName: "702-share.png"), - highlightedImage: #imageLiteral(resourceName: "702-share-selected.png"), + let actionButton = createNavBarButton(with: UIImage(named: "IconShare")!, + highlightedImage: UIImage(named: "IconShareSelected")!, imageScale: imageScaleF, action: #selector(self.actionButtonClick), orientation: orientation)