Skip to content

Commit c103224

Browse files
committed
base app
there is now: * stop watch * color picker * random color and * about page
1 parent 30518ab commit c103224

29 files changed

+756
-118
lines changed

Random Color/Base.lproj/LaunchScreen.storyboard

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

Random Color/Base.lproj/Main.storyboard

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

Random Color.xcodeproj/project.pbxproj renamed to Simplities.xcodeproj/project.pbxproj

Lines changed: 68 additions & 58 deletions
Large diffs are not rendered by default.

Random Color.xcodeproj/project.xcworkspace/contents.xcworkspacedata renamed to Simplities.xcodeproj/project.xcworkspace/contents.xcworkspacedata

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>PreviewsEnabled</key>
6+
<false/>
7+
</dict>
8+
</plist>
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>BuildLocationStyle</key>
6+
<string>UseAppPreferences</string>
7+
<key>CustomBuildLocationType</key>
8+
<string>RelativeToDerivedData</string>
9+
<key>DerivedDataLocationStyle</key>
10+
<string>Default</string>
11+
<key>IssueFilterStyle</key>
12+
<string>ShowActiveSchemeOnly</string>
13+
<key>LiveSourceIssuesEnabled</key>
14+
<true/>
15+
<key>ShowSharedSchemesAutomaticallyEnabled</key>
16+
<true/>
17+
</dict>
18+
</plist>

Random Color.xcodeproj/xcuserdata/mrwinson.xcuserdatad/xcschemes/xcschememanagement.plist renamed to Simplities.xcodeproj/xcuserdata/mrwinson.xcuserdatad/xcschemes/xcschememanagement.plist

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@
99
<key>orderHint</key>
1010
<integer>0</integer>
1111
</dict>
12+
<key>Simplities.xcscheme_^#shared#^_</key>
13+
<dict>
14+
<key>orderHint</key>
15+
<integer>0</integer>
16+
</dict>
1217
</dict>
1318
</dict>
1419
</plist>

Simplities/AboutViewController.swift

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
//
2+
// AboutViewController.swift
3+
// Random Color
4+
//
5+
// Created by Jude Wilson on 11/21/20.
6+
//
7+
8+
import UIKit
9+
// import FLAnimatedImage
10+
11+
class AboutViewController :UIViewController {
12+
@IBOutlet weak var BuyMeCoffeeImage: UIImageView!
13+
@IBOutlet weak var BuyMeCoffeeButton: UIButton!
14+
/*@IBOutlet weak var ConfettiImage: UIImageView!*/
15+
16+
@IBAction func BuyMeCoffeeDidClick(_ sender: Any) {
17+
UIApplication.shared.open(URL(string: "https://buymeacoff.ee/mrwinson")! as URL, options: [:], completionHandler: nil)
18+
19+
/*let path1 : String = Bundle.main.path(forResource: "iu", ofType: "gif")!
20+
let url = URL(fileURLWithPath: path1)
21+
let gifData = Data(contentsOf: url)
22+
let imageData1 = try? FLAnimatedImage(animatedGIFData: gifData)
23+
24+
ConfettiImage.animatedImage = imageData1*/
25+
}
26+
}
File renamed without changes.
Loading
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"images" : [
3+
{
4+
"filename" : "BMC Logo - Black.png",
5+
"idiom" : "universal",
6+
"scale" : "1x"
7+
},
8+
{
9+
"idiom" : "universal",
10+
"scale" : "2x"
11+
},
12+
{
13+
"idiom" : "universal",
14+
"scale" : "3x"
15+
}
16+
],
17+
"info" : {
18+
"author" : "xcode",
19+
"version" : 1
20+
}
21+
}

Random Color/Assets.xcassets/Contents.json renamed to Simplities/Assets.xcassets/Contents.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,8 @@
22
"info" : {
33
"author" : "xcode",
44
"version" : 1
5+
},
6+
"properties" : {
7+
"compression-type" : "lossless"
58
}
69
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"data" : [
3+
{
4+
"filename" : "iu.gif",
5+
"idiom" : "universal"
6+
}
7+
],
8+
"info" : {
9+
"author" : "xcode",
10+
"version" : 1
11+
}
12+
}
4.12 MB
Loading
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="17506" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="01J-lp-oVM">
3+
<device id="retina6_1" orientation="portrait" appearance="light"/>
4+
<dependencies>
5+
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="17505"/>
6+
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
7+
<capability name="System colors in document resources" minToolsVersion="11.0"/>
8+
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
9+
</dependencies>
10+
<scenes>
11+
<!--View Controller-->
12+
<scene sceneID="EHf-IW-A2E">
13+
<objects>
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="414" height="896"/>
17+
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
18+
<subviews>
19+
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="pBO-GT-X8m">
20+
<rect key="frame" x="0.0" y="44" width="414" height="818"/>
21+
<fontDescription key="fontDescription" type="system" pointSize="30"/>
22+
<state key="normal" title="Simplities"/>
23+
</button>
24+
</subviews>
25+
<viewLayoutGuide key="safeArea" id="6Tk-OE-BBY"/>
26+
<color key="backgroundColor" systemColor="systemBackgroundColor"/>
27+
<constraints>
28+
<constraint firstItem="6Tk-OE-BBY" firstAttribute="bottom" secondItem="pBO-GT-X8m" secondAttribute="bottom" id="WgN-o6-9NT"/>
29+
<constraint firstItem="pBO-GT-X8m" firstAttribute="top" secondItem="6Tk-OE-BBY" secondAttribute="top" id="mIa-Pw-061"/>
30+
<constraint firstItem="6Tk-OE-BBY" firstAttribute="trailing" secondItem="pBO-GT-X8m" secondAttribute="trailing" id="pxu-ic-04G"/>
31+
<constraint firstItem="pBO-GT-X8m" firstAttribute="leading" secondItem="6Tk-OE-BBY" secondAttribute="leading" id="tpT-3Y-11A"/>
32+
</constraints>
33+
</view>
34+
</viewController>
35+
<placeholder placeholderIdentifier="IBFirstResponder" id="iYj-Kq-Ea1" userLabel="First Responder" sceneMemberID="firstResponder"/>
36+
</objects>
37+
<point key="canvasLocation" x="53" y="375"/>
38+
</scene>
39+
</scenes>
40+
<resources>
41+
<systemColor name="systemBackgroundColor">
42+
<color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
43+
</systemColor>
44+
</resources>
45+
</document>

0 commit comments

Comments
 (0)