New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support complicationset folders #1051
base: develop
Are you sure you want to change the base?
Support complicationset folders #1051
Conversation
…nhancement/complicationset # Conflicts: # CHANGELOG.md
I'm not sure if this is the right approach but it works for my use case and passes tests. If there is a better solution please point me in the right direction. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not very familiar with WatchOS complications, but from some quick googling:
- In your project (info.plist), you point it at the right "group" in your asset catalog
- I couldn't find any code samples where users load a complication asset programatically?
So I'm not sure if there's any point in adding support for this type of asset?
Note: also found that all docs mark complications as deprecated, and everything now should be done with WidgetKit. Does that framework also use complicationset assets?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need to commit all these images? For our other image assets, we simply added 1 variation, which is enough.
let children = try? folder.children() | ||
let sorted = children?.sorted(by: <) | ||
|
||
return (sorted?.compactMap { path in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This doesn't change anything?
develop
branch (gitflow)develop
as the "base" branch for this Pull Request I'm about to createCHANGELOG.md
file to explain my changes and credit myself(or added
#trivial
to the PR title if I think it doesn't warrant a mention in the CHANGELOG)