One more thing…this all seems to work fine for Graphics::Point-typed attributes:
namespace Graphics
{
class Point : CGPoint
{
};
}
On Nov 1, 2012, at 23:36 , Rick Mann wrote:
> Huh. I made this small test case to narrow down the issues. I've noticed
> something. In my larger project, setBou
Huh. I made this small test case to narrow down the issues. I've noticed
something. In my larger project, setBounds: gets called and its parameter shows
in the debugger as a Graphics::Rect&. But in my sample project, it's the
(correct) Graphics::Rect.
(Note in the sample below I omitted the "Gr
I'm trying to copy NSManagedObjects using -dictionaryWithValuesForKeys and
-setValuesForKeysWithDictionary:. Some of my attributes are C++ objects (simple
ones). For example:
class
Rect : public CGRect
{
};
@interface
MyObj : NSManagedObject
@property (nonatomic, assign) Rectboun