Skip to content

Commit 6c9a826

Browse files
committed
Replace __FUNCTION__ with #function
1 parent fa72d6c commit 6c9a826

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Example/Example/CustomizedTokenViewController.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,15 +72,15 @@ class CustomizedTokenViewController: UIViewController, ICTokenFieldDelegate {
7272
// MARK: - ICTokenFieldDelegate
7373

7474
func tokenFieldDidBeginEditing(tokenField: ICTokenField) {
75-
print(__FUNCTION__)
75+
print(#function)
7676
}
7777

7878
func tokenFieldDidEndEditing(tokenField: ICTokenField) {
79-
print(__FUNCTION__)
79+
print(#function)
8080
}
8181

8282
func tokenFieldWillReturn(tokenField: ICTokenField) {
83-
print(__FUNCTION__)
83+
print(#function)
8484
}
8585

8686
func tokenField(tokenField: ICTokenField, didEnterText text: String) {

0 commit comments

Comments
 (0)