Hello,
I'm experiencing some problems when Inserting values from an NSTextView into
a MutableDictionary and then adding the Dictionary into a Mutable Array.
So here is what I do:
NSMutableDictionary *myDict = [myDict dictionary];
[myDict setObject:[tTitle stringValue] forKey:@"title"];
// tTitle & tLink are TextFields
[myDict setObject:[tDescri string] forKey:@"descri"]; // tLink is my TextView
[myDict setObject:[tLink stringValue] forKey:@"link"];
[arItems addObject:myDict];
This is what happens:
The tTitle and tLink values are added just fine to the array, but the tDescri textfield overwrites
every other "tDescri-value" in the array. I don't know why. I was hoping that somebody could help me out with this and maybe even post a work-around?
Thanks in advance!
Rudy
P.S. Does anybody have a clue what happened to Yellow Box on windows, did Apple kill it?
I know this is OT, but I don't know where else to look for an answer!