That sounds like a good plan. I did something similar in order to try to work out a problem I had with nested CATextLayer objects not displaying. The test app worked great. When I reproduced the necessary bits of code in my application, I still cannot see the text layers. It is very frustrating. Either Apple has a bug (I pray this is not the case) or I've missed something. I walked away from the problem for a while to work on another area of my app. I'll get back to it later, not because it is low-priority, but because I've been trying to solve the problem for a while with little success.

As for the auto-resizing, problem you are having, when looking over my code, I stopped as soon as I noticed the 'needDisplayOnBoundsChange' property. Perhaps there is more to it that I've forgotten. I'll have another look at my code and get back to you.

-Michael
----------------------
The united stand.  The divided get played.

-- Bernie MAC




On Jan 28, 2009, at 5:57 AM, Joe Wildish wrote:

Michael,

Thanks for getting back to me. Yes, it is still a problem. However, I have a fairly large list of problems I'm working on right now, and this isn't near the top :) So I've not looked at it again since posting to the list ...

Having said that; I am intending to knock up a small test app that simply gives a root layer to a view, adds a fixed size layer to that, and then adds another layer to *that* layer ... with the appropriate mask set for the autoresizing - and then see what happens. AFAIK, this is exactly what my actual app is doing, but I'm not seeing the layer resize.

Any input you have would be appreciated.

Regards,
-Joe

On 26 Jan 2009, at 21:09, Michael A. Crawford wrote:

Joe, is this still a problem? I have some code the seems to work properly but I need to study it and compare it to yours before I comment further. Sorry for the wait but I'm just learning this stuff and I wrote the code a couple of months ago and haven't had to re-visit it. When I have something for you, I'll send it to the list so everyone can benefit.


Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to