Skip to content

Commit 2db8abb

Browse files
author
Steve Barnegren
committed
Fix playground compilation errors
1 parent 34f49dc commit 2db8abb

File tree

7 files changed

+16
-6
lines changed

7 files changed

+16
-6
lines changed

Example/Example.playground/Pages/Awesome Things.xcplaygroundpage/Contents.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
## A more fancy example
44
*/
55
import Foundation
6+
import UIKit
67
import AttributedStringBuilder
78
/*:
89
**Make an `AttributedStringBuider` and set default alignment**

Example/Example.playground/Pages/Awesome Things.xcplaygroundpage/timeline.xctimeline

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
version = "3.0">
44
<TimelineItems>
55
<LoggerValueHistoryTimelineItem
6-
documentLocation = "#CharacterRangeLen=24&amp;CharacterRangeLoc=1334&amp;EndingColumnNumber=25&amp;EndingLineNumber=54&amp;StartingColumnNumber=1&amp;StartingLineNumber=54&amp;Timestamp=521493823.149199"
6+
documentLocation = "file:///Users/stevebarnegren/Documents/Projects/Steve/Libraries/AttributedStringBuilder/Example/Example.playground/Pages/Awesome%20Things.xcplaygroundpage#CharacterRangeLen=24&amp;CharacterRangeLoc=1347&amp;EndingColumnNumber=0&amp;EndingLineNumber=56&amp;StartingColumnNumber=1&amp;StartingLineNumber=55&amp;Timestamp=576607569.173771"
77
lockedSize = "{618, 201}"
88
selectedRepresentationIndex = "0"
99
shouldTrackSuperviewWidth = "NO">

Example/Example.playground/Pages/Basic Example 2.xcplaygroundpage/Contents.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
## Basic Example 2
44
*/
55
import Foundation
6+
import UIKit
67
import AttributedStringBuilder
78
/*:
89
**Make an `AttributedStringBuider` with some default attributes**
@@ -24,4 +25,4 @@ builder
2425
.text("Attributes ", attributes: [.font(UIFont(name: "Baskerville-Bold", size: 30)!)])
2526

2627
builder.attributedString
27-
//: [Next](@next)
28+
//: [Next](@next)

Example/Example.playground/Pages/Basic Example 2.xcplaygroundpage/timeline.xctimeline

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
version = "3.0">
44
<TimelineItems>
55
<LoggerValueHistoryTimelineItem
6-
documentLocation = "#CharacterRangeLen=24&amp;CharacterRangeLoc=776&amp;EndingColumnNumber=25&amp;EndingLineNumber=25&amp;StartingColumnNumber=1&amp;StartingLineNumber=25&amp;Timestamp=521494919.077903"
6+
documentLocation = "file:///Users/stevebarnegren/Documents/Projects/Steve/Libraries/AttributedStringBuilder/Example/Example.playground/Pages/Basic%20Example%202.xcplaygroundpage#CharacterRangeLen=24&amp;CharacterRangeLoc=789&amp;EndingColumnNumber=0&amp;EndingLineNumber=27&amp;StartingColumnNumber=1&amp;StartingLineNumber=26&amp;Timestamp=576607546.3654341"
77
lockedSize = "{558, 85}"
88
selectedRepresentationIndex = "0"
99
shouldTrackSuperviewWidth = "NO">

Example/Example.playground/Pages/Basic Example.xcplaygroundpage/Contents.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ let builder = AttributedStringBuilder()
1212
*/
1313
builder.defaultAttributes = [
1414
.textColor(UIColor.black),
15-
.font( UIFont.systemFont(ofSize: 16, weight: UIFontWeightRegular) ),
15+
.font( UIFont.systemFont(ofSize: 16, weight: .regular) ),
1616
.alignment(.center),
1717
]
1818
/*:
@@ -29,4 +29,4 @@ builder
2929
**Retrive the string by calling `builder.attributedString`**
3030
*/
3131
builder.attributedString
32-
//: [Next](@next)
32+
//: [Next](@next)

Example/Example.playground/Pages/Basic Example.xcplaygroundpage/timeline.xctimeline

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
version = "3.0">
44
<TimelineItems>
55
<LoggerValueHistoryTimelineItem
6-
documentLocation = "#CharacterRangeLen=24&amp;CharacterRangeLoc=684&amp;EndingColumnNumber=25&amp;EndingLineNumber=30&amp;StartingColumnNumber=1&amp;StartingLineNumber=30&amp;Timestamp=521494965.762362"
6+
documentLocation = "file:///Users/stevebarnegren/Documents/Projects/Steve/Libraries/AttributedStringBuilder/Example/Example.playground/Pages/Basic%20Example.xcplaygroundpage#CharacterRangeLen=24&amp;CharacterRangeLoc=673&amp;EndingColumnNumber=0&amp;EndingLineNumber=31&amp;StartingColumnNumber=1&amp;StartingLineNumber=30&amp;Timestamp=576607518.012183"
77
lockedSize = "{481, 70}"
88
selectedRepresentationIndex = "0"
99
shouldTrackSuperviewWidth = "NO">
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>IDEDidComputeMac32BitWarning</key>
6+
<true/>
7+
</dict>
8+
</plist>

0 commit comments

Comments
 (0)