Skip to content

Commit 8c37329

Browse files
author
Kyle Begeman
committed
Remove placeholder when setting initial tags.
1 parent d59d7e8 commit 8c37329

3 files changed

Lines changed: 21 additions & 3 deletions

File tree

Example/ViewController.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ class ViewController: UIViewController, InlineTagControllerDelegate {
1919

2020
tagController.setConfiguration(CustomConfiguration())
2121
tagController.tagDelegate = self
22+
tagController.setTags(["Pizza"])
2223
}
2324

2425
func inlineTagController(_ controller: InlineTagController, didFinishEditing text: String) {

InlineTagController.xcodeproj/xcuserdata/kyle.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,30 @@
1010
ignoreCount = "0"
1111
continueAfterRunningActions = "No"
1212
filePath = "Sources/InlineTagController.swift"
13-
timestampString = "521658553.292309"
13+
timestampString = "521770627.98783"
1414
startingColumnNumber = "9223372036854775807"
1515
endingColumnNumber = "9223372036854775807"
16-
startingLineNumber = "375"
17-
endingLineNumber = "375"
16+
startingLineNumber = "376"
17+
endingLineNumber = "376"
1818
landmarkName = "createAndSwitchToNewCell(cell:)"
1919
landmarkType = "7">
2020
</BreakpointContent>
2121
</BreakpointProxy>
22+
<BreakpointProxy
23+
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
24+
<BreakpointContent
25+
shouldBeEnabled = "No"
26+
ignoreCount = "0"
27+
continueAfterRunningActions = "No"
28+
filePath = "Sources/InlineTagController.swift"
29+
timestampString = "521770469.713622"
30+
startingColumnNumber = "9223372036854775807"
31+
endingColumnNumber = "9223372036854775807"
32+
startingLineNumber = "189"
33+
endingLineNumber = "189"
34+
landmarkName = "setTags(_:)"
35+
landmarkType = "7">
36+
</BreakpointContent>
37+
</BreakpointProxy>
2238
</Breakpoints>
2339
</Bucket>

Sources/InlineTagController.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,7 @@ public class InlineTagController: UICollectionView {
192192
return Tag(text: tag)
193193
}
194194

195+
self.placeholderLabel.isHidden = true
195196
self.configure(with: tagItems)
196197
}
197198

0 commit comments

Comments
 (0)