Newbie pulling my hair out regarding a simple xcode issue. Please help :-)
Newbie pulling my hair out regarding a simple xcode issue. Please help :-)
- Subject: Newbie pulling my hair out regarding a simple xcode issue. Please help :-)
- From: Papa-Raboon <email@hidden>
- Date: Mon, 23 Jun 2008 17:37:43 +0100
Hi All,
I have been trying to get my hair around Cocoa programming and have
worked through many a tutorial and it seems to be coming to me slowly.
I wondered if anyone could help me figure out a simple exercise that I
came up with myself to make it clearer how to properly address objects
with each other.
I have a simple interface in interface builder that has two text
fields (NSTextField) and a multi-line NSTextField and a button.
The two text fields are "firstName" & "lastName". The multi-line text
field is "peoplesNames" The push button is "addName".
All I need this to do is allow me to type a first name, last name,
press a button and the name gets added to the multiline text field.
Only issue is I cannot get my head around what connects to what in
Interface Builder.
I guess I need to concatenate the two name fields into a single
NSMutableString (with a space in the middle) then add them to an
NSMutableArray which is looped through to display in the multiline
text field.
This would be an insignificant task for an experienced Cocoa
programmer but would teach newbies like me a thing or two.
Many of the tutorials seem to be far too simple. And others too
complicated. Where's the intermediate ones like this.
Could anyone please help in some way either with a description of what
needs to be done or a link to a similar tutorial.
Cheers
Paul Randall
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden