[PATCH] KVO support for NSRange,NSPoint,NSSize,NSRect

View: New views
2 Messages — Rating Filter:   Alert me  

[PATCH] KVO support for NSRange,NSPoint,NSSize,NSRect

by Eric Wasylishen-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
Here's a small patch which adds automatic observing support for setter  
methods whose types are NSRange, NSPoint, NSSize, or NSRect.

One thing that might be nice cleanup in the future is generate the  
setter*: methods with a macro, since there are now 12 of them and  
they're identical except for the argument type and type of the IMP.

Regards,
Eric




_______________________________________________
Gnustep-dev mailing list
Gnustep-dev@...
http://lists.gnu.org/mailman/listinfo/gnustep-dev

KVOStructs.patch (4K) Download Attachment

Re: [PATCH] KVO support for NSRange,NSPoint,NSSize,NSRect

by Eric Wasylishen-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
I just wanted to bump this up and ask if it could be checked in.

We need this patch for EtoileUI to work properly on GNUstep, and we're  
hoping do a first release of EtoileUI in November.

Thanks,
Eric

 




On 2009-08-19, at 2:17 PM, Eric Wasylishen wrote:

> Hi,
> Here's a small patch which adds automatic observing support for  
> setter methods whose types are NSRange, NSPoint, NSSize, or NSRect.
>
> One thing that might be nice cleanup in the future is generate the  
> setter*: methods with a macro, since there are now 12 of them and  
> they're identical except for the argument type and type of the IMP.
>
> Regards,
> Eric
> <KVOStructs.patch>

_______________________________________________
Gnustep-dev mailing list
Gnustep-dev@...
http://lists.gnu.org/mailman/listinfo/gnustep-dev

KVOStructs.patch (4K) Download Attachment