Recent

Author Topic: NSAppKitVersionNumber10_14 value wrong  (Read 141 times)

trev

  • Full Member
  • ***
  • Posts: 220
  • Former Delphi 7 and Delphi 10.2 User
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
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: 2282
    • 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