Skip to content

Commit

Permalink
Update demo apps
Browse files Browse the repository at this point in the history
  • Loading branch information
krzyzanowskim committed Aug 22, 2024
1 parent dbca58d commit 033da79
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 19 deletions.
14 changes: 7 additions & 7 deletions TextEdit/Mac/en.lproj/Main.storyboard
Original file line number Diff line number Diff line change
Expand Up @@ -686,26 +686,26 @@
<scene sceneID="R2V-B0-nI4">
<objects>
<windowController showSeguePresentationStyle="single" id="B8D-0N-5wS" sceneMemberID="viewController">
<window key="window" title="Text Editor" subtitle="Demo" separatorStyle="shadow" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" restorable="NO" visibleAtLaunch="NO" animationBehavior="default" tabbingMode="disallowed" toolbarStyle="compact" id="IQv-IB-iLA">
<window key="window" title="Notepad.exe" subtitle="Rich Text" separatorStyle="shadow" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" releasedWhenClosed="NO" visibleAtLaunch="NO" animationBehavior="default" tabbingMode="disallowed" id="IQv-IB-iLA">
<windowStyleMask key="styleMask" titled="YES" closable="YES" miniaturizable="YES" resizable="YES"/>
<windowCollectionBehavior key="collectionBehavior" fullScreenNone="YES"/>
<rect key="contentRect" x="420" y="310" width="500" height="400"/>
<rect key="screenRect" x="0.0" y="0.0" width="1680" height="1027"/>
<value key="minSize" type="size" width="300" height="100"/>
<toolbar key="toolbar" implicitIdentifier="89706A1F-B72A-4D45-A19B-48D631BA931E" autosavesConfiguration="NO" allowsUserCustomization="NO" displayMode="iconAndLabel" sizeMode="regular" id="9Cr-vI-QW0">
<allowedToolbarItems>
<toolbarItem implicitItemIdentifier="DE34C9A7-73A8-4FB0-804F-36AE4CFD0527" label="Text Wrapping" paletteLabel="Text Wrapping" tag="-1" bordered="YES" sizingBehavior="auto" autovalidates="NO" id="JV6-de-LTW">
<imageReference key="image" image="text.justify" catalog="system" symbolScale="large"/>
<toolbarItem implicitItemIdentifier="DE34C9A7-73A8-4FB0-804F-36AE4CFD0527" label="Wrap" paletteLabel="Text Wrapping" tag="-1" bordered="YES" sizingBehavior="auto" autovalidates="NO" id="JV6-de-LTW">
<imageReference key="image" image="text.justify.leading" catalog="system" symbolScale="large"/>
<connections>
<action selector="toggleTextWrapMode:" target="Oky-zY-oP4" id="0jK-vv-upN"/>
</connections>
</toolbarItem>
<toolbarItem implicitItemIdentifier="69692D5E-37C8-42F9-B8FE-8F5988211D84" label="Invisibles" paletteLabel="Invisibles" tag="-1" image="eye.slash" catalog="system" bordered="YES" sizingBehavior="auto" autovalidates="NO" id="1Pv-jL-YKX">
<toolbarItem implicitItemIdentifier="69692D5E-37C8-42F9-B8FE-8F5988211D84" label="Invisibles" paletteLabel="Invisible Characters" tag="-1" image="dot.viewfinder" catalog="system" bordered="YES" sizingBehavior="auto" autovalidates="NO" id="1Pv-jL-YKX">
<connections>
<action selector="toggleInvisibles:" target="Oky-zY-oP4" id="EgE-A0-grP"/>
</connections>
</toolbarItem>
<toolbarItem implicitItemIdentifier="324DCBA6-A541-4243-A2A4-FD4D326D1362" label="Line numbers" paletteLabel="Line numbers" tag="-1" image="list.number" catalog="system" bordered="YES" sizingBehavior="auto" autovalidates="NO" id="hFT-ea-5XE">
<toolbarItem implicitItemIdentifier="324DCBA6-A541-4243-A2A4-FD4D326D1362" label="Gutter" paletteLabel="Line numbers" tag="-1" image="list.number" catalog="system" bordered="YES" sizingBehavior="auto" autovalidates="NO" id="hFT-ea-5XE">
<connections>
<action selector="toggleRuler:" target="Oky-zY-oP4" id="97l-Cs-WDw"/>
</connections>
Expand Down Expand Up @@ -747,8 +747,8 @@
</scene>
</scenes>
<resources>
<image name="eye.slash" catalog="system" width="21" height="16"/>
<image name="dot.viewfinder" catalog="system" width="16" height="15"/>
<image name="list.number" catalog="system" width="16" height="13"/>
<image name="text.justify" catalog="system" width="21" height="17"/>
<image name="text.justify.leading" catalog="system" width="21" height="17"/>
</resources>
</document>
2 changes: 1 addition & 1 deletion TextEdit/iOS/ViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class ViewController: UIViewController {
textView.font = UIFont.monospacedSystemFont(ofSize: 14, weight: .regular)
textView.text = try! String(contentsOf: Bundle.main.url(forResource: "content", withExtension: "txt")!)
textView.showsLineNumbers = true
textView.showsInvisibleCharacters = true
textView.showsInvisibleCharacters = false
textView.gutterView?.drawSeparator = true
view.addSubview(textView)
self.textView = textView
Expand Down
22 changes: 11 additions & 11 deletions TextEdit/iOS/en.lproj/Main.storyboard
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
</objects>
<point key="canvasLocation" x="-992" y="-673"/>
</scene>
<!--STTextView-->
<!--Notes-->
<scene sceneID="tne-QT-ifu">
<objects>
<viewController id="BYZ-38-t0r" customClass="ViewController" customModule="TextEdit" customModuleProvider="target" sceneMemberID="viewController">
Expand All @@ -35,23 +35,23 @@
<viewLayoutGuide key="safeArea" id="6Tk-OE-BBY"/>
<color key="backgroundColor" systemColor="systemBackgroundColor"/>
</view>
<navigationItem key="navigationItem" title="STTextView" id="h2q-vP-mby">
<navigationItem key="navigationItem" title="Notes" style="editor" id="h2q-vP-mby">
<barButtonItem key="leftBarButtonItem" title="Gutter" image="list.number" catalog="system" id="U1X-Au-yZx">
<connections>
<action selector="toggleRuler:" destination="BYZ-38-t0r" id="oEQ-Aa-oxn"/>
</connections>
</barButtonItem>
<rightBarButtonItems>
<barButtonItem image="text.justify.left" catalog="system" id="WxB-Qp-s6N">
<barButtonItem title="Wrap" image="text.justify.leading" catalog="system" id="WxB-Qp-s6N">
<connections>
<action selector="toggleTextWrapMode:" destination="BYZ-38-t0r" id="F5z-9D-Qis"/>
</connections>
</barButtonItem>
<barButtonItem image="eye.slash" catalog="system" id="nCC-0L-GuA">
<barButtonItem title="Invisibles" image="dot.viewfinder" catalog="system" id="nCC-0L-GuA">
<connections>
<action selector="toggleInvisibles:" destination="BYZ-38-t0r" id="ToF-eU-fqn"/>
</connections>
</barButtonItem>
<barButtonItem image="list.number" catalog="system" id="U1X-Au-yZx">
<connections>
<action selector="toggleRuler:" destination="BYZ-38-t0r" id="oEQ-Aa-oxn"/>
</connections>
</barButtonItem>
</rightBarButtonItems>
</navigationItem>
</viewController>
Expand All @@ -61,9 +61,9 @@
</scene>
</scenes>
<resources>
<image name="eye.slash" catalog="system" width="128" height="95"/>
<image name="dot.viewfinder" catalog="system" width="128" height="115"/>
<image name="list.number" catalog="system" width="128" height="97"/>
<image name="text.justify.left" catalog="system" width="128" height="99"/>
<image name="text.justify.leading" catalog="system" width="128" height="99"/>
<systemColor name="systemBackgroundColor">
<color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
</systemColor>
Expand Down

0 comments on commit 033da79

Please sign in to comment.