Skip to content
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

Fix example in readme to use .classic(color: .yellow) #24

Merged
merged 2 commits into from
Jul 27, 2021

Conversation

ralfebert
Copy link
Contributor

No description provided.

@maxxfrazer
Copy link
Owner

Thanks for catching that one.
Could you add one other option above it with an "or" between? As this creates the FocusEntity with the specific yellow literal:

self.focusEntity = FocusEntity(on: self, focus: .classic)

@maxxfrazer maxxfrazer self-requested a review July 26, 2021 19:10
@maxxfrazer maxxfrazer added the documentation Improvements or additions to documentation label Jul 26, 2021
@ralfebert
Copy link
Contributor Author

ralfebert commented Jul 26, 2021

Ahh, I missed the static let constant without argument. But Xcode 13 Beta 3 seems to be troubled by having the associated value enum case + a static let constant of the same name:

Screenshot 2021-07-26 at 21 44 52

@maxxfrazer
Copy link
Owner

swap "style" for focus for the example with .classic

@maxxfrazer maxxfrazer merged commit fc73f8c into maxxfrazer:main Jul 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants