Hi All
Ive been playing around with XCode to get my feet wet - very simple stuff. The current objective is to get a specific character from a string using characterAtIndex
I have two IBOutlets declared in Controller.h. sourceString and characterString
I have two NSStrings in the same place sourceStringValue and characterStringValue
I can successfully set sourceStringValue by taking data from the GUI using [sourceString stringValue]
I can assign sourceStringValue to characterStringValue and display the result in the appropriate field in the interface.
By going through old posts and shamelessly cribbing I added a variable of type unichar and got to c = [sourceStringValue characterAtIndex: 1]; which built OK
How on earth do I get the "c" value back to the interface ??
The problem as far as I can tell revolves around the data type Im using but I have no idea what
TIA for any help
Rod |