Skip to content

Commit

Permalink
fix markdown for swift3
Browse files Browse the repository at this point in the history
  • Loading branch information
Nonchalant committed Apr 24, 2017
1 parent 2b7bfc8 commit 994af3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ md.attributedString()

URL
```swift
if let url = NSBundle.mainBundle().URLForResource("file", withExtension: "md"), md = SwiftyMarkdown(url: url ) {
if let url = Bundle.main.url(forResource: "file", withExtension: "md"), md = SwiftyMarkdown(url: url ) {
md.attributedString()
}
```
Expand Down

0 comments on commit 994af3a

Please sign in to comment.