Skip to content

Commit

Permalink
Some types
Browse files Browse the repository at this point in the history
  • Loading branch information
mattmassicotte authored Mar 29, 2024
1 parent 74ca134 commit f6f9660
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,14 @@ This extension is wrapped within a: `#if canImport(AppKit)` and provides the `UI

## Enhancing `NSUI`
If you need to enhance `NSUI`, follow the following guidelines:
1- Check if the type you need is defined in the `Aliases.swift` file. If not, add it there
2- If your type, needs to supply a bridging `var` or `func`, define that in a proper swift file.
3- Always prioritize the `UIKit` naming scheme when defining new bridging `var` or `func`.

1. Check if the type you need is defined in the `Aliases.swift` file.
2. If your type needs to bridging functions, define them in a dedicated file.
3. Prioritize `UIKit` implemenations, unless type-mismatches prevent it.

## Alternatives

- [UXKit](https://github.com/ZeeZide/UXKit)

## Contributing and Collaboration

Expand Down

0 comments on commit f6f9660

Please sign in to comment.