Skip to content

Commit 1163343

Browse files
committed
Small changes
1 parent 905be29 commit 1163343

Some content is hidden

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

60 files changed

+557
-59
lines changed

CrypTools.xcodeproj/project.pbxproj

+4
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
DD1877AB207F3A1A00BBCA82 /* ROT13.swift in Sources */ = {isa = PBXBuildFile; fileRef = DD1877AA207F3A1900BBCA82 /* ROT13.swift */; };
1212
DD3E5BC6207E5DC20059356E /* XOR.swift in Sources */ = {isa = PBXBuildFile; fileRef = DD3E5BC5207E5DC20059356E /* XOR.swift */; };
1313
DD528B99207BA17500BA945D /* b64.swift in Sources */ = {isa = PBXBuildFile; fileRef = DD528B98207BA17500BA945D /* b64.swift */; };
14+
DD59B379207F864800BA3C99 /* Window.swift in Sources */ = {isa = PBXBuildFile; fileRef = DD59B378207F864800BA3C99 /* Window.swift */; };
1415
DDCC00EE207CD5FE00BEFDAA /* expectedExt.swift in Sources */ = {isa = PBXBuildFile; fileRef = DDCC00ED207CD5FE00BEFDAA /* expectedExt.swift */; };
1516
DDCC00F1207CDB6900BEFDAA /* TextView.swift in Sources */ = {isa = PBXBuildFile; fileRef = DDCC00F0207CDB6900BEFDAA /* TextView.swift */; };
1617
DDCC00F3207CE13200BEFDAA /* caesar.swift in Sources */ = {isa = PBXBuildFile; fileRef = DDCC00F2207CE13200BEFDAA /* caesar.swift */; };
@@ -36,6 +37,7 @@
3637
DD1877AA207F3A1900BBCA82 /* ROT13.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ROT13.swift; sourceTree = "<group>"; };
3738
DD3E5BC5207E5DC20059356E /* XOR.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = XOR.swift; sourceTree = "<group>"; };
3839
DD528B98207BA17500BA945D /* b64.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = b64.swift; sourceTree = "<group>"; };
40+
DD59B378207F864800BA3C99 /* Window.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Window.swift; sourceTree = "<group>"; };
3941
DDCC00ED207CD5FE00BEFDAA /* expectedExt.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = expectedExt.swift; sourceTree = "<group>"; };
4042
DDCC00F0207CDB6900BEFDAA /* TextView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TextView.swift; sourceTree = "<group>"; };
4143
DDCC00F2207CE13200BEFDAA /* caesar.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = caesar.swift; sourceTree = "<group>"; };
@@ -105,6 +107,7 @@
105107
DDF07868207B612D00B9EBF6 /* TouchBar Controller.swift */,
106108
DDCC00ED207CD5FE00BEFDAA /* expectedExt.swift */,
107109
DDF3682E207E638500ACCD06 /* CrypTools-Bridging-Header.h */,
110+
DD59B378207F864800BA3C99 /* Window.swift */,
108111
);
109112
path = CrypTools;
110113
sourceTree = "<group>";
@@ -251,6 +254,7 @@
251254
files = (
252255
DD1877A7207F292300BBCA82 /* Rail.swift in Sources */,
253256
DD3E5BC6207E5DC20059356E /* XOR.swift in Sources */,
257+
DD59B379207F864800BA3C99 /* Window.swift in Sources */,
254258
DDCC00F5207CE28000BEFDAA /* Emoji.swift in Sources */,
255259
DD1877AB207F3A1A00BBCA82 /* ROT13.swift in Sources */,
256260
DD528B99207BA17500BA945D /* b64.swift in Sources */,

CrypTools/Base.lproj/Main.storyboard

+4-4
Original file line numberDiff line numberDiff line change
@@ -779,12 +779,12 @@
779779
<!--Tab View controller-->
780780
<scene sceneID="xbn-4x-WrP">
781781
<objects>
782-
<tabViewController selectedTabViewItemIndex="1" canPropagateSelectedChildViewControllerTitle="NO" id="074-Px-X0u" customClass="TabView_controller" customModule="CrypTools" customModuleProvider="target" sceneMemberID="viewController">
782+
<tabViewController selectedTabViewItemIndex="0" canPropagateSelectedChildViewControllerTitle="NO" id="074-Px-X0u" customClass="TabView_controller" customModule="CrypTools" customModuleProvider="target" sceneMemberID="viewController">
783783
<tabViewItems>
784784
<tabViewItem identifier="" id="EKp-Xt-YZ0"/>
785785
<tabViewItem identifier="" id="ViL-HF-OmD"/>
786786
</tabViewItems>
787-
<viewControllerTransitionOptions key="transitionOptions" slideLeft="YES" slideForward="YES" allowUserInteraction="YES"/>
787+
<viewControllerTransitionOptions key="transitionOptions" allowUserInteraction="YES"/>
788788
<tabView key="tabView" type="noTabsNoBorder" id="dZ6-Lz-yCL">
789789
<rect key="frame" x="0.0" y="-1" width="450" height="301"/>
790790
<autoresizingMask key="autoresizingMask"/>
@@ -1017,7 +1017,7 @@
10171017
<autoresizingMask key="autoresizingMask"/>
10181018
</scroller>
10191019
<scroller key="verticalScroller" hidden="YES" verticalHuggingPriority="750" doubleValue="1" horizontal="NO" id="TYJ-Of-pKQ">
1020-
<rect key="frame" x="347" y="0.0" width="15" height="108"/>
1020+
<rect key="frame" x="347" y="0.0" width="15" height="40"/>
10211021
<autoresizingMask key="autoresizingMask"/>
10221022
</scroller>
10231023
</scrollView>
@@ -1049,7 +1049,7 @@
10491049
</viewController>
10501050
<customObject id="e1W-Iq-IEb" userLabel="First Responder" customClass="NSResponder" sceneMemberID="firstResponder"/>
10511051
</objects>
1052-
<point key="canvasLocation" x="1159" y="884"/>
1052+
<point key="canvasLocation" x="1159" y="987"/>
10531053
</scene>
10541054
</scenes>
10551055
</document>

CrypTools/Info.plist

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<key>CFBundleShortVersionString</key>
2020
<string>0.0.1</string>
2121
<key>CFBundleVersion</key>
22-
<string>21</string>
22+
<string>30</string>
2323
<key>LSApplicationCategoryType</key>
2424
<string>public.app-category.developer-tools</string>
2525
<key>LSMinimumSystemVersion</key>

CrypTools/Window.swift

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
//
2+
// Window.swift
3+
// CrypTools
4+
//
5+
// Created by Arthur Guiot on 12/04/2018.
6+
// Copyright © 2018 Arthur Guiot. All rights reserved.
7+
//
8+
9+
import Cocoa
10+
11+
class Window: NSWindow {
12+
override init(contentRect: NSRect, styleMask style: NSWindow.StyleMask, backing backingStoreType: NSWindow.BackingStoreType, defer flag: Bool) {
13+
super.init(contentRect: contentRect, styleMask: style, backing: backingStoreType, defer: flag)
14+
self.backgroundColor = NSColor.hexColor(rgbValue: 0x292929);
15+
}
16+
}

0 commit comments

Comments
 (0)