Skip to content

Commit 95c9200

Browse files
committed
bind the changeability of the description to avoid lost edits
This commit was sponsored by rockstar, Jason Mills, Greg Back, and my other patrons. If you want to join them, you can support my work at https://glyph.im/patrons/.
1 parent b91aff3 commit 95c9200

File tree

4 files changed

+27
-23
lines changed

4 files changed

+27
-23
lines changed

IBFiles/GoalListWindow.xib

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="23094" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
2+
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="23504" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
33
<dependencies>
4-
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="23094"/>
4+
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="23504"/>
55
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
66
</dependencies>
77
<objects>
@@ -30,8 +30,8 @@
3030
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
3131
<datePickerCell key="cell" borderStyle="bezel" alignment="left" useCurrentDate="YES" id="pDE-yo-jA2">
3232
<font key="font" metaFont="system"/>
33-
<date key="date" timeIntervalSinceReferenceDate="751332209.77409697">
34-
<!--2024-10-22 23:23:29 +0000-->
33+
<date key="date" timeIntervalSinceReferenceDate="755735127.55399001">
34+
<!--2024-12-12 22:25:27 +0000-->
3535
</date>
3636
<color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
3737
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
@@ -131,6 +131,7 @@
131131
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
132132
</textFieldCell>
133133
<connections>
134+
<binding destination="IBu-Zb-e8y" name="editable" keyPath="objectValue.canChange" id="SUj-lQ-JLc"/>
134135
<binding destination="IBu-Zb-e8y" name="value" keyPath="objectValue.description" id="jOn-KP-iON"/>
135136
</connections>
136137
</textField>

IBFiles/IntentionEditor.xib

+17-17
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="23094" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
2+
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="23504" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
33
<dependencies>
4-
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="23094"/>
4+
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="23504"/>
55
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
66
</dependencies>
77
<objects>
@@ -547,7 +547,7 @@
547547
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
548548
<clipView key="contentView" id="pBY-0Y-Hcq">
549549
<rect key="frame" x="1" y="1" width="149" height="615"/>
550-
<autoresizingMask key="autoresizingMask"/>
550+
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
551551
<subviews>
552552
<tableView verticalHuggingPriority="750" allowsExpansionToolTips="YES" columnAutoresizingStyle="lastColumnOnly" tableStyle="plain" columnReordering="NO" multipleSelection="NO" emptySelection="NO" autosaveColumns="NO" rowHeight="18" rowSizeStyle="automatic" viewBased="YES" id="LiW-pP-5cA">
553553
<rect key="frame" x="0.0" y="0.0" width="149" height="615"/>
@@ -700,7 +700,7 @@
700700
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES"/>
701701
<clipView key="contentView" drawsBackground="NO" id="Hh3-OM-7I5">
702702
<rect key="frame" x="0.0" y="0.0" width="642" height="64"/>
703-
<autoresizingMask key="autoresizingMask"/>
703+
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
704704
<subviews>
705705
<textView wantsLayer="YES" importsGraphics="NO" richText="NO" verticallyResizable="YES" smartInsertDelete="YES" id="UHe-Xg-WSk">
706706
<rect key="frame" x="0.0" y="0.0" width="642" height="64"/>
@@ -803,7 +803,7 @@
803803
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/>
804804
<clipView key="contentView" id="W0z-DA-cWe">
805805
<rect key="frame" x="1" y="1" width="640" height="195"/>
806-
<autoresizingMask key="autoresizingMask"/>
806+
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
807807
<subviews>
808808
<tableView verticalHuggingPriority="750" allowsExpansionToolTips="YES" columnAutoresizingStyle="lastColumnOnly" multipleSelection="NO" autosaveColumns="NO" rowHeight="24" rowSizeStyle="automatic" headerView="J59-yt-H7W" viewBased="YES" id="c28-Id-xED">
809809
<rect key="frame" x="0.0" y="0.0" width="640" height="167"/>
@@ -825,7 +825,7 @@
825825
<tableColumnResizingMask key="resizingMask" resizeWithTable="YES" userResizable="YES"/>
826826
<prototypeCellViews>
827827
<tableCellView id="oOA-Kl-hoN">
828-
<rect key="frame" x="18" y="0.0" width="114" height="24"/>
828+
<rect key="frame" x="8" y="0.0" width="114" height="24"/>
829829
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
830830
<subviews>
831831
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="tOH-4h-uO3">
@@ -857,7 +857,7 @@
857857
<tableColumnResizingMask key="resizingMask" resizeWithTable="YES" userResizable="YES"/>
858858
<prototypeCellViews>
859859
<tableCellView id="jf3-so-rkm">
860-
<rect key="frame" x="149" y="0.0" width="492" height="24"/>
860+
<rect key="frame" x="139" y="0.0" width="492" height="24"/>
861861
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
862862
<subviews>
863863
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="SZv-ny-UsD">
@@ -927,7 +927,7 @@
927927
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
928928
<clipView key="contentView" id="i5q-fh-8Uc">
929929
<rect key="frame" x="1" y="1" width="640" height="166"/>
930-
<autoresizingMask key="autoresizingMask"/>
930+
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
931931
<subviews>
932932
<tableView verticalHuggingPriority="750" allowsExpansionToolTips="YES" columnAutoresizingStyle="lastColumnOnly" multipleSelection="NO" autosaveColumns="NO" rowSizeStyle="automatic" headerView="qAP-Uk-xH3" viewBased="YES" id="7fu-XT-qbp">
933933
<rect key="frame" x="0.0" y="0.0" width="640" height="138"/>
@@ -949,7 +949,7 @@
949949
<tableColumnResizingMask key="resizingMask" resizeWithTable="YES" userResizable="YES"/>
950950
<prototypeCellViews>
951951
<tableCellView id="eW6-Oa-uao" userLabel="date table cell view">
952-
<rect key="frame" x="18" y="0.0" width="88" height="0.0"/>
952+
<rect key="frame" x="8" y="0.0" width="88" height="0.0"/>
953953
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
954954
<subviews>
955955
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="sYc-3B-aq1">
@@ -984,7 +984,7 @@
984984
<tableColumnResizingMask key="resizingMask" resizeWithTable="YES" userResizable="YES"/>
985985
<prototypeCellViews>
986986
<tableCellView id="6Yz-ZF-uTs">
987-
<rect key="frame" x="123" y="0.0" width="70" height="0.0"/>
987+
<rect key="frame" x="113" y="0.0" width="70" height="0.0"/>
988988
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
989989
<subviews>
990990
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="sdu-cI-e4w">
@@ -1019,7 +1019,7 @@
10191019
<tableColumnResizingMask key="resizingMask" resizeWithTable="YES" userResizable="YES"/>
10201020
<prototypeCellViews>
10211021
<tableCellView id="Vba-FQ-vGg">
1022-
<rect key="frame" x="210" y="0.0" width="67" height="0.0"/>
1022+
<rect key="frame" x="200" y="0.0" width="67" height="0.0"/>
10231023
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
10241024
<subviews>
10251025
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Wu5-OY-wr1">
@@ -1054,7 +1054,7 @@
10541054
<tableColumnResizingMask key="resizingMask" resizeWithTable="YES" userResizable="YES"/>
10551055
<prototypeCellViews>
10561056
<tableCellView id="ani-lr-Hit">
1057-
<rect key="frame" x="294" y="0.0" width="81" height="0.0"/>
1057+
<rect key="frame" x="284" y="0.0" width="81" height="0.0"/>
10581058
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
10591059
<subviews>
10601060
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="EJF-tc-1T5">
@@ -1089,7 +1089,7 @@
10891089
<tableColumnResizingMask key="resizingMask" resizeWithTable="YES" userResizable="YES"/>
10901090
<prototypeCellViews>
10911091
<tableCellView id="uEE-fE-RAf">
1092-
<rect key="frame" x="392" y="0.0" width="249" height="0.0"/>
1092+
<rect key="frame" x="382" y="0.0" width="249" height="0.0"/>
10931093
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
10941094
<subviews>
10951095
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="iCt-EY-Zmw">
@@ -1466,8 +1466,8 @@
14661466
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
14671467
<datePickerCell key="cell" borderStyle="bezel" alignment="left" useCurrentDate="YES" id="0VN-am-jg8">
14681468
<font key="font" metaFont="system"/>
1469-
<date key="date" timeIntervalSinceReferenceDate="751332207.31217301">
1470-
<!--2024-10-22 23:23:27 +0000-->
1469+
<date key="date" timeIntervalSinceReferenceDate="755735113.24552">
1470+
<!--2024-12-12 22:25:13 +0000-->
14711471
</date>
14721472
<color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
14731473
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
@@ -2000,8 +2000,8 @@
20002000
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
20012001
<datePickerCell key="cell" borderStyle="bezel" alignment="left" useCurrentDate="YES" id="2ek-VJ-F3s">
20022002
<font key="font" metaFont="system"/>
2003-
<date key="date" timeIntervalSinceReferenceDate="751332207.33225405">
2004-
<!--2024-10-22 23:23:27 +0000-->
2003+
<date key="date" timeIntervalSinceReferenceDate="755735113.25561404">
2004+
<!--2024-12-12 22:25:13 +0000-->
20052005
</date>
20062006
<color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
20072007
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>

0 commit comments

Comments
 (0)