Skip to content

Commit d44c3e7

Browse files
author
Marino Faggiana
authored
Merge pull request #28 from nextcloud/develop
Direct editing support
2 parents 389f876 + 435480c commit d44c3e7

File tree

174 files changed

+2042
-6171
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

174 files changed

+2042
-6171
lines changed

.DS_Store

10 KB
Binary file not shown.

ActionExtension/ActionViewController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ class ActionViewController: UIViewController {
5252
if let content = content, let context = extensionContext {
5353
let selector = Selector("openURL:")
5454
var urlComponents = URLComponents()
55-
urlComponents.scheme = "cloudnotes"
55+
urlComponents.scheme = "nextcloudnotes"
5656
urlComponents.path = "action"
5757
urlComponents.queryItems = [URLQueryItem(name: "note", value: content)]
5858
if let url = urlComponents.url {

ActionExtension/Base.lproj/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<key>CFBundleDevelopmentRegion</key>
66
<string>$(DEVELOPMENT_LANGUAGE)</string>
77
<key>CFBundleDisplayName</key>
8-
<string>Copy to CloudNotes</string>
8+
<string>Copy to NextcloudNotes</string>
99
<key>CFBundleExecutable</key>
1010
<string>$(EXECUTABLE_NAME)</string>
1111
<key>CFBundleIdentifier</key>

ActionExtension/Base.lproj/MainInterface.storyboard

100644100755
Lines changed: 19 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,41 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="16097" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="ObA-dk-sSI">
3-
<device id="retina6_1" orientation="portrait" appearance="light"/>
2+
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="21507" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="01J-lp-oVM">
3+
<device id="retina4_7" orientation="portrait" appearance="light"/>
44
<dependencies>
55
<deployment identifier="iOS"/>
6-
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="16087"/>
6+
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="21505"/>
77
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
88
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
99
</dependencies>
1010
<scenes>
11-
<!--ExtensionView-->
12-
<scene sceneID="7MM-of-jgj">
11+
<!--View Controller-->
12+
<scene sceneID="EHf-IW-A2E">
1313
<objects>
14-
<viewController title="ExtensionView" id="ObA-dk-sSI" userLabel="ExtensionView" customClass="ActionViewController" customModule="ActionExtension" customModuleProvider="target" sceneMemberID="viewController">
15-
<view key="view" contentMode="scaleToFill" id="zMn-AG-sqS">
16-
<rect key="frame" x="0.0" y="0.0" width="320" height="528"/>
14+
<viewController id="01J-lp-oVM" sceneMemberID="viewController">
15+
<view key="view" contentMode="scaleToFill" id="Ze5-6b-2t3">
16+
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
1717
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
1818
<subviews>
19-
<imageView userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="launchicon" translatesAutoresizingMaskIntoConstraints="NO" id="9ga-4F-77Z">
20-
<rect key="frame" x="100" y="146" width="120" height="120"/>
21-
<constraints>
22-
<constraint firstAttribute="height" constant="120" id="7QI-m1-toj"/>
23-
<constraint firstAttribute="width" constant="120" id="VeG-CS-jpL"/>
24-
</constraints>
19+
<imageView userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="logo" translatesAutoresizingMaskIntoConstraints="NO" id="7UE-Dr-Fma">
20+
<rect key="frame" x="37.5" y="183.5" width="300" height="300"/>
2521
</imageView>
2622
</subviews>
27-
<color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
23+
<viewLayoutGuide key="safeArea" id="6Tk-OE-BBY"/>
24+
<color key="backgroundColor" red="0.0" green="0.50980392156862742" blue="0.78823529411764703" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
2825
<constraints>
29-
<constraint firstItem="9ga-4F-77Z" firstAttribute="centerY" secondItem="VVe-Uw-JpX" secondAttribute="centerY" constant="-80" id="Pto-sG-0pb"/>
30-
<constraint firstItem="9ga-4F-77Z" firstAttribute="centerX" secondItem="VVe-Uw-JpX" secondAttribute="centerX" id="xps-XN-E6j"/>
26+
<constraint firstItem="7UE-Dr-Fma" firstAttribute="width" relation="lessThanOrEqual" secondItem="6Tk-OE-BBY" secondAttribute="width" id="8ik-eB-po8"/>
27+
<constraint firstItem="7UE-Dr-Fma" firstAttribute="height" relation="lessThanOrEqual" secondItem="6Tk-OE-BBY" secondAttribute="height" id="G3L-l7-lxv"/>
28+
<constraint firstItem="7UE-Dr-Fma" firstAttribute="centerX" secondItem="6Tk-OE-BBY" secondAttribute="centerX" id="XdS-tM-D9I"/>
29+
<constraint firstItem="7UE-Dr-Fma" firstAttribute="centerY" secondItem="6Tk-OE-BBY" secondAttribute="centerY" id="ZR5-ct-Gg8"/>
3130
</constraints>
32-
<viewLayoutGuide key="safeArea" id="VVe-Uw-JpX"/>
3331
</view>
34-
<freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
35-
<size key="freeformSize" width="320" height="528"/>
36-
<connections>
37-
<outlet property="view" destination="zMn-AG-sqS" id="Qma-de-2ek"/>
38-
</connections>
3932
</viewController>
40-
<placeholder placeholderIdentifier="IBFirstResponder" id="X47-rx-isc" userLabel="First Responder" sceneMemberID="firstResponder"/>
33+
<placeholder placeholderIdentifier="IBFirstResponder" id="iYj-Kq-Ea1" userLabel="First Responder" sceneMemberID="firstResponder"/>
4134
</objects>
42-
<point key="canvasLocation" x="139" y="98"/>
35+
<point key="canvasLocation" x="53" y="375"/>
4336
</scene>
4437
</scenes>
4538
<resources>
46-
<image name="launchicon" width="120" height="120"/>
39+
<image name="logo" width="300" height="300"/>
4740
</resources>
4841
</document>

ActionExtension/Media.xcassets/TouchBarBezel.colorset/Contents.json

Lines changed: 0 additions & 14 deletions
This file was deleted.

ActionExtension/Media.xcassets/launchicon.imageset/Contents.json

Lines changed: 0 additions & 23 deletions
This file was deleted.
Binary file not shown.
Binary file not shown.
Binary file not shown.

ActionExtension/cs.lproj/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<key>CFBundleDevelopmentRegion</key>
66
<string>$(DEVELOPMENT_LANGUAGE)</string>
77
<key>CFBundleDisplayName</key>
8-
<string>Copy to CloudNotes</string>
8+
<string>Copy to NextcloudNotes</string>
99
<key>CFBundleExecutable</key>
1010
<string>$(EXECUTABLE_NAME)</string>
1111
<key>CFBundleIdentifier</key>

ActionExtension/de.lproj/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<key>CFBundleDevelopmentRegion</key>
66
<string>$(DEVELOPMENT_LANGUAGE)</string>
77
<key>CFBundleDisplayName</key>
8-
<string>In CloudNotes kopieren</string>
8+
<string>In NextcloudNotes kopieren</string>
99
<key>CFBundleExecutable</key>
1010
<string>$(EXECUTABLE_NAME)</string>
1111
<key>CFBundleIdentifier</key>

ActionExtension/en.lproj/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<key>CFBundleDevelopmentRegion</key>
66
<string>$(DEVELOPMENT_LANGUAGE)</string>
77
<key>CFBundleDisplayName</key>
8-
<string>Copy to CloudNotes</string>
8+
<string>Copy to NextcloudNotes</string>
99
<key>CFBundleExecutable</key>
1010
<string>$(EXECUTABLE_NAME)</string>
1111
<key>CFBundleIdentifier</key>

ActionExtension/fr.lproj/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<key>CFBundleDevelopmentRegion</key>
66
<string>$(DEVELOPMENT_LANGUAGE)</string>
77
<key>CFBundleDisplayName</key>
8-
<string>Copy to CloudNotes</string>
8+
<string>Copy to NextcloudNotes</string>
99
<key>CFBundleExecutable</key>
1010
<string>$(EXECUTABLE_NAME)</string>
1111
<key>CFBundleIdentifier</key>

ActionExtension/ko.lproj/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<key>CFBundleDevelopmentRegion</key>
66
<string>$(DEVELOPMENT_LANGUAGE)</string>
77
<key>CFBundleDisplayName</key>
8-
<string>CloudNotes에 복사</string>
8+
<string>NextcloudNotes 에 복사</string>
99
<key>CFBundleExecutable</key>
1010
<string>$(EXECUTABLE_NAME)</string>
1111
<key>CFBundleIdentifier</key>

AppKitGlue/AppKitEntryPoint.swift

Lines changed: 0 additions & 43 deletions
This file was deleted.

AppKitGlue/Info.plist

Lines changed: 0 additions & 26 deletions
This file was deleted.

AppKitGlue/cs.lproj/InfoPlist.strings

Lines changed: 0 additions & 6 deletions
This file was deleted.

AppKitGlue/de.lproj/InfoPlist.strings

Lines changed: 0 additions & 6 deletions
This file was deleted.

AppKitInterface/AppKitInterface.h

Lines changed: 0 additions & 19 deletions
This file was deleted.

AppKitInterface/AppKitInterface.swift

Lines changed: 0 additions & 14 deletions
This file was deleted.

AppKitInterface/Info.plist

Lines changed: 0 additions & 24 deletions
This file was deleted.

AppKitInterface/cs.lproj/InfoPlist.strings

Lines changed: 0 additions & 6 deletions
This file was deleted.

AppKitInterface/de.lproj/InfoPlist.strings

Lines changed: 0 additions & 6 deletions
This file was deleted.

CloudNotes/AppDelegate.swift

Lines changed: 0 additions & 27 deletions
This file was deleted.

0 commit comments

Comments
 (0)