|Nov 13, 2012, 11:55 AM||#1|
Very basic Xcode question
I have just one text field on MainMenu.xib. That's all I have. I want to set its text to "Hello, world!" How do I do it programatically? I've spent some years with other development platforms including VB.Net. For now, Xcode is quite difficult to use. I'm using Xcode 4.5.1.
The VB.Net code equivalent to what I want to do is the following.
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load TextBox1.Text="Hello, world!" End Sub
Last edited by jim51538; Nov 13, 2012 at 12:43 PM.
|Nov 13, 2012, 02:00 PM||#3|
Buckle up, it's going to be a bumpy ride . . .
The Xcode / Cocoa / OS X / iOS / Objective - C universe is much different from the Visual Studio / Windows / C++ VB.net universe you're used to.
Much of what is true in your old universe is not true in the new.
iMac 21.5", 3.06GHz, 4 GB, 2 TB HD.
iPod Touch 3G.
|Thread Tools||Search this Thread|
|thread||Thread Starter||Forum||Replies||Last Post|
|Snow Leopard File Vault Question and Basic System Password Question & Time Machine?||GordonGekko999||Mac Basics and Help||0||Oct 25, 2013 07:06 AM|
|Very basic stupid question||maryjolemmon||Mac Applications and Mac App Store||1||Jun 9, 2013 04:28 PM|
|Basic C Programming Question - Can anyone help?||007bond||Mac Programming||3||Feb 6, 2013 01:15 PM|
|Very Basic AppleScript Question||TheMTtakeover||Mac Programming||2||Dec 13, 2012 05:45 AM|
All times are GMT -5. The time now is 09:52 PM.