Skip to content

Releases: andyfinnell/NativeMarkKit

Support transparent background color

20 Apr 00:09
4833aa3
Compare
Choose a tag to compare
  • Support transparent background color by specifying .backgroundColor(nil)

Image sizing bug & custom image sizing

09 Oct 13:21
55b3cb9
Compare
Choose a tag to compare
  • Fixes bug when an image changes the size of the document
  • It adds ImageSizer protocol to allow custom image sizing, such as scaling to fit the width of the document

Fix regression on custom fonts not retaining weight

15 Jul 01:43
4849e7a
Compare
Choose a tag to compare

Fix custom fonts

09 Jul 23:03
0fdc7fd
Compare
Choose a tag to compare

Fixes certain custom fonts, like Avenir-Roman and Avenir-Medium that would revert to the "base" font (e.g. Avenir-Book).

Fix Bold and Italic on custom fonts

20 Apr 00:18
0020061
Compare
Choose a tag to compare

Fix bold and italic on custom fonts. This required removing NativeFontWeight type since it only worked on system fonts. The removal of the type is theoretically a breaking changing, so bumping this up a major version number. However, bold functionality is available by using the FontTraits type (which works on system and custom fonts).

armv7 build error

06 Jan 17:53
e8ef002
Compare
Choose a tag to compare

This release fixes a build error for projects that include the armv7 architecture.

SwiftUI & iOS 14 bugs

14 Nov 19:30
Compare
Choose a tag to compare

Changes

  • Brought back the SwiftUI wrappers. Put in some workarounds to make them work as expected
  • Fixed iOS/tvOS 14 bug where inline backgrounds -- such as those used by inline code spans -- didn't render.

Public release

22 Aug 20:09
Compare
Choose a tag to compare

Changes

  • Improved the document (which is still light, but probably enough to be useful)
  • Remove NativeMarkText because the iOS version can't be made to work
  • Tiny re-working on custom font specification to reduce boilerplate

Initial version

16 Aug 15:31
Compare
Choose a tag to compare

This is the first tagged release of NativeMarkKit!

What's working

  • NativeMarkLabel
  • StyleSheets
  • All of the parsing and rendering for NativeMark
  • NativeMarkText (aka SwiftUI) for macOS
  • Dark mode
  • Dynamic Type

What needs work still

  • NativeMarkText for UIKit doesn't size properly if the text wraps
  • Documentation is exceedingly light
  • NativeMarkString/NativeMarkStorage/NativeMarkLayoutManager/NativeMarkTextContainer` all work for how NativeMarkKit use them internally, but haven't been vetted to see how generally useful they are
  • Dark Mode on Mojave is mostly, but not completely supported. Mojave is missing APIs to add custom colors that automatically change between dark mode/light mode