Comments (6)
Fine by me! Attribution in the readme would be great, if the amount of code you've used warrants it, but anything which fulfills the terms of the license is ultimately fine by me (or else I wouldn't use that license!). No other comments, except that it's great to see someone building something based on the stuff I've made.
from maobjcruntime.
Thanks! If you want to take a look at it, you can find it at
https://github.com/jagill/JAGPropertyConverter
from maobjcruntime.
Neat idea. Reminds me a little of Google Protobuf, but operating at a somewhat higher level.
This statement in the readme confuses me a bit: "Since JAGPropertyConverter uses Key-Value coding to get/set values, it doesn't respect custom getters and setters" I thought KVC dealt fine with those. Have I misunderstood?
Anyway, cool stuff, and just the sort of thing I hoped to enable with my code.
from maobjcruntime.
My understanding of KVC (largely based on this doc ) is that when getting/setting a property named foo, they look for methods getFoo, foo, isFoo and setFoo:, respectively. I haven't delved into this too deeply, so if you know of a way that KVC can handle
@property (assign, getter = checkIsActive, setter = makeActive:) BOOL active;
I'd love to know about it!
from maobjcruntime.
Oh, I believe you meant custom-implemented setFoo: and foo methods. Yes, KVC should handle that -- I'll update the documentation. Thanks!
from maobjcruntime.
Yep, that was my point of confusion. I don't know whether KVC can handle custom accessor names, wouldn't surprise me if it couldn't. That could lead to some "interesting" behavior if your backing ivar does match the pattern that KVC looks for.
from maobjcruntime.
Related Issues (9)
- Associated Object API HOT 11
- How to get the use of a app traffic?
- Definition of 'Protocol' must be imported from module 'ObjectiveC.Protocol' before it is required HOT 2
- Does it support arc? HOT 1
- How to better use of PLCrashReporter? HOT 1
- TestProtocolQuery fails for i386 HOT 1
- Deployable to App Store? HOT 2
- Methods with primitive arguments HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from maobjcruntime.