Skip to content

Commit f3ea7d1

Browse files
committed
Renamed app
1 parent 6abd3f4 commit f3ea7d1

File tree

5 files changed

+20
-19
lines changed

5 files changed

+20
-19
lines changed

Jot.xcodeproj/project.pbxproj

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
41C60BDC24264C3900DA27CF /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 41C60BDB24264C3900DA27CF /* AppDelegate.swift */; };
1111
41C60BE024264C3A00DA27CF /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 41C60BDF24264C3A00DA27CF /* Assets.xcassets */; };
1212
41C60BE324264C3A00DA27CF /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 41C60BE124264C3A00DA27CF /* Main.storyboard */; };
13-
41C60BEC24264E8000DA27CF /* SnipViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 41C60BEB24264E8000DA27CF /* SnipViewController.swift */; };
13+
41C60BEC24264E8000DA27CF /* JotViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 41C60BEB24264E8000DA27CF /* JotViewController.swift */; };
1414
/* End PBXBuildFile section */
1515

1616
/* Begin PBXFileReference section */
@@ -20,7 +20,7 @@
2020
41C60BE224264C3A00DA27CF /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
2121
41C60BE424264C3A00DA27CF /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
2222
41C60BE524264C3A00DA27CF /* Snip.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = Snip.entitlements; sourceTree = "<group>"; };
23-
41C60BEB24264E8000DA27CF /* SnipViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SnipViewController.swift; sourceTree = "<group>"; };
23+
41C60BEB24264E8000DA27CF /* JotViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = JotViewController.swift; sourceTree = "<group>"; };
2424
/* End PBXFileReference section */
2525

2626
/* Begin PBXFrameworksBuildPhase section */
@@ -54,7 +54,7 @@
5454
isa = PBXGroup;
5555
children = (
5656
41C60BDB24264C3900DA27CF /* AppDelegate.swift */,
57-
41C60BEB24264E8000DA27CF /* SnipViewController.swift */,
57+
41C60BEB24264E8000DA27CF /* JotViewController.swift */,
5858
41C60BDF24264C3A00DA27CF /* Assets.xcassets */,
5959
41C60BE124264C3A00DA27CF /* Main.storyboard */,
6060
41C60BE424264C3A00DA27CF /* Info.plist */,
@@ -133,7 +133,7 @@
133133
isa = PBXSourcesBuildPhase;
134134
buildActionMask = 2147483647;
135135
files = (
136-
41C60BEC24264E8000DA27CF /* SnipViewController.swift in Sources */,
136+
41C60BEC24264E8000DA27CF /* JotViewController.swift in Sources */,
137137
41C60BDC24264C3900DA27CF /* AppDelegate.swift in Sources */,
138138
);
139139
runOnlyForDeploymentPostprocessing = 0;
@@ -269,7 +269,7 @@
269269
isa = XCBuildConfiguration;
270270
buildSettings = {
271271
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
272-
CODE_SIGN_ENTITLEMENTS = Snip/Snip.entitlements;
272+
CODE_SIGN_ENTITLEMENTS = Jot/Jot.entitlements;
273273
CODE_SIGN_IDENTITY = "-";
274274
CODE_SIGN_STYLE = Automatic;
275275
COMBINE_HIDPI_IMAGES = YES;
@@ -290,7 +290,7 @@
290290
isa = XCBuildConfiguration;
291291
buildSettings = {
292292
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
293-
CODE_SIGN_ENTITLEMENTS = Snip/Snip.entitlements;
293+
CODE_SIGN_ENTITLEMENTS = Jot/Jot.entitlements;
294294
CODE_SIGN_IDENTITY = "-";
295295
CODE_SIGN_STYLE = Automatic;
296296
COMBINE_HIDPI_IMAGES = YES;

Jot/AppDelegate.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class AppDelegate: NSObject, NSApplicationDelegate {
1818
button.image = NSImage(named:NSImage.Name("StatusBarButtonImage"))
1919
button.action = #selector(togglePopover(_:))
2020
}
21-
popover.contentViewController = SnipViewController.freshController()
21+
popover.contentViewController = JotViewController.freshController()
2222
}
2323

2424
func applicationWillTerminate(_ aNotification: Notification) {

Jot/Base.lproj/Main.storyboard

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<document type="com.apple.InterfaceBuilder3.Cocoa.Storyboard.XIB" version="3.0" toolsVersion="15505" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
33
<dependencies>
4+
<deployment identifier="macosx"/>
45
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="15505"/>
56
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
67
</dependencies>
@@ -674,16 +675,16 @@
674675
<outlet property="delegate" destination="Voe-Tx-rLC" id="PrD-fu-P6m"/>
675676
</connections>
676677
</application>
677-
<customObject id="Voe-Tx-rLC" customClass="AppDelegate" customModule="Snip" customModuleProvider="target"/>
678+
<customObject id="Voe-Tx-rLC" customClass="AppDelegate" customModule="Jot" customModuleProvider="target"/>
678679
<customObject id="YLy-65-1bz" customClass="NSFontManager"/>
679680
<customObject id="Ady-hI-5gd" userLabel="First Responder" customClass="NSResponder" sceneMemberID="firstResponder"/>
680681
</objects>
681682
<point key="canvasLocation" x="75" y="0.0"/>
682683
</scene>
683-
<!--Snip View Controller-->
684+
<!--Jot View Controller-->
684685
<scene sceneID="hIz-AP-VOD">
685686
<objects>
686-
<viewController storyboardIdentifier="SnipViewController" id="XfG-lQ-9wD" customClass="SnipViewController" customModule="Snip" customModuleProvider="target" sceneMemberID="viewController">
687+
<viewController storyboardIdentifier="JotViewController" id="XfG-lQ-9wD" customClass="JotViewController" customModule="Jot" customModuleProvider="target" sceneMemberID="viewController">
687688
<view key="view" id="m2S-Jp-Qdl">
688689
<rect key="frame" x="0.0" y="0.0" width="480" height="270"/>
689690
<autoresizingMask key="autoresizingMask"/>
@@ -693,7 +694,7 @@
693694
<autoresizingMask key="autoresizingMask"/>
694695
<clipView key="contentView" ambiguous="YES" copiesOnScroll="NO" id="LCJ-Be-alH">
695696
<rect key="frame" x="0.0" y="0.0" width="425" height="230"/>
696-
<autoresizingMask key="autoresizingMask"/>
697+
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
697698
<subviews>
698699
<textView ambiguous="YES" importsGraphics="NO" richText="NO" verticallyResizable="YES" allowsUndo="YES" smartInsertDelete="YES" id="0nP-is-EDK">
699700
<rect key="frame" x="0.0" y="0.0" width="425" height="230"/>
File renamed without changes.

Jot/SnipViewController.swift renamed to Jot/JotViewController.swift

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
//
2-
// SnipViewController.swift
3-
// Snip
2+
// JotViewController.swift
3+
// Jot
44
//
55
// Created by Rainer Selvet on 21/03/2020.
66
//
77

88
import Cocoa
99

10-
class SnipViewController: NSViewController, NSTextViewDelegate {
10+
class JotViewController: NSViewController, NSTextViewDelegate {
1111

1212
@IBOutlet var textBox: NSTextView!
1313

@@ -38,12 +38,12 @@ class SnipViewController: NSViewController, NSTextViewDelegate {
3838

3939
}
4040

41-
extension SnipViewController {
42-
static func freshController() -> SnipViewController {
41+
extension JotViewController {
42+
static func freshController() -> JotViewController {
4343
let storyboard = NSStoryboard(name: NSStoryboard.Name("Main"), bundle: nil)
44-
let identifier = NSStoryboard.SceneIdentifier("SnipViewController")
45-
guard let viewcontroller = storyboard.instantiateController(withIdentifier: identifier) as? SnipViewController else {
46-
fatalError("Cannot find SnipViewController? - Check Main.storyboard")
44+
let identifier = NSStoryboard.SceneIdentifier("JotViewController")
45+
guard let viewcontroller = storyboard.instantiateController(withIdentifier: identifier) as? JotViewController else {
46+
fatalError("Cannot find JotViewController? - Check Main.storyboard")
4747
}
4848
return viewcontroller
4949
}

0 commit comments

Comments
 (0)