Re: why can't I see my layer?

2009-03-13 Thread Memo Akten
for others reading this on the archives, I found the problem, I need to set the bounds (or frame) for titleLayer. On 13 Mar 2009, at 12:09, Memo Akten wrote: I have a simple setup below, but I can't see my text layer, what am I missing? (also are all of the commented lines nessecary?) vi

why can't I see my layer?

2009-03-13 Thread Memo Akten
I have a simple setup below, but I can't see my text layer, what am I missing? (also are all of the commented lines nessecary?) view= [[[NSApplication sharedApplication] keyWindow] contentView]; rootLayer = [CALayer layer]; [rootLayer setBounds: NSRectToCGRect