[Mono-osx] [MonoMac] Core Animation duplicate definitions

kjpou kjpou at pt.lu
Sat Jan 15 13:32:35 EST 2011


Will be creating a patch and sending it with some more definitions.


On 1/15/11 5:39 PM, Miguel de Icaza wrote:
>> While merging my changes for coreanimation I found a couple of duplicate
>> definitions within coreanimation.cs and CADefs.cs
> [...]
>> Which is the way that they are to be defined?  [Field] or within the
>> CADefs class with const strings:
> [Field] are the preferred option.   The good news is that the CADefs
> values were never public, so we are not going to break the API if we
> remove them.
>> I like the [Field] definition in case Apple decides to change them in
>> the future.  Of course you may have reasons for defining them with
>> constants.
> Exactly.
> Let us go the [Field] route.

More information about the Mono-osx mailing list