Re: UIView final frame after device rotation

2013-04-02 Thread Quincey Morris
On Apr 2, 2013, at 14:21 , Markus Spoettl wrote: > Not sure if I understand what you're saying, but if that was the case, the > view's frame I'm attaching the overlay to would turn out wrong if the device > is rotated. No, once the rotation is complete (at least), there'd be no transform any m

Re: UIView final frame after device rotation

2013-04-02 Thread Markus Spoettl
On 4/2/13 10:53 PM, Quincey Morris wrote: On Apr 2, 2013, at 13:25 , Markus Spoettl mailto:ms_li...@shiftoption.com>> wrote: I'm displaying an overlay window which is "attached" to the view in question. When the rotation takes place, it needs to realign itself so that it's new location agrees w

Re: UIView final frame after device rotation

2013-04-02 Thread Markus Spoettl
On 4/2/13 10:39 PM, David Duncan wrote: On Apr 2, 2013, at 1:25 PM, Markus Spoettl wrote: On 4/2/13 8:37 PM, David Duncan wrote: I have a hard time figuring out how to get the frame (in the window coordinate system) a view will rotate to, when the rotation has just begun. What are you tryin

Re: UIView final frame after device rotation

2013-04-02 Thread Quincey Morris
On Apr 2, 2013, at 13:25 , Markus Spoettl wrote: > I'm displaying an overlay window which is "attached" to the view in question. > When the rotation takes place, it needs to realign itself so that it's new > location agrees with what the view displays (in my context). Isn't it a mistake to tie

Re: Providing a Service without activating an app

2013-04-02 Thread Kevin Callahan
On Apr 2, 2013, at 11:03 AM, Andy Lee wrote: > I'm writing an app that provides an NSService. Is there a way to have the app > not activate when the service is invoked? > > Alternatively -- where can I find good docs and/or sample code for creating a > standalone .service bundle? > > --Andy

Re: UIView final frame after device rotation

2013-04-02 Thread David Duncan
On Apr 2, 2013, at 1:25 PM, Markus Spoettl wrote: > On 4/2/13 8:37 PM, David Duncan wrote: >>> I have a hard time figuring out how to get the frame (in the window >>> coordinate system) a view will rotate to, when the rotation has just >>> begun. >> >> What are you trying to do? >> >> Typically

Re: UIView final frame after device rotation

2013-04-02 Thread Markus Spoettl
On 4/2/13 8:37 PM, David Duncan wrote: I have a hard time figuring out how to get the frame (in the window coordinate system) a view will rotate to, when the rotation has just begun. What are you trying to do? Typically you don't need to worry about this. The root view controller's view will h

Re: Setting position of CALayer doesn't animate

2013-04-02 Thread Kyle Sluder
On Tue, Apr 2, 2013, at 12:07 PM, David Duncan wrote: > On Apr 2, 2013, at 12:04 PM, Steve Mills wrote: > > > On Apr 2, 2013, at 13:49, David Duncan wrote: > > > >> By default a UIView will disable animations on its layer via the CALayer > >> informal delegate protocol (if you are creating thi

Re: WebView find panel/bar implementation

2013-04-02 Thread jonat...@mugginsoft.com
On 2 Apr 2013, at 17:13, Mike Abdullah wrote: > > On 2 Apr 2013, at 12:43, jonat...@mugginsoft.com wrote: > >> I provide some app documentation in both RTF and MarkDown and switch in an >> NSTextView or WebView for display as required. >> >> But I don't see much in way of integrating NSTextFi

Re: Setting position of CALayer doesn't animate

2013-04-02 Thread David Duncan
On Apr 2, 2013, at 12:04 PM, Steve Mills wrote: > On Apr 2, 2013, at 13:49, David Duncan wrote: > >> By default a UIView will disable animations on its layer via the CALayer >> informal delegate protocol (if you are creating this layer yourself, you >> should not assign a UIView subclass as i

Re: Setting position of CALayer doesn't animate

2013-04-02 Thread Steve Mills
On Apr 2, 2013, at 13:49, David Duncan wrote: > By default a UIView will disable animations on its layer via the CALayer > informal delegate protocol (if you are creating this layer yourself, you > should not assign a UIView subclass as its delegate). This is why you aren't > seeing implicit a

Re: Setting position of CALayer doesn't animate

2013-04-02 Thread David Duncan
On Apr 2, 2013, at 11:43 AM, Steve Mills wrote: > On Apr 2, 2013, at 13:35, David Duncan wrote: > >> What class is acting as the layer's delegate? > > My ScreenSaverView is the delegate. By default a UIView will disable animations on its layer via the CALayer informal delegate protocol (if

Re: Setting position of CALayer doesn't animate

2013-04-02 Thread Steve Mills
On Apr 2, 2013, at 13:35, David Duncan wrote: > What class is acting as the layer's delegate? My ScreenSaverView is the delegate. Steve via iPad ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator c

Re: UIView final frame after device rotation

2013-04-02 Thread David Duncan
On Apr 2, 2013, at 10:59 AM, Markus Spoettl wrote: > I have a hard time figuring out how to get the frame (in the window > coordinate system) a view will rotate to, when the rotation has just begun. What are you trying to do? Typically you don't need to worry about this. The root view control

Re: Setting position of CALayer doesn't animate

2013-04-02 Thread David Duncan
What class is acting as the layer's delegate? On Mar 31, 2013, at 8:45 PM, Steve Mills wrote: > Trying to learn animation stuff here, but it isn't working as documented. I > have a CALayer installed on my view (subclass of ScreenSaverView). Then > another CALayer is added as a subLayer on that

Providing a Service without activating an app

2013-04-02 Thread Andy Lee
I'm writing an app that provides an NSService. Is there a way to have the app not activate when the service is invoked? Alternatively -- where can I find good docs and/or sample code for creating a standalone .service bundle? --Andy ___ Cocoa-dev m

UIView final frame after device rotation

2013-04-02 Thread Markus Spoettl
Hi, I have a hard time figuring out how to get the frame (in the window coordinate system) a view will rotate to, when the rotation has just begun. I'm observing UIApplicationDidChangeStatusBarFrameNotification on NSNotification's defaultCenter. When this notification is delivered, the rot

Are custom clipping files dead?

2013-04-02 Thread Steve Mills
Am I correct in remembering that OS X no longer supports clipping files of non-standard formats? I can create text and image clippings, but one Carbon app I *know* used to create custom clippings no longer does so. Is it possible using Cocoa's drag & drop support? -- Steve Mills office: 952-818

Re: WebView find panel/bar implementation

2013-04-02 Thread Mike Abdullah
On 2 Apr 2013, at 12:43, jonat...@mugginsoft.com wrote: > I provide some app documentation in both RTF and MarkDown and switch in an > NSTextView or WebView for display as required. > Text view searching works well using the NSTextFinder find bar. > However, implementing a WebView find panel/bar

WebView find panel/bar implementation

2013-04-02 Thread jonat...@mugginsoft.com
I provide some app documentation in both RTF and MarkDown and switch in an NSTextView or WebView for display as required. Text view searching works well using the NSTextFinder find bar. However, implementing a WebView find panel/bar seems difficult. - (void)performFindPanelAction:(id)sender is st