Compare commits
3 Commits
24ce95c764
...
63d3d0764f
Author | SHA1 | Date |
---|---|---|
Shadowfacts | 63d3d0764f | |
Shadowfacts | c5dd7e277a | |
Shadowfacts | 491743c7bb |
|
@ -64,10 +64,8 @@ class JSONPrettyPrinter {
|
||||||
strings.append("\n\(currentIndent)]")
|
strings.append("\n\(currentIndent)]")
|
||||||
} else if let str = object as? String {
|
} else if let str = object as? String {
|
||||||
strings.append("\"\(escape(str))\"")
|
strings.append("\"\(escape(str))\"")
|
||||||
} else if let bool = object as? Bool {
|
|
||||||
strings.append(bool.description)
|
|
||||||
} else if let num = object as? NSNumber {
|
} else if let num = object as? NSNumber {
|
||||||
strings.append(num.description)
|
strings.append(num.stringValue)
|
||||||
} else if object is NSNull {
|
} else if object is NSNull {
|
||||||
strings.append("null")
|
strings.append("null")
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -62,7 +62,7 @@ Gw
|
||||||
<rect key="frame" x="0.0" y="0.0" width="465" height="235"/>
|
<rect key="frame" x="0.0" y="0.0" width="465" height="235"/>
|
||||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||||
<subviews>
|
<subviews>
|
||||||
<textView importsGraphics="NO" richText="NO" verticallyResizable="YES" id="1aa-Vo-yPS" customClass="JavaScriptEditorView" customModule="MongoView" customModuleProvider="target">
|
<textView importsGraphics="NO" richText="NO" verticallyResizable="YES" findStyle="bar" incrementalSearchingEnabled="YES" allowsUndo="YES" id="1aa-Vo-yPS" customClass="JavaScriptEditorView" customModule="MongoView" customModuleProvider="target">
|
||||||
<rect key="frame" x="0.0" y="0.0" width="465" height="235"/>
|
<rect key="frame" x="0.0" y="0.0" width="465" height="235"/>
|
||||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||||
<color key="textColor" name="textColor" catalog="System" colorSpace="catalog"/>
|
<color key="textColor" name="textColor" catalog="System" colorSpace="catalog"/>
|
||||||
|
|
|
@ -38,7 +38,7 @@
|
||||||
<rect key="frame" x="0.0" y="0.0" width="726" height="86"/>
|
<rect key="frame" x="0.0" y="0.0" width="726" height="86"/>
|
||||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||||
<subviews>
|
<subviews>
|
||||||
<textView importsGraphics="NO" richText="NO" verticallyResizable="YES" allowsCharacterPickerTouchBarItem="NO" textCompletion="NO" id="f8D-lV-IMK" customClass="JavaScriptEditorView" customModule="MongoView" customModuleProvider="target">
|
<textView importsGraphics="NO" richText="NO" verticallyResizable="YES" allowsCharacterPickerTouchBarItem="NO" allowsUndo="YES" textCompletion="NO" id="f8D-lV-IMK" customClass="JavaScriptEditorView" customModule="MongoView" customModuleProvider="target">
|
||||||
<rect key="frame" x="0.0" y="0.0" width="726" height="86"/>
|
<rect key="frame" x="0.0" y="0.0" width="726" height="86"/>
|
||||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||||
<color key="textColor" name="textColor" catalog="System" colorSpace="catalog"/>
|
<color key="textColor" name="textColor" catalog="System" colorSpace="catalog"/>
|
||||||
|
|
Loading…
Reference in New Issue