├── .gitignore
├── LICENSE
├── Podfile
├── Podfile.lock
├── README.md
├── Resources
├── Assets.xcassets
│ └── AppIcon.appiconset
│ │ └── Contents.json
├── Base.lproj
│ └── MainMenu.xib
└── Info.plist
├── Source
├── AppDelegate.swift
├── Keyboard.swift
├── Screen.swift
└── Window.swift
├── ToTheTop.xcodeproj
├── project.pbxproj
└── project.xcworkspace
│ └── contents.xcworkspacedata
└── ToTheTop.xcworkspace
├── contents.xcworkspacedata
└── xcshareddata
└── IDEWorkspaceChecks.plist
/.gitignore:
--------------------------------------------------------------------------------
1 | # Xcode
2 | #
3 | # gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore
4 |
5 | ## Build generated
6 | build/
7 | DerivedData/
8 |
9 | ## Various settings
10 | *.pbxuser
11 | !default.pbxuser
12 | *.mode1v3
13 | !default.mode1v3
14 | *.mode2v3
15 | !default.mode2v3
16 | *.perspectivev3
17 | !default.perspectivev3
18 | xcuserdata/
19 |
20 | ## Other
21 | *.moved-aside
22 | *.xcuserstate
23 |
24 | ## Obj-C/Swift specific
25 | *.hmap
26 | *.ipa
27 | *.dSYM.zip
28 | *.dSYM
29 |
30 | ## Playgrounds
31 | timeline.xctimeline
32 | playground.xcworkspace
33 |
34 | # Swift Package Manager
35 | #
36 | # Add this line if you want to avoid checking in source code from Swift Package Manager dependencies.
37 | # Packages/
38 | .build/
39 |
40 | # CocoaPods
41 | #
42 | # We recommend against adding the Pods directory to your .gitignore. However
43 | # you should judge for yourself, the pros and cons are mentioned at:
44 | # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
45 | #
46 | Pods/
47 |
48 | # Carthage
49 | #
50 | # Add this line if you want to avoid checking in source code from Carthage dependencies.
51 | # Carthage/Checkouts
52 |
53 | Carthage/Build
54 |
55 | # fastlane
56 | #
57 | # It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
58 | # screenshots whenever they are needed.
59 | # For more information about the recommended setup visit:
60 | # https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Gitignore.md
61 |
62 | fastlane/report.xml
63 | fastlane/Preview.html
64 | fastlane/screenshots
65 | fastlane/test_output
66 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2017 Christoffer Winterkvist
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/Podfile:
--------------------------------------------------------------------------------
1 | target 'ToTheTop' do
2 | pod 'Vaccine'
3 | end
4 |
--------------------------------------------------------------------------------
/Podfile.lock:
--------------------------------------------------------------------------------
1 | PODS:
2 | - Vaccine (0.4.2)
3 |
4 | DEPENDENCIES:
5 | - Vaccine
6 |
7 | SPEC REPOS:
8 | https://github.com/cocoapods/specs.git:
9 | - Vaccine
10 |
11 | SPEC CHECKSUMS:
12 | Vaccine: 8dfe4c67cde227e3c3cfb2c29fca31693fb9f9bf
13 |
14 | PODFILE CHECKSUM: ac13d98241668a6b95e84556b0483b64114eb15a
15 |
16 | COCOAPODS: 1.5.3
17 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # ToTheTop
2 |
3 | ToTheTop is a small macOS application that adds the same kind of scroll-to-top behavior
4 | that you know and love from iOS. The application creates a small clickable area in your status bar
5 | located in the top center of your screen covering the status bar. Don't worry, the area is invisible,
6 | just like in iOS. The current width and height is set to 60x22 pixels.
7 |
8 | When that area is clicked, the application will then create a keystroke using `CGEvent`, more specifically
9 | a home key event, that will cause the front most application to scroll to the top.
10 |
11 | It is as easy as that, enjoy!
12 |
--------------------------------------------------------------------------------
/Resources/Assets.xcassets/AppIcon.appiconset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "mac",
5 | "size" : "16x16",
6 | "scale" : "1x"
7 | },
8 | {
9 | "idiom" : "mac",
10 | "size" : "16x16",
11 | "scale" : "2x"
12 | },
13 | {
14 | "idiom" : "mac",
15 | "size" : "32x32",
16 | "scale" : "1x"
17 | },
18 | {
19 | "idiom" : "mac",
20 | "size" : "32x32",
21 | "scale" : "2x"
22 | },
23 | {
24 | "idiom" : "mac",
25 | "size" : "128x128",
26 | "scale" : "1x"
27 | },
28 | {
29 | "idiom" : "mac",
30 | "size" : "128x128",
31 | "scale" : "2x"
32 | },
33 | {
34 | "idiom" : "mac",
35 | "size" : "256x256",
36 | "scale" : "1x"
37 | },
38 | {
39 | "idiom" : "mac",
40 | "size" : "256x256",
41 | "scale" : "2x"
42 | },
43 | {
44 | "idiom" : "mac",
45 | "size" : "512x512",
46 | "scale" : "1x"
47 | },
48 | {
49 | "idiom" : "mac",
50 | "size" : "512x512",
51 | "scale" : "2x"
52 | }
53 | ],
54 | "info" : {
55 | "version" : 1,
56 | "author" : "xcode"
57 | }
58 | }
--------------------------------------------------------------------------------
/Resources/Base.lproj/MainMenu.xib:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
678 |
679 |
680 |
--------------------------------------------------------------------------------
/Resources/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIconFile
10 |
11 | CFBundleIdentifier
12 | $(PRODUCT_BUNDLE_IDENTIFIER)
13 | CFBundleInfoDictionaryVersion
14 | 6.0
15 | CFBundleName
16 | $(PRODUCT_NAME)
17 | CFBundlePackageType
18 | APPL
19 | CFBundleShortVersionString
20 | 1.0
21 | CFBundleVersion
22 | 1
23 | LSMinimumSystemVersion
24 | $(MACOSX_DEPLOYMENT_TARGET)
25 | LSUIElement
26 |
27 | NSHumanReadableCopyright
28 | Copyright © 2017 Christoffer Winterkvist. All rights reserved.
29 | NSMainNibFile
30 | MainMenu
31 | NSPrincipalClass
32 | NSApplication
33 |
34 |
35 |
--------------------------------------------------------------------------------
/Source/AppDelegate.swift:
--------------------------------------------------------------------------------
1 | import Cocoa
2 | import Vaccine
3 |
4 | @NSApplicationMain
5 | class AppDelegate: NSObject, NSApplicationDelegate {
6 | var window: NSWindow?
7 |
8 | func applicationDidFinishLaunching(_ notification: Notification) {
9 | Injection.load(loadApp)
10 | }
11 |
12 | @objc private func loadApp() {
13 | let window = Window()
14 | let point = Screen.topCenterPoint(for: window)
15 |
16 | window.backgroundColor = .clear
17 | window.setFrameOrigin(point)
18 | window.ignoresMouseEvents = true
19 | window.orderFront(nil)
20 |
21 | NSEvent.addGlobalMonitorForEvents(matching: .leftMouseUp) { (event) in
22 | guard window.frame.contains(event.locationInWindow) else {
23 | return
24 | }
25 | Keyboard().sendEvent(key: .homeKey)
26 | }
27 |
28 | self.window = window
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/Source/Keyboard.swift:
--------------------------------------------------------------------------------
1 | import CoreGraphics
2 |
3 | /// http://stackoverflow.com/questions/3202629/where-can-i-find-a-list-of-mac-virtual-key-codes
4 | enum Key: CGKeyCode {
5 | case homeKey = 0x73
6 | }
7 |
8 | class Keyboard {
9 | func sendEvent(key: Key) {
10 | guard let event = CGEvent.init(keyboardEventSource: nil,
11 | virtualKey: .init(key.rawValue),
12 | keyDown: true) else {
13 | return
14 | }
15 | event.post(tap: .cghidEventTap)
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/Source/Screen.swift:
--------------------------------------------------------------------------------
1 | import Cocoa
2 |
3 | struct Screen {
4 |
5 | static var main: NSScreen {
6 | return NSScreen.main()!
7 | }
8 |
9 | static var size: CGSize {
10 | return main.frame.size
11 | }
12 |
13 | static func topCenterPoint(for window: NSWindow) -> CGPoint {
14 | let point = CGPoint(x: size.width / 2 - window.frame.size.width / 2,
15 | y: size.height - window.frame.size.height)
16 |
17 | return point
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/Source/Window.swift:
--------------------------------------------------------------------------------
1 | import Cocoa
2 |
3 | class Window: NSWindow {
4 |
5 | convenience init() {
6 | let rect = NSRect(origin: CGPoint.zero, size: CGSize(width: 60, height: 22))
7 |
8 | self.init(contentRect: rect,
9 | styleMask: .borderless,
10 | backing: .buffered,
11 | defer: false)
12 |
13 | level = Int(CGWindowLevelForKey(CGWindowLevelKey.overlayWindow))
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/ToTheTop.xcodeproj/project.pbxproj:
--------------------------------------------------------------------------------
1 | // !$*UTF8*$!
2 | {
3 | archiveVersion = 1;
4 | classes = {
5 | };
6 | objectVersion = 46;
7 | objects = {
8 |
9 | /* Begin PBXBuildFile section */
10 | BD1BBD021E706D2200015C3B /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = BD1BBD011E706D2200015C3B /* AppDelegate.swift */; };
11 | BD1BBD041E706D2200015C3B /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = BD1BBD031E706D2200015C3B /* Assets.xcassets */; };
12 | BD1BBD071E706D2200015C3B /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = BD1BBD051E706D2200015C3B /* MainMenu.xib */; };
13 | BD31C718210F90C200284ACF /* Podfile in Resources */ = {isa = PBXBuildFile; fileRef = BD31C717210F90C200284ACF /* Podfile */; };
14 | BDFD53201E709F4400BAF534 /* Window.swift in Sources */ = {isa = PBXBuildFile; fileRef = BDFD531F1E709F4400BAF534 /* Window.swift */; };
15 | BDFD53221E70A02F00BAF534 /* Screen.swift in Sources */ = {isa = PBXBuildFile; fileRef = BDFD53211E70A02F00BAF534 /* Screen.swift */; };
16 | BDFD53241E70AEBB00BAF534 /* Keyboard.swift in Sources */ = {isa = PBXBuildFile; fileRef = BDFD53231E70AEBB00BAF534 /* Keyboard.swift */; };
17 | ED52238214B0BC0D1CD9415A /* libPods-ToTheTop.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3932EF4DC0E5077CE1DE07E5 /* libPods-ToTheTop.a */; };
18 | /* End PBXBuildFile section */
19 |
20 | /* Begin PBXFileReference section */
21 | 255D739F70902AC6440B1F17 /* Pods-ToTheTop.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ToTheTop.release.xcconfig"; path = "Pods/Target Support Files/Pods-ToTheTop/Pods-ToTheTop.release.xcconfig"; sourceTree = ""; };
22 | 3932EF4DC0E5077CE1DE07E5 /* libPods-ToTheTop.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-ToTheTop.a"; sourceTree = BUILT_PRODUCTS_DIR; };
23 | BD1BBCFE1E706D2200015C3B /* ToTheTop.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = ToTheTop.app; sourceTree = BUILT_PRODUCTS_DIR; };
24 | BD1BBD011E706D2200015C3B /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; };
25 | BD1BBD031E706D2200015C3B /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; };
26 | BD1BBD061E706D2200015C3B /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/MainMenu.xib; sourceTree = ""; };
27 | BD1BBD081E706D2200015C3B /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
28 | BD31C717210F90C200284ACF /* Podfile */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = Podfile; sourceTree = SOURCE_ROOT; };
29 | BDFD531F1E709F4400BAF534 /* Window.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Window.swift; sourceTree = ""; };
30 | BDFD53211E70A02F00BAF534 /* Screen.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Screen.swift; sourceTree = ""; };
31 | BDFD53231E70AEBB00BAF534 /* Keyboard.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Keyboard.swift; sourceTree = ""; };
32 | D5F93D56DCB7DB8B0DE01FE2 /* Pods-ToTheTop.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ToTheTop.debug.xcconfig"; path = "Pods/Target Support Files/Pods-ToTheTop/Pods-ToTheTop.debug.xcconfig"; sourceTree = ""; };
33 | /* End PBXFileReference section */
34 |
35 | /* Begin PBXFrameworksBuildPhase section */
36 | BD1BBCFB1E706D2200015C3B /* Frameworks */ = {
37 | isa = PBXFrameworksBuildPhase;
38 | buildActionMask = 2147483647;
39 | files = (
40 | ED52238214B0BC0D1CD9415A /* libPods-ToTheTop.a in Frameworks */,
41 | );
42 | runOnlyForDeploymentPostprocessing = 0;
43 | };
44 | /* End PBXFrameworksBuildPhase section */
45 |
46 | /* Begin PBXGroup section */
47 | BD1BBCF51E706D2200015C3B = {
48 | isa = PBXGroup;
49 | children = (
50 | C18D13BA9724787C8FED3A34 /* Frameworks */,
51 | BD31C717210F90C200284ACF /* Podfile */,
52 | CCAD9756149266E6E6CBAB62 /* Pods */,
53 | BD1BBCFF1E706D2200015C3B /* Products */,
54 | BD31C719210F918400284ACF /* Resources */,
55 | BD1BBD001E706D2200015C3B /* Source */,
56 | );
57 | sourceTree = "";
58 | };
59 | BD1BBCFF1E706D2200015C3B /* Products */ = {
60 | isa = PBXGroup;
61 | children = (
62 | BD1BBCFE1E706D2200015C3B /* ToTheTop.app */,
63 | );
64 | name = Products;
65 | sourceTree = "";
66 | };
67 | BD1BBD001E706D2200015C3B /* Source */ = {
68 | isa = PBXGroup;
69 | children = (
70 | BD1BBD011E706D2200015C3B /* AppDelegate.swift */,
71 | BDFD531F1E709F4400BAF534 /* Window.swift */,
72 | BDFD53211E70A02F00BAF534 /* Screen.swift */,
73 | BDFD53231E70AEBB00BAF534 /* Keyboard.swift */,
74 | );
75 | path = Source;
76 | sourceTree = "";
77 | };
78 | BD31C719210F918400284ACF /* Resources */ = {
79 | isa = PBXGroup;
80 | children = (
81 | BD1BBD031E706D2200015C3B /* Assets.xcassets */,
82 | BD1BBD051E706D2200015C3B /* MainMenu.xib */,
83 | BD1BBD081E706D2200015C3B /* Info.plist */,
84 | );
85 | path = Resources;
86 | sourceTree = "";
87 | };
88 | C18D13BA9724787C8FED3A34 /* Frameworks */ = {
89 | isa = PBXGroup;
90 | children = (
91 | 3932EF4DC0E5077CE1DE07E5 /* libPods-ToTheTop.a */,
92 | );
93 | name = Frameworks;
94 | sourceTree = "";
95 | };
96 | CCAD9756149266E6E6CBAB62 /* Pods */ = {
97 | isa = PBXGroup;
98 | children = (
99 | D5F93D56DCB7DB8B0DE01FE2 /* Pods-ToTheTop.debug.xcconfig */,
100 | 255D739F70902AC6440B1F17 /* Pods-ToTheTop.release.xcconfig */,
101 | );
102 | name = Pods;
103 | sourceTree = "";
104 | };
105 | /* End PBXGroup section */
106 |
107 | /* Begin PBXNativeTarget section */
108 | BD1BBCFD1E706D2200015C3B /* ToTheTop */ = {
109 | isa = PBXNativeTarget;
110 | buildConfigurationList = BD1BBD0B1E706D2200015C3B /* Build configuration list for PBXNativeTarget "ToTheTop" */;
111 | buildPhases = (
112 | 6D0046AC2D799C4EB7856972 /* [CP] Check Pods Manifest.lock */,
113 | BD1BBCFA1E706D2200015C3B /* Sources */,
114 | BD1BBCFB1E706D2200015C3B /* Frameworks */,
115 | BD1BBCFC1E706D2200015C3B /* Resources */,
116 | );
117 | buildRules = (
118 | );
119 | dependencies = (
120 | );
121 | name = ToTheTop;
122 | productName = ToTheTop;
123 | productReference = BD1BBCFE1E706D2200015C3B /* ToTheTop.app */;
124 | productType = "com.apple.product-type.application";
125 | };
126 | /* End PBXNativeTarget section */
127 |
128 | /* Begin PBXProject section */
129 | BD1BBCF61E706D2200015C3B /* Project object */ = {
130 | isa = PBXProject;
131 | attributes = {
132 | LastSwiftUpdateCheck = 0820;
133 | LastUpgradeCheck = 1000;
134 | ORGANIZATIONNAME = "Christoffer Winterkvist";
135 | TargetAttributes = {
136 | BD1BBCFD1E706D2200015C3B = {
137 | CreatedOnToolsVersion = 8.2.1;
138 | DevelopmentTeam = E23HUP39A3;
139 | ProvisioningStyle = Automatic;
140 | SystemCapabilities = {
141 | com.apple.Sandbox = {
142 | enabled = 0;
143 | };
144 | };
145 | };
146 | };
147 | };
148 | buildConfigurationList = BD1BBCF91E706D2200015C3B /* Build configuration list for PBXProject "ToTheTop" */;
149 | compatibilityVersion = "Xcode 3.2";
150 | developmentRegion = English;
151 | hasScannedForEncodings = 0;
152 | knownRegions = (
153 | en,
154 | Base,
155 | );
156 | mainGroup = BD1BBCF51E706D2200015C3B;
157 | productRefGroup = BD1BBCFF1E706D2200015C3B /* Products */;
158 | projectDirPath = "";
159 | projectRoot = "";
160 | targets = (
161 | BD1BBCFD1E706D2200015C3B /* ToTheTop */,
162 | );
163 | };
164 | /* End PBXProject section */
165 |
166 | /* Begin PBXResourcesBuildPhase section */
167 | BD1BBCFC1E706D2200015C3B /* Resources */ = {
168 | isa = PBXResourcesBuildPhase;
169 | buildActionMask = 2147483647;
170 | files = (
171 | BD31C718210F90C200284ACF /* Podfile in Resources */,
172 | BD1BBD041E706D2200015C3B /* Assets.xcassets in Resources */,
173 | BD1BBD071E706D2200015C3B /* MainMenu.xib in Resources */,
174 | );
175 | runOnlyForDeploymentPostprocessing = 0;
176 | };
177 | /* End PBXResourcesBuildPhase section */
178 |
179 | /* Begin PBXShellScriptBuildPhase section */
180 | 6D0046AC2D799C4EB7856972 /* [CP] Check Pods Manifest.lock */ = {
181 | isa = PBXShellScriptBuildPhase;
182 | buildActionMask = 2147483647;
183 | files = (
184 | );
185 | inputPaths = (
186 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock",
187 | "${PODS_ROOT}/Manifest.lock",
188 | );
189 | name = "[CP] Check Pods Manifest.lock";
190 | outputPaths = (
191 | "$(DERIVED_FILE_DIR)/Pods-ToTheTop-checkManifestLockResult.txt",
192 | );
193 | runOnlyForDeploymentPostprocessing = 0;
194 | shellPath = /bin/sh;
195 | shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
196 | showEnvVarsInLog = 0;
197 | };
198 | /* End PBXShellScriptBuildPhase section */
199 |
200 | /* Begin PBXSourcesBuildPhase section */
201 | BD1BBCFA1E706D2200015C3B /* Sources */ = {
202 | isa = PBXSourcesBuildPhase;
203 | buildActionMask = 2147483647;
204 | files = (
205 | BD1BBD021E706D2200015C3B /* AppDelegate.swift in Sources */,
206 | BDFD53241E70AEBB00BAF534 /* Keyboard.swift in Sources */,
207 | BDFD53201E709F4400BAF534 /* Window.swift in Sources */,
208 | BDFD53221E70A02F00BAF534 /* Screen.swift in Sources */,
209 | );
210 | runOnlyForDeploymentPostprocessing = 0;
211 | };
212 | /* End PBXSourcesBuildPhase section */
213 |
214 | /* Begin PBXVariantGroup section */
215 | BD1BBD051E706D2200015C3B /* MainMenu.xib */ = {
216 | isa = PBXVariantGroup;
217 | children = (
218 | BD1BBD061E706D2200015C3B /* Base */,
219 | );
220 | name = MainMenu.xib;
221 | sourceTree = "";
222 | };
223 | /* End PBXVariantGroup section */
224 |
225 | /* Begin XCBuildConfiguration section */
226 | BD1BBD091E706D2200015C3B /* Debug */ = {
227 | isa = XCBuildConfiguration;
228 | buildSettings = {
229 | ALWAYS_SEARCH_USER_PATHS = NO;
230 | CLANG_ANALYZER_NONNULL = YES;
231 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
232 | CLANG_CXX_LIBRARY = "libc++";
233 | CLANG_ENABLE_MODULES = YES;
234 | CLANG_ENABLE_OBJC_ARC = YES;
235 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
236 | CLANG_WARN_BOOL_CONVERSION = YES;
237 | CLANG_WARN_COMMA = YES;
238 | CLANG_WARN_CONSTANT_CONVERSION = YES;
239 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
240 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
241 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
242 | CLANG_WARN_EMPTY_BODY = YES;
243 | CLANG_WARN_ENUM_CONVERSION = YES;
244 | CLANG_WARN_INFINITE_RECURSION = YES;
245 | CLANG_WARN_INT_CONVERSION = YES;
246 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
247 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
248 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
249 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
250 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
251 | CLANG_WARN_STRICT_PROTOTYPES = YES;
252 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
253 | CLANG_WARN_UNREACHABLE_CODE = YES;
254 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
255 | CODE_SIGN_IDENTITY = "-";
256 | COPY_PHASE_STRIP = NO;
257 | DEBUG_INFORMATION_FORMAT = dwarf;
258 | ENABLE_STRICT_OBJC_MSGSEND = YES;
259 | ENABLE_TESTABILITY = YES;
260 | GCC_C_LANGUAGE_STANDARD = gnu99;
261 | GCC_DYNAMIC_NO_PIC = NO;
262 | GCC_NO_COMMON_BLOCKS = YES;
263 | GCC_OPTIMIZATION_LEVEL = 0;
264 | GCC_PREPROCESSOR_DEFINITIONS = (
265 | "DEBUG=1",
266 | "$(inherited)",
267 | );
268 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
269 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
270 | GCC_WARN_UNDECLARED_SELECTOR = YES;
271 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
272 | GCC_WARN_UNUSED_FUNCTION = YES;
273 | GCC_WARN_UNUSED_VARIABLE = YES;
274 | MACOSX_DEPLOYMENT_TARGET = 10.12;
275 | MTL_ENABLE_DEBUG_INFO = YES;
276 | ONLY_ACTIVE_ARCH = YES;
277 | SDKROOT = macosx;
278 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
279 | SWIFT_OPTIMIZATION_LEVEL = "-Onone";
280 | };
281 | name = Debug;
282 | };
283 | BD1BBD0A1E706D2200015C3B /* Release */ = {
284 | isa = XCBuildConfiguration;
285 | buildSettings = {
286 | ALWAYS_SEARCH_USER_PATHS = NO;
287 | CLANG_ANALYZER_NONNULL = YES;
288 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
289 | CLANG_CXX_LIBRARY = "libc++";
290 | CLANG_ENABLE_MODULES = YES;
291 | CLANG_ENABLE_OBJC_ARC = YES;
292 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
293 | CLANG_WARN_BOOL_CONVERSION = YES;
294 | CLANG_WARN_COMMA = YES;
295 | CLANG_WARN_CONSTANT_CONVERSION = YES;
296 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
297 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
298 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
299 | CLANG_WARN_EMPTY_BODY = YES;
300 | CLANG_WARN_ENUM_CONVERSION = YES;
301 | CLANG_WARN_INFINITE_RECURSION = YES;
302 | CLANG_WARN_INT_CONVERSION = YES;
303 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
304 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
305 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
306 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
307 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
308 | CLANG_WARN_STRICT_PROTOTYPES = YES;
309 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
310 | CLANG_WARN_UNREACHABLE_CODE = YES;
311 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
312 | CODE_SIGN_IDENTITY = "-";
313 | COPY_PHASE_STRIP = NO;
314 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
315 | ENABLE_NS_ASSERTIONS = NO;
316 | ENABLE_STRICT_OBJC_MSGSEND = YES;
317 | GCC_C_LANGUAGE_STANDARD = gnu99;
318 | GCC_NO_COMMON_BLOCKS = YES;
319 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
320 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
321 | GCC_WARN_UNDECLARED_SELECTOR = YES;
322 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
323 | GCC_WARN_UNUSED_FUNCTION = YES;
324 | GCC_WARN_UNUSED_VARIABLE = YES;
325 | MACOSX_DEPLOYMENT_TARGET = 10.12;
326 | MTL_ENABLE_DEBUG_INFO = NO;
327 | SDKROOT = macosx;
328 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
329 | };
330 | name = Release;
331 | };
332 | BD1BBD0C1E706D2200015C3B /* Debug */ = {
333 | isa = XCBuildConfiguration;
334 | baseConfigurationReference = D5F93D56DCB7DB8B0DE01FE2 /* Pods-ToTheTop.debug.xcconfig */;
335 | buildSettings = {
336 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
337 | COMBINE_HIDPI_IMAGES = YES;
338 | DEVELOPMENT_TEAM = E23HUP39A3;
339 | INFOPLIST_FILE = "$(SRCROOT)/Resources/Info.plist";
340 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks";
341 | PRODUCT_BUNDLE_IDENTIFIER = com.zenangst.ToTheTop;
342 | PRODUCT_NAME = "$(TARGET_NAME)";
343 | SWIFT_VERSION = 3.0;
344 | };
345 | name = Debug;
346 | };
347 | BD1BBD0D1E706D2200015C3B /* Release */ = {
348 | isa = XCBuildConfiguration;
349 | baseConfigurationReference = 255D739F70902AC6440B1F17 /* Pods-ToTheTop.release.xcconfig */;
350 | buildSettings = {
351 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
352 | COMBINE_HIDPI_IMAGES = YES;
353 | DEVELOPMENT_TEAM = E23HUP39A3;
354 | INFOPLIST_FILE = "$(SRCROOT)/Resources/Info.plist";
355 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks";
356 | PRODUCT_BUNDLE_IDENTIFIER = com.zenangst.ToTheTop;
357 | PRODUCT_NAME = "$(TARGET_NAME)";
358 | SWIFT_VERSION = 3.0;
359 | };
360 | name = Release;
361 | };
362 | /* End XCBuildConfiguration section */
363 |
364 | /* Begin XCConfigurationList section */
365 | BD1BBCF91E706D2200015C3B /* Build configuration list for PBXProject "ToTheTop" */ = {
366 | isa = XCConfigurationList;
367 | buildConfigurations = (
368 | BD1BBD091E706D2200015C3B /* Debug */,
369 | BD1BBD0A1E706D2200015C3B /* Release */,
370 | );
371 | defaultConfigurationIsVisible = 0;
372 | defaultConfigurationName = Release;
373 | };
374 | BD1BBD0B1E706D2200015C3B /* Build configuration list for PBXNativeTarget "ToTheTop" */ = {
375 | isa = XCConfigurationList;
376 | buildConfigurations = (
377 | BD1BBD0C1E706D2200015C3B /* Debug */,
378 | BD1BBD0D1E706D2200015C3B /* Release */,
379 | );
380 | defaultConfigurationIsVisible = 0;
381 | defaultConfigurationName = Release;
382 | };
383 | /* End XCConfigurationList section */
384 | };
385 | rootObject = BD1BBCF61E706D2200015C3B /* Project object */;
386 | }
387 |
--------------------------------------------------------------------------------
/ToTheTop.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ToTheTop.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/ToTheTop.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEDidComputeMac32BitWarning
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------