String encodings
String encodings
- Subject: String encodings
- From: Yorh <email@hidden>
- Date: Tue, 4 Apr 2006 00:55:37 +0200
Hi to all,
I have a problem I think with string encodings.
I have a string made in this way:
NSString * nickName2 = [[NSString alloc]initWithData:dataNick
encoding:NSUTF8StringEncoding];
[self startPrivateWith:nickName2];
After it I adda NSTabViewItem in my tabView in this way:
-(void)startPrivateWith:(NSString*)privUsername{
NSTabViewItem * newTab = [[NSTabViewItem alloc]init];
[newTab setIdentifier:privUsername];
[newTab setLabel:privUsername];
[theTabView addTabViewItem:newTab];
}
Now I have to retrieve the index of the NSTabViewItem with a
specified identifier.... but when I use
indexOfTabViewItemWithIdentifier: the method returns me always
NSNotFound.....
I'm really lost :(
Thank you all
Yorh
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden