GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Fab2bprog/Xojo-UUID-Generator-Class: This Xojo class generates RFC 4122-compliant UUID version 4 identifiers. It supports customizable output formats, including standard hexadecimal with or without hyphens, and Base64 (with optional padding). The UUIDs are randomly generated and suitable for use as unique identifiers in databases, APIs, files, and distributed systems.

BranchesTags
Open more actions menu

Latest commit

 

History

5 Commits
5 Commits

Folders and files

NameName
Last commit message
Last commit date
.gitignore
.gitignore
 
 
App.xojo_code
App.xojo_code
 
 
Build Automation.xojo_code
Build Automation.xojo_code
 
 
LICENSE
LICENSE
 
 
MainMenuBar.xojo_menu
MainMenuBar.xojo_menu
 
 
README.md
README.md
 
 
UUID Generator Class.xojo_project
UUID Generator Class.xojo_project
 
 
UUID Generator Class.xojo_resources
UUID Generator Class.xojo_resources
 
 
UUIDGenerator.xojo_code
UUIDGenerator.xojo_code
 
 
Win_UUID.xojo_window
Win_UUID.xojo_window
 
 

Repository files navigation

Xojo-UUID-Generator-Class

A lightweight Xojo class for generating RFC4122 compliant UUID version 4 identifiers. An application developed with xojo 2025R1.

✨ Features

  • ✅ Generates UUID v4 (random-based) according to RFC 4122
  • ✅ Output in Hexadecimal (with or without hyphens)
  • ✅ Output in Base64 format
  • ✅ Minimal, cross-platform Xojo class
  • ✅ Suitable for desktop, web, or mobile projects

📦 Installation

Simply copy the UUIDGenerator class into your Xojo project. No external dependencies.


🚀 Usage

Var gen As New UUIDGenerator

// 1. Generate standard UUID (Hex with hyphens)
Var uuid1 As String = gen.GenerateUUIDv4(UUIDGenerator.UUIDFormat.Hex, True)
MessageBox("Standard UUID: " + uuid1)
// Example: 4fa62e08-bc52-4e7f-8d3a-22c93e38f7e6

// 2. Generate compact UUID (Hex without hyphens)
Var uuid2 As String = gen.GenerateUUIDv4(UUIDGenerator.UUIDFormat.Hex, False)
MessageBox("Compact UUID: " + uuid2)
// Example: 4fa62e08bc524e7f8d3a22c93e38f7e6

// 3. Generate Base64 encoded UUID
Var uuid3 As String = gen.GenerateUUIDv4(UUIDGenerator.UUIDFormat.Base64)
MessageBox("Base64 UUID: " + uuid3)
// Example: T6YuCLxSTn+NOiLJPjj35g==

About

This Xojo class generates RFC 4122-compliant UUID version 4 identifiers. It supports customizable output formats, including standard hexadecimal with or without hyphens, and Base64 (with optional padding). The UUIDs are randomly generated and suitable for use as unique identifiers in databases, APIs, files, and distributed systems.

Topics

guidguid-generatorrfc4122uuiduuid-generatoruuid-v4uuidv4xojo

Resources

Readme
MIT license
Activity

Stars

6 stars

Watchers

1 watching

Forks

2 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.