Skip to content

Commit d9e393a

Browse files
author
man.li
committed
README
1 parent bcbda8a commit d9e393a

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -65,17 +65,16 @@ github "CocoaDebug/CocoaDebug"
6565

6666
### Swift
6767

68-
//Step 1. (AppDelegate.swift)
68+
//AppDelegate.swift
69+
6970
#if DEBUG
7071
import CocoaDebug
7172
#endif
7273

73-
//Step 2. (AppDelegate.swift)
7474
#if DEBUG
7575
CocoaDebug.enable()
7676
#endif
7777

78-
//Step 3. (AppDelegate.swift)
7978
public func print<T>(file: String = #file, function: String = #function, line: Int = #line, _ message: T, color: UIColor = .white) {
8079
#if DEBUG
8180
swiftLog(file, function, line, message, color, false)
@@ -85,12 +84,12 @@ github "CocoaDebug/CocoaDebug"
8584

8685
### Objective-C
8786

88-
//Step 1. (AppDelegate.m)
87+
//AppDelegate.m
88+
8989
#ifdef DEBUG
9090
@import CocoaDebug;
9191
#endif
9292

93-
//Step 2. (AppDelegate.m)
9493
#ifdef DEBUG
9594
[CocoaDebug enable];
9695
#endif

0 commit comments

Comments
 (0)