Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
problem with AUGenericView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

problem with AUGenericView



Hi,

I am using an AUGenericView under 10.5 and am experiencing a crash in a particular situation. I wasn't having this problem under 10.4, so I wondered if it was a bug that needs reporting or if it was due to 10.5 functioning slightly differently.

I take the AU view and successfully add it to another view using the method addSubview. If I then remove the view using removeFromSuperview (preceded by a call to retain) and then re-add the view I get a crash when my code calls addSubview. Xcode reports it is at objc_assign_strongCast, right after the call to [AUGenericView viewWillMoveToWindow:].

Any workarounds if it is a bug?

Thanks.

- John
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.