On Sep 5, 2009, at 21:42, Christiaan Hofman wrote: > > On Sep 5, 2009, at 21:32, Adam R. Maxwell wrote: > >> >> On Sep 5, 2009, at 12:26 PM, Christiaan Hofman wrote: >> >>>> No, this works fine in 64 bit (I use it in FileView); the important >>>> part is @public in the declaration of PublicClassIvars, which >>>> obviates the need for @defs since you already have access to _ivars >>>> from PublicClass. For true opaque objects, you'd use @dynamic, but >>>> then I think you have to use @property accessors...which would >>>> eliminate the private ivar object also. >>>> >>> >>> But PDFKit does not use @public, and the docs say not to use @defs. >> >> How do you know it doesn't use @public, though, since you don't >> have the declaration of the ivar class? > > Trying: when I do it gives a compiler warning. > > Christiaan > >
OK, that actually is not correct, it's a compiler directive. But anyway, I can't use that, because I cannot be sure about the layout of the class, as that's private. Declaring it in the file is dangerous, because Apple can (and probably will) change it in the future. Christiaan ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Bibdesk-develop mailing list Bibdesk-develop@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bibdesk-develop