Skip to content

Conversation

@shduke
Copy link
Contributor

@shduke shduke commented Feb 5, 2025

Summary

Changing SymbolCategory from an enum to a struct allows for easier extension. Users can now define their own SymbolCategory without having to modify the symbol list text file.

Example

let circleCategory = SymbolCategory("circles", systemImage: "circle", isMember: { $0.name.contains("circle") })
SymbolPicker(symbol: $symbol, categories: [circleCategory])

This builds on #13 and keeps its functionality

Changing SymbolCategory from an enum to a struct allows for easier
extension. Users can now define their own Categories without having
to modify the symbol list text file.
@Fluffik3666
Copy link

Please add!

@shduke
Copy link
Contributor Author

shduke commented Mar 20, 2025

@xnth97 Any suggestions/feedback? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants