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 (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]