Hello,

Methods that takes in/out pointers are tricky to override. You cannot
follow the base signature of the wrapper, as it is targeted to send a
message and not be called from Objective-C.

Give a day or two to take a look at the NSFormatter class. I will
provide you a way to correctly implement it.

Regards, Laurent Etiemble,

2009/9/10 ROUTE 66 - Irineu Darau <[email protected]>:
> Hello,
>
>
>
> I try to create a custom formatter, derived directly from NSFormatter.
>
>
>
> I don’t know how to correctly override the
> getObjectBalueForStringErrorDescription function.
>
> I must override it, otherwise an exception is thrown.
>
> The function has 3 parameters:
>
> Monobjc.Id anObject, Monobjc.Cocoa.NSString string, out
> Monobjc.Cocoa.NSString error
>
>
>
> What i don’t figure out is how to put in anObject parameter a NSString I
> want.
>
>
>
> Can you please help me?
>
> Thanks in advance.
>
>
>
> -------
>
> Irineu Ambrozie DARAU
>
>

Reply via email to