8000 Check superclass for property persistence by jmah · Pull Request #568 · Mantle/Mantle · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Check superclas 8000 s for property persistence #568

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

Merged
merged 8 commits into from
Jul 31, 2015

Conversation

jmah
Copy link
Contributor
@jmah jmah commented Jul 30, 2015

A subclass can shadow a parent's property declaration, either explicitly
with a @property directive or implicitly by conforming to a protocol
that requires a particular property. The result is that the subclass
property record has no associated ivar (or methods), and calls to get /
set the property will fall up to the superclass's methods (backed by the
superclass's ivar).

A subclass can shadow a parent's property declaration, either explicitly
with a `@property` directive or implicitly by conforming to a protocol
that requires a particular property. The result is that the subclass
property record has no associated ivar (or methods), and calls to get /
set the property will fall up to the superclass's methods (backed by the
superclass's ivar).
if ([self isEqual:MTLModel.class]) {
return MTLPropertyStorageNone;
} else {
// Check superclass in case the subclass redeclares a property that falls through
Copy link
Member

Choose a reason for hiding this comment

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

Can you break this comment at 80 chars? I.e.

            // Check superclass in case the subclass redeclares a property that
            // falls through

?

@robb
Copy link
Member
robb commented Jul 30, 2015

Thanks for your pull request 💖

I have just some minor notes. Also, can you merge in master and resolve the conflicts? 🙇

@jmah jmah force-pushed the jmah/protocol-storage branch from 7dd6829 to 0747420 Compare July 30, 2015 19:36
@jmah
Copy link
Contributor Author
jmah commented Jul 30, 2015

@robb Updated 🆕

@robb
8000 Copy link
Member
robb commented Jul 31, 2015

Looks great, thanks again!

robb added a commit that referenced this pull request Jul 31, 2015
Check superclass for property persistence
@robb robb merged commit 1b37d35 into Mantle:master Jul 31, 2015
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
0