Skip to content

Commit

Permalink
Merge pull request SimonFairbairn#40 from Nonchalant/feature/fix_mark…
Browse files Browse the repository at this point in the history
…down

Fix markdown for swift3. Thanks to @Nonchalant
  • Loading branch information
SimonFairbairn authored May 4, 2017
2 parents 2b7bfc8 + 994af3a commit 5148e8a
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 5148e8a

Please sign in to comment.