Recent

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

trev

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1016
  • Former Delphi 1-7, 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 r63871, FPC v3.3.1 r47164, macOS 10.14.6 (with sup update), Xcode 11.3.1
o Lazarus v2.1.0 r61574, FPC v3.3.1 r42318, FreeBSD 12.1 amd64 (VMware Fusion VM)
o FPC 3.0.4, FreeBSD 12.2-STABLE r365646 amd64
o Lazarus v2.1.0 r61574, FPC v3.0.4, Ubuntu 20.04 (Parallels VM)

skalogryz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2520
    • 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

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1016
  • Former Delphi 1-7, 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 r63871, FPC v3.3.1 r47164, macOS 10.14.6 (with sup update), Xcode 11.3.1
o Lazarus v2.1.0 r61574, FPC v3.3.1 r42318, FreeBSD 12.1 amd64 (VMware Fusion VM)
o FPC 3.0.4, FreeBSD 12.2-STABLE r365646 amd64
o Lazarus v2.1.0 r61574, FPC v3.0.4, Ubuntu 20.04 (Parallels VM)

 

TinyPortal © 2005-2018