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

Re-abstracts where we grab data when it's access should be limited to the main thread #20

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

orta
Copy link
Collaborator

@orta orta commented Jun 27, 2018

I had a meeting get cancelled, so I used my free hour to try and address #19

After this there are issues running the demo app. Alas, I haven't got tests running yet though, been a bunch of Xcode updates in the last 4 years :D

Will come back for the tests sometime

/cc @alloy @dblock

Copy link

@alloy alloy left a comment

Choose a reason for hiding this comment

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

I’m not completely following what is happening. Is the issue that self.bounds may not be accessed from a background thread?

The use of the ivar and its name is also confusing, as it’s not being accessed in a thread safe manner.


- (void)setFrame:(CGRect)frame
{
[super setBounds:frame];
Copy link

Choose a reason for hiding this comment

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

This seems to be invoking the wrong super class’ method.

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