I can’t seem to see the NSValueTransformer class when developing a MonoMac application using MonoDevelop. For instance, this simple code gives a compilation error:
public class MyTransformer : MonoMac.Foundation.NSValueTransformer
{
}
But I do see it added to this fork of the official MonoMac distribution:
https://github.com/baulig/monomac/commit/2c4e6d24e966bb795fb70624ea5bebce74f653fc
How come it isn’t included by default? How can include the commit from the above link in my distribution? Or can I perform value transforms in IB without explicitly referencing this class/interface?
NSValueTransformer was added on August 8th, which possibly predates the most recent release?
I build monomac from source and I am using NSValueTransformer in my code.
This article should help you build from source and use that in your distribution:
MonoMac from Source