Re: Window Resize with Animator Proxy: Window Contents Jump Around

2009-07-16 Thread Marc Liyanage
On 13.07.2009, at 15:59, I. Savant wrote: My guess: I think because you're removing (with or without animation) the bottom field / label, you're changing the autosizing behavior of the content view's contents while it's being moved around. On 14.07.2009, at 04:37, Peter N Lewis wrote:

Window Resize with Animator Proxy: Window Contents Jump Around

2009-07-13 Thread Marc Liyanage
I am trying to resize a window with an animation using the NSAnimatablePropertyContainer animator proxy mechanism. The views have the Wants CA Layer option set in IB. I use this code: NSRect frame = window.frame; frame.size.height += delta; frame.origin.y -= delta;

Re: Using non-id sender in IBAction methods

2009-06-08 Thread Marc Liyanage
On 08.06.2009, at 03:09, Bryan Henry wrote: As someone already said, if your action method is specific enough to the type of sender object I should have been clearer about that. Yes, I am only talking about action methods that are pretty specific and that will not get connected to

Using non-id sender in IBAction methods

2009-06-07 Thread Marc Liyanage
With the new dot notation I sometimes use explicit types in my IBAction methods: - (IBAction)doSomething:(UIButton *)button ... instead of - (IBAction)doSomething:(id)sender ... so I don't have to downcast sender to be able to use the dot notation. Do others do this too? Is this

Re: dot notation doesn’t work as expected f or some library classes

2009-05-25 Thread Marc Liyanage
the transformation and I was looking specifically for a class that has a (void)setXXX: method that is not really a property accessor. Thanks again _ Marc Liyanage http://www.entropy.ch

dot notation doesn’t work as expected for som e library classes

2009-05-24 Thread Marc Liyanage
with this: [xyz setString:@foo]; This should be exactly the same. I can’t see how this could behave like it does when the dot notation is simply syntactic sugar, as the documentation states. _ Marc Liyanage

Custom Google Search Engine for Mac OS X Developers

2009-02-18 Thread Marc Liyanage
a bookmarklet, LaunchBar search template etc.: http://bit.ly/macdev-info Let me know what you think, especially if you know other useful sites it should cover. _ Marc Liyanage http