Skip to content

Commit 8050048

Browse files
committed
init
1 parent da423b0 commit 8050048

File tree

4 files changed

+422
-7
lines changed

4 files changed

+422
-7
lines changed

Notify.xcodeproj/project.pbxproj

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
B50BEEA12737DB5000413764 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = B50BEE9F2737DB5000413764 /* Main.storyboard */; };
1414
B50BEEA32737DB5100413764 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = B50BEEA22737DB5100413764 /* Assets.xcassets */; };
1515
B50BEEA62737DB5100413764 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = B50BEEA42737DB5100413764 /* LaunchScreen.storyboard */; };
16+
B50BEEAE2737DCDE00413764 /* Notify.swift in Sources */ = {isa = PBXBuildFile; fileRef = B50BEEAD2737DCDE00413764 /* Notify.swift */; };
1617
/* End PBXBuildFile section */
1718

1819
/* Begin PBXFileReference section */
@@ -24,6 +25,7 @@
2425
B50BEEA22737DB5100413764 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
2526
B50BEEA52737DB5100413764 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
2627
B50BEEA72737DB5100413764 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
28+
B50BEEAD2737DCDE00413764 /* Notify.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Notify.swift; sourceTree = "<group>"; };
2729
/* End PBXFileReference section */
2830

2931
/* Begin PBXFrameworksBuildPhase section */
@@ -59,6 +61,7 @@
5961
B50BEE992737DB5000413764 /* AppDelegate.swift */,
6062
B50BEE9B2737DB5000413764 /* SceneDelegate.swift */,
6163
B50BEE9D2737DB5000413764 /* ViewController.swift */,
64+
B50BEEAF2737DCF800413764 /* Notify */,
6265
B50BEE9F2737DB5000413764 /* Main.storyboard */,
6366
B50BEEA22737DB5100413764 /* Assets.xcassets */,
6467
B50BEEA42737DB5100413764 /* LaunchScreen.storyboard */,
@@ -67,6 +70,14 @@
6770
path = Notify;
6871
sourceTree = "<group>";
6972
};
73+
B50BEEAF2737DCF800413764 /* Notify */ = {
74+
isa = PBXGroup;
75+
children = (
76+
B50BEEAD2737DCDE00413764 /* Notify.swift */,
77+
);
78+
path = Notify;
79+
sourceTree = "<group>";
80+
};
7081
/* End PBXGroup section */
7182

7283
/* Begin PBXNativeTarget section */
@@ -137,6 +148,7 @@
137148
isa = PBXSourcesBuildPhase;
138149
buildActionMask = 2147483647;
139150
files = (
151+
B50BEEAE2737DCDE00413764 /* Notify.swift in Sources */,
140152
B50BEE9E2737DB5000413764 /* ViewController.swift in Sources */,
141153
B50BEE9A2737DB5000413764 /* AppDelegate.swift in Sources */,
142154
B50BEE9C2737DB5000413764 /* SceneDelegate.swift in Sources */,
@@ -289,6 +301,7 @@
289301
CODE_SIGN_STYLE = Automatic;
290302
DEVELOPMENT_TEAM = 95D67VXK3X;
291303
INFOPLIST_FILE = Notify/Info.plist;
304+
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
292305
LD_RUNPATH_SEARCH_PATHS = (
293306
"$(inherited)",
294307
"@executable_path/Frameworks",
@@ -308,6 +321,7 @@
308321
CODE_SIGN_STYLE = Automatic;
309322
DEVELOPMENT_TEAM = 95D67VXK3X;
310323
INFOPLIST_FILE = Notify/Info.plist;
324+
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
311325
LD_RUNPATH_SEARCH_PATHS = (
312326
"$(inherited)",
313327
"@executable_path/Frameworks",

Notify/Base.lproj/Main.storyboard

Lines changed: 33 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,52 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="13122.16" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="BYZ-38-t0r">
2+
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="18122" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="BYZ-38-t0r">
3+
<device id="retina6_1" orientation="portrait" appearance="light"/>
34
<dependencies>
4-
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="13104.12"/>
5+
<deployment identifier="iOS"/>
6+
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="18093"/>
57
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
68
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
79
</dependencies>
810
<scenes>
911
<!--View Controller-->
1012
<scene sceneID="tne-QT-ifu">
1113
<objects>
12-
<viewController id="BYZ-38-t0r" customClass="ViewController" customModuleProvider="target" sceneMemberID="viewController">
14+
<viewController id="BYZ-38-t0r" customClass="ViewController" customModule="Notify" customModuleProvider="target" sceneMemberID="viewController">
1315
<view key="view" contentMode="scaleToFill" id="8bC-Xf-vdC">
14-
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
16+
<rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
1517
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
16-
<color key="backgroundColor" xcode11CocoaTouchSystemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
18+
<subviews>
19+
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="3cX-xh-xiv">
20+
<rect key="frame" x="107" y="423" width="200" height="50"/>
21+
<color key="backgroundColor" red="0.24985288920000001" green="0.60591645270000005" blue="0.73185692309999995" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
22+
<constraints>
23+
<constraint firstAttribute="height" constant="50" id="Ilf-Wv-Nzz"/>
24+
<constraint firstAttribute="width" relation="greaterThanOrEqual" constant="200" id="JKq-mC-wAe"/>
25+
</constraints>
26+
<state key="normal" title="Show notify">
27+
<color key="titleColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
28+
</state>
29+
<userDefinedRuntimeAttributes>
30+
<userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
31+
<real key="value" value="12"/>
32+
</userDefinedRuntimeAttribute>
33+
</userDefinedRuntimeAttributes>
34+
<connections>
35+
<action selector="didTapOnButton:" destination="BYZ-38-t0r" eventType="touchUpInside" id="9Cs-ph-ngV"/>
36+
</connections>
37+
</button>
38+
</subviews>
1739
<viewLayoutGuide key="safeArea" id="6Tk-OE-BBY"/>
40+
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
41+
<constraints>
42+
<constraint firstItem="3cX-xh-xiv" firstAttribute="centerY" secondItem="8bC-Xf-vdC" secondAttribute="centerY" id="AAg-eT-99a"/>
43+
<constraint firstItem="3cX-xh-xiv" firstAttribute="centerX" secondItem="8bC-Xf-vdC" secondAttribute="centerX" id="tex-dr-9ZE"/>
44+
</constraints>
1845
</view>
1946
</viewController>
2047
<placeholder placeholderIdentifier="IBFirstResponder" id="dkx-z0-nzr" sceneMemberID="firstResponder"/>
2148
</objects>
49+
<point key="canvasLocation" x="35" y="94"/>
2250
</scene>
2351
</scenes>
2452
</document>

0 commit comments

Comments
 (0)