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

Kloenk's changes #301

Draft
wants to merge 11 commits into
base: swift-5.5
Choose a base branch
from
Draft

Kloenk's changes #301

wants to merge 11 commits into from

Conversation

kloenk
Copy link
Member

@kloenk kloenk commented Jun 13, 2021

This moves all trivial if macOS code into the Mio folder

Contains: #300

@@ -43,7 +43,7 @@ struct ReverseList<Element, Content>: View where Element: Identifiable, Content:
}
.frame(height: 30) // FIXME: Frame height shouldn't be hard-coded
.onPreferenceChange(IsVisibleKey.self) {
hasReachedTop = $0
if $0 != hasReachedTop { hasReachedTop = $0 }
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems I was talking nonsense. .onChange does in fact check for unique values, it's .onReceive that doesn't. Sorry!

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, so removing that if?
As you may see I now create the other timeline, which does not create this error.

Copy link
Member

@pixlwave pixlwave Jun 15, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah I'd say so, it's not doing anything. Good to hear you've fixed the error 👍
I haven't had much of a look through as I find myself waiting to learn about Swift concurrency until after I've got the hang of Objective-C (which seems a slightly bizarre situation to be in 😆).

@kloenk kloenk changed the base branch from stable to swift-5.5 June 17, 2021 07:37
@kloenk kloenk changed the title Seperate oses Kloenk's changes Jun 25, 2021
@kloenk
Copy link
Member Author

kloenk commented Jun 25, 2021

This now contains quite a log of changes. As It does not seem to get merged into swift-5.5 soon, I will just continue to dump my changes here. to make it easier for me

@kloenk kloenk marked this pull request as draft August 5, 2021 15:15
@kloenk
Copy link
Member Author

kloenk commented Aug 20, 2021

This will stay a draft, until everything is implemented in the iOS 15 branch, then this will be closed without merging.

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