Hi,
I have subclassed NSTextAttachment/NSAttachemntCell pair and I need to
implement mouseOver.
NSTextAttachment are inserted programatically to NSTextField's
NSAttributedString object, displayed correctly
and I can manipulate them.
I have found not very elegant way how to create and track NSTra
Hi,
one of the ways could be to use own NSLayoutManager and use it to draw
NSAttributed string
in my subclass of NSTextAttachmentCell and its draw method.
NSLayoutManager has boundingRectForGlyphRange:inTextContainer: method from
which I could obtain bounds of glyph representing
NSTextAttachmen
Hello,
I creted an IB Palette for control with CALayer I animate.
This layer is a sublayer of the [control layer].
Control works normally in the IB, the IB Simulator and also in my test
application.
When I use this control as a NSToolbarItem item of NSToolbar, drawLayer: in my
delegate is never
Hi,
I am reading Photoshop layer images using this approach:
(simplified code)
for (i=0; i <= imageCount; i++)
{
unsigned long offset, size;
GraphicsImportSetImageIndex(importer, i);
GraphicsImportGetDataOffsetAndSize(importer, &offset, &size);
// create a Graphics Exporter component that w
Hi Throsten,
what you suggested is a standard routine, but it reads just flattened image as
it was stored by Photoshop
to a .psd file.
I need to read layer images that are stored in .psd file.
The only way I know is using
>> GraphicsImportSetImageIndex(importer, i);
Where i is an index of im
Hello,
could anybody explain what is this method:
/*!
@method setOverlay:forType:
@abstract Sets an overlay (Core Animation layer) for the image or the image
background.
*/
- (void)setOverlay: (CALayer *)layer forType: (NSString *)layerType;
I tried to use it in IKIMageViewDemo this way:
Hello,
I'm trying to migrate an existing application to sandboxing (on Lion).
It is just a regular document-based app, doesn't do anything wild.
I've enabled user selected file access (read/write).
Sometimes I get this message in the console:
5/21/12 3:28:35.002 AM sandboxd: ([7221]) MyAppName(7