Recent

Author Topic: [SOLVED] NSAppKitVersionNumber10_14 value wrong  (Read 236 times)

trev

  • Sr. Member
  • ****
  • Posts: 252
  • Former Delphi 7 and Delphi 10.2 User
[SOLVED] NSAppKitVersionNumber10_14 value wrong
« on: November 08, 2019, 02:22:57 am »
According to cocoa_extra.pas the value of NSAppKitVersionNumber10_14 = 1641.10

According to Apple's C header NSApplication.h the value of NSAppKitVersionNumber10_14 = 1671
« Last Edit: November 30, 2019, 02:42:02 am by trev »
o Lazarus v2.1.0 r61775, FPC v3.3.1 r42640, macOS 10.14.6 (with sup update), Xcode 10.3
o Lazarus v2.1.0 r61574, FPC v3.3.1 r42318, FreeBSD 12.0 (Parallels VM)
o Lazarus v2.1.0 r61574, FPC v3.0.4, Ubuntu 18.04 (Parallels VM)

skalogryz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2289
    • havefunsoft.com
Re: NSAppKitVersionNumber10_14 value wrong
« Reply #1 on: November 08, 2019, 03:19:12 am »
https://github.com/packagesdev/packages/blob/master/AppKit%20%2B%20Extensions/NSResponder%2BAppearance.h
i guess it was used from one of the mojave betas.
the release versions are indeed typically the whole numbers.
Patron Cocoa Widgetset development https://www.patreon.com/skalogryz

trev

  • Sr. Member
  • ****
  • Posts: 252
  • Former Delphi 7 and Delphi 10.2 User
Re: NSAppKitVersionNumber10_14 value wrong
« Reply #2 on: November 30, 2019, 02:41:46 am »
Fixed in r62228; thanks Dmitry!
o Lazarus v2.1.0 r61775, FPC v3.3.1 r42640, macOS 10.14.6 (with sup update), Xcode 10.3
o Lazarus v2.1.0 r61574, FPC v3.3.1 r42318, FreeBSD 12.0 (Parallels VM)
o Lazarus v2.1.0 r61574, FPC v3.0.4, Ubuntu 18.04 (Parallels VM)