Ohanaware App Kit 1.0.5
Building better Mac Applications with Xojo
Wednesday, August 12, 2020 - Sam Rowlands
Proudly announcing the immediate availability of version 1.0.5 of our App Kit.
The Ohanaware App Kit 2020 is a collection of declares and convenience classes that we (Ohanaware) have created over the last decade or so. Which we've then wrapped up into this kit to help other Xojo developers create better Mac Apps, through access to functions and technology that it's possible out of the box.
Version 1.0.5 - August 12th 2020
- NSProcessInfoisMacCatalystApp (macOS 10.15 or newer) - Returns true if this is a Catalyst application.
- NSProcessInfoisiOSAppOnMac (macOS 11 or newer) - Returns true if this is a iOS application.
- Gestalt - Yes it's deprecated, but I'm looking for a machine readable way to determine CPU architecture.
- folderitem.completeLength - Get the file size of a folder.
- NSFileManagerDestinationOfSymbolicLinkAtPath - Returns the path of the item pointed to by the Symbolic link.
- sysctlbyname - API used to get machine information.
- macOSSystem.systemArchitecture - Returns the CPU Type of the current Mac.
- macOSSystem.architectureDisplayName( incode ) - Takes the code from above or NSRunningApplication and creates the display name.
- NSBoxSetBorderColor - Used to set the border color on a Xojo Group box.
- NSBoxSetBorderWidth - Used to set the border width on a Xojo Group box.
- NSBoxSetBoxType - Used to set the box type on a Xojo Group box.
- NSBoxSetfillColor - Used to set the fill color of a Xojo Group box.
- NSBoxType - Enum of types.
- NSToolbarRemoveItemAtIndex - Used to remove a toolbar item.
- NSImageWithSymbolName (macOS 11 or newer) - Take a SF Symbol name and returns a NSImage.
- operatingSystemisBigSur - Returns true if the mac is running Big Sur or newer.
- NSWindowTitleVisibility - Used to get the titlebar visibility.
- Improved findWindowForFile - Now works with window.folderitem.
More information about the Ohanaware App Kit, can be found at https://ohanaware.com/appkit/