Re: How to change color of text in webView

2010-06-02 Thread Shripada Hebbar
You can do all that stuff such as fonts, color in html/css that you feed to web view. Regards Shripada On 03/06/10 8:43 AM, cocoa-dev-requ...@lists.apple.com cocoa-dev-requ...@lists.apple.com wrote: Date: Wed, 02 Jun 2010 22:39:15 +0300 From: Nava Carmon ncar...@mac.com Subject: How to

Re: iPhone resource cache - memory question

2010-05-05 Thread Shripada Hebbar
Hi, I don't see any point in doing this on our own as the iPhone OS anyway gives you memory warning when we are consuming too much of it, and this is the right occasion to cleanup anything that is not needed ( in applicationDidReceiveMemoryWarning: message). Perhaps you are trying to implement

Re: Cocoa-dev Digest, Vol 7, Issue 294

2010-03-11 Thread Shripada Hebbar
Hi Michael, You can use a text filed inside a scrollview. And use CAKeyFrameAnimation on the layer of the text field on its 'position' property. The idea is something like this: You need to compute the appropriate duration for the animation from the size of the text you have. The duration needs

Re: Getting mouse moved events on overlay windows

2008-07-02 Thread Shripada Hebbar
Markus, If your app is Leopard only, you better checkout: NSTrackingArea at: http://developer.apple.com/documentation/Cocoa/Conceptual/EventOverview/TrackingAreaObjec ts/chapter_7_section_4.html#//apple_ref/doc/uid/1060i-CH8- DontLinkElementID_30 NSTrackingArea has methods to

Re: Getting mouse moved events on overlay windows

2008-07-02 Thread Shripada Hebbar
Apologies for suggesting what you had already tried. I had overlooked the original message!:-) Regards Shripada On Jul 1, 2008, at 10:10 PM, Shripada Hebbar wrote: If your app is Leopard only, you better take a look into NSTrackingArea at: http://developer.apple.com/documentation/Cocoa

Re: class keeps track of object

2008-07-01 Thread Shripada Hebbar
Daniel You are trying to create a singleton object in cocoa and there is a good documentation on this at: http://developer.apple.com/documentation/Cocoa/Conceptual/CocoaFundamentals/CocoaObjects/chapter_3_section_10.html -Shripada Thanks! Exactly what I was looking for. Daniel

Re:Getting mouse moved events on overlay windows

2008-07-01 Thread Shripada Hebbar
If your app is Leopard only, you better take a look into NSTrackingArea at: http://developer.apple.com/documentation/Cocoa/Conceptual/EventOverview/TrackingAreaObjec ts/chapter_7_section_4.html#//apple_ref/doc/uid/1060i-CH8-DontLinkElementID_30 -Shripada Hi Markus, I ran into exactly

Re: Layer Backed Views and CoreAnimation neither animate nor stay in place

2008-06-30 Thread Shripada Hebbar
Hi Chilton You better do the addition of subviews and setting up the core animation stuff in the view's awakeFromNib rather than its initWithFrame: method. Since the view is getting loaded from the nib, chances are that your settings within initWithFrame get overridden by the settings in

Re: Core Animation: Disabling Implicit Animations

2008-06-24 Thread Shripada Hebbar
All default (implicit) animations are returned in the method: +(id)defaultAnimationForKey:(NSString*)key You can simply override this and just return nil. This would mute out all implicit animations. And if you want specific animations, you can set them into the animations dictionary of