ruddfawcett / Notepad

[iOS] A fully themeable markdown editor with live syntax highlighting.
http://rudd.fyi/notepad
MIT License
881 stars 106 forks source link

Update the Notepad convenience initializer #11

Closed graycampbell closed 7 years ago

graycampbell commented 7 years ago

I made the Notepad convenience init public because if it isn't explicitly stated that it's public, Swift assumes it to be internal (and, therefore, inaccessible to anyone using Notepad via Cocoapods, etc.).

I also changed the Notepad convenience initializer so as not to hide the frame parameter name. This is more in line with the explicit function naming conventions in Swift 3. The README has been updated to reflect this change.

ruddfawcett commented 7 years ago

Thanks!