Adding subview
Adding subview
- Subject: Adding subview
- From: Aidas Dailide <email@hidden>
- Date: Mon, 23 Jun 2003 15:32:05 +0300
Hi,
I have a little problem. I am trying to add subview to another view.
Here is my code:
[supView addSubview:self];
NSLog(@"subviews count:%d",[[supView subviews] count]); <= This returns
0!
Before this code I call:
[self retain];
[self removeFromSuperview];
What could be wrong?
Aidas
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.