Hey Daniel -

What you're trying will probably work. IB is issuing a warning because it sees that MYCollectionView is a subclass of NSCollectionView, and it knows that NSCollectionView doesn't exist on Tiger. You can either ignore the warning, create the MYCollectionView in code, or tell IB that the deployment target for the XIB is 10.5 even though that isn't really true.

Good Luck -
Jon Hess

On May 13, 2009, at 12:28 AM, Celery01 Lin wrote:

Hi , List,

I‘m doing some work of downgrading the existing Leopard GUI to Tiger GUI.

We are using a lot of Bindings and NSCollectionView ,NSCollectionViewItem in the current xib.I want to reuse the current the xib in the Tiger version ,
cause we use binding to control a lot of UI elements dependencies.

So I change the current NSCollectionView's class Identify to my own class ,
e.g. MYCollectionView. ,which I'm going to implement it with the same
interface of NSCollectionView. However , when I change the Deployment Target into Mac OS X10.4.x in the XXX.xib Info panel and save the xib project . IB post the error said that NScollectionView is unsupported in the version
prior to 10.5.
Now I'm confused by the error message , I've already changed all the
NSCollectionView and NSCollectionViewItem's class identity to my own class . Why the IB still post me this kind of message? Could anyone give me some
hint of how to handling this problem? Thank you in advance.


By the way , if this approach is not accessible , does that mean I have to
recreate all the xib ?



Best Regards ,
- Daniel yi Lin
_______________________________________________

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/jhess%40apple.com

This email sent to jh...@apple.com

_______________________________________________

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