Xojo - some pieces 4u


Xojo2DMG: CodeSign, DMG creation and Notarization (Post Build Script) 0.9.11

Description:
Are you distributing macOS Software outside of the Mac App Store? For your users best experience and confidence, your applications have to be Notarized by Apple.
A requirement for that is to CodeSign with Hardened Runtime. This might lead to a different Runtime behavior compared to a simple (unsigned) DebugRun within the Xojo IDE.
That's why I encourage everyone to CodeSign (with Hardened Runtime) each and every DebugRun on macOS, allowing you to develop and debug as close to a Release Build as possible.

How to do that? Have a look at Xojo2DMG. It's an example Xojo Post Build Script, which shows how to auto-magically CodeSign both Debug- and Release-Builds. It also packages Release Builds of your application in a signed (and customizable) DiskImage (.dmg) and sends it off to Apple for Notarization. All with just a click on 'Build' in the Xojo IDE.


go to Xojo2DMG: CodeSign, DMG creation and Notarization (Post Build Script)


macOS: App Directories 0.7.2

Description:
macOS Catalina consists of two Volumes. A read-only System volume, and a read-write Data volume.
So the classic '/Applications' directory is now the one where users can store their system-wide available applications. Apple's System Applications will be in another location.
Finder transparently shows them just as 'Applications'. However, Developers might need to get the correct native path.
This example shows how to find Applications by BundleID (the preferred way), by AppName (this will try to find it in all possible system defined application directories), and it allows to get an Array of Folders defined by Apple (see the Enumeration: NSSearchPathDirectory.
Xojo only provides a single folder using SpecialFolder.Applications. This example will get all ones (also the per-user Application Folder, if it exists) from the OS.
The example 'AppURLs' will ask you to select a file. It then locates all suitable Applications, depending on the LSRolesMask(s) you specify.


go to macOS: App Directories


Xojo Code Example: Using Applescript for Automation (macOS) 0.8.0

Description:
macOS 10.14 no longer simply allows every app to use AppleScript to Automate other applications.
This example Xojo project shows how to use AppleScript Automation, determine if the app has permission to automate another running application, and how to open System Preferences at Privacy - Automation.


go to Xojo Code Example: Using Applescript for Automation (macOS)


Xojo Applications Example: Create a Shortcut / Alias / Desktop Launch Icon (Windows, macOS, Linux) 0.1.0

Description:
An example Xojo project to show how one can create a Shortcut (Windows), Alias (macOS), Desktop Launch Icon (Linux) in Xojo-built Applications (Windows, macOS, Linux).


go to Xojo Applications Example: Create a Shortcut / Alias / Desktop Launch Icon (Windows, macOS, Linux)


Xojo Code Example: CRCCalculator (Cyclic Redundancy Check: CRC8, CRC16, CRC32) 1.0.0

Description:
An example Xojo project showing CRC Calculations (Cyclic Redundancy Check: CRC8, CRC16, CRC32) in Xojo Code.


go to Xojo Code Example: CRCCalculator (Cyclic Redundancy Check: CRC8, CRC16, CRC32)


Task Dialogs (Windows Vista and newer) 0.5.0

Description:
An example Xojo project showing how to use the Task Dialog Indirect API on Windows, while falling back to Xojo's MessageDialog on other platforms.


go to Task Dialogs (Windows Vista and newer)


Xojo Post Build Script Example: Create .appx Package (e.g. for Windows Store) 1.0.0

Description:
An example Xojo project with a Post Build Script. It invokes a Batch Script which will manually create customized AppX Packages without using the Desktop App Converter:
1 - Test your Windows app for Windows 10 S.
2 -CodeSigned with a self-signed certificate
3 - Windows Store (not CodeSigned, just another .appx with another PublisherID)


go to Xojo Post Build Script Example: Create .appx Package (e.g. for Windows Store)


Xojo Applications Example: Embed custom AppFont's (Windows, macOS, Linux) 0.4.2

Description:
An example Xojo project to show how one can embed custom AppFont's in Xojo-built Applications (Windows, macOS, Linux).


go to Xojo Applications Example: Embed custom AppFont's (Windows, macOS, Linux)


TreeView 2.0.0

Description:
A subclassed hierarchical ListBox using CTreeListedValues (a hierarchical list) to dynamically populate the Control.


go to TreeView


Linux: GTK3 Style Controls Example 0.5.0

Description:
An example Xojo project to show how one can style Controls on TargetLinux.


go to Linux: GTK3 Style Controls Example




contact: Juerg Otter