Hi guys,
I am working on my first OBJ-C project but i have stumbled across a problem when trying to retrive the actual text thats being stored in a NSMutableArray
What i need to be able to do is find with in the "SSID" object the name of the SSID i have in a variable, then with that found i need to be able to grab the connectSourceScript that it has in another object...
this what i have so far, but it wont work really at all due to i cant work out how to match the SSIDs
i hope this makes senses
I am working on my first OBJ-C project but i have stumbled across a problem when trying to retrive the actual text thats being stored in a NSMutableArray
What i need to be able to do is find with in the "SSID" object the name of the SSID i have in a variable, then with that found i need to be able to grab the connectSourceScript that it has in another object...
this what i have so far, but it wont work really at all due to i cant work out how to match the SSIDs
Code:
/*works*/
script = [[ssidDic objectAtIndex:0] objectForKey:@"connectSource"];
/*only partly works result = ("display dialog hello", "--disconnect ScriptCode") */
script = [ssidDic valueForKey:@"disconnectSource"];
i hope this makes senses