Skip to content

Commit 3bb0d54

Browse files
Update README.md
1 parent f70162c commit 3bb0d54

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,13 @@ var MainViewController = JSB.defineClass('MainViewController : UITableViewContro
299299
JSB.exports = MainViewController;
300300
```
301301
302+
###For Debug
303+
`JSB.log` function is the same as `NSLog`.
304+
305+
```javascript
306+
JSB.log('view: %@', self.view);
307+
```
308+
302309
## Requirements
303310
- **iOS 7 or later**
304311
- JavaScriptCore.framework

0 commit comments

Comments
 (0)