PDA

View Full Version : new action inside MainWindow.xib ????


imaumac
2008.10.10, 12:28 PM
HI.
i have this question..
why if I try to add a new action (fir a button)
and click (+)
the new action appear inside of the MainWindow.xib file?

i show you the procces in the next picture.

my question ishow can i do to make appear the
new acction insite the file .h please ;)

thanks a lot !

http://www.1572-8.com/fotos/fotos-server/iphone-dev/foto%20pregunta%202.jpg

AnotherJake
2008.10.10, 01:01 PM
Just manually (write yourself) add:

- (IBAction)myAction1:(id)sender;

to your pantalla_cambioAppDelegate.h file, save it, and it will show up in InterfaceBuilder automatically.

OR you can select File->Write Class Files... and merge the changes that way.

But, I find it easier to just write it myself manually in the header.

imaumac
2008.10.10, 01:06 PM
i will do in code
is better write in xCode
let see if i fix this !

thanks a lot !

imaumac
2008.10.10, 01:12 PM
thanks You !
now is working fine... thanks a lot !

AnotherJake
2008.10.10, 01:15 PM
Great! Glad to help. :)

Since you're not an expert with English, in case you're interested, here is how this could be better written:

HI.
i have this question..
why if I try to add a new action (fir a button)
and click (+)
the new action appear inside of the MainWindow.xib file?

i show you the procces in the next picture.

my question ishow can i do to make appear the
new acction insite the file .h please ;)

thanks a lot !

Hi,

If I try to add a new action (for a button) in Interface Builder and click (+), the new action appears inside of the MainWindow.xib file, but not in the .h file.

My question is: What can I do to make the new action appear inside the .h file?

I show the process in the picture below.


1) It is not listed here in the MainWindow.xib archive.
2) It is necessary to click here to add an action.
3) But why does the action appear here in the archive but not in the .h?

imaumac
2008.10.10, 02:01 PM
thansk...
you know somenthing... this is too valuable for me.
because every time i post in english
y have to translate all with a translator.

i will try to do better !
one more time thanks.... all welcome !

AnotherJake
2008.10.10, 02:11 PM
have to translate all with a translator.

:lol:

Entiendo muy poco de EspaƱol, pero su translator es bueno!

imaumac
2008.10.10, 07:24 PM
i was living in USA some time ago
onestly, i can speak english, a little bit,
but i can not reed and write a lot !

i canu nderstand when i am hearing (people talk)

but when i write or READ .... JESUS !!!!! is hard for me !

but here I am.
saying thank you alltime for your valuable help, (all the forum)
to take the time to read my Dummiest post.

I am trying to make some free app, before submit the commercials app. (some day)
first FREE app to learn xCode and IB, and second to know the market !

I have my first (free) completed I hope in few days submit, but is to heavy , reed in english tutorials to learn xCode

my strong is the animation 3d with MAXON cinema4D,
(if i can help somebody in 3d please letme know)

and second Strong...a webmaster www.elsalvadorguia.com (if some body need help too, my time is yours too to teach)

people helpme I have to help doble !!!!
some day..... i will help people in xCode too... :)

one more time thanks all the forum.
thanks you AnotherJake.

AnotherJake
2008.10.10, 10:08 PM
You're welcome imaumac. There are a lot of international folks on the boards here. The language barrier is obviously very difficult to overcome (I can't imagine trying to learn Xcode and tutorials in another language), but you're doing a good job! Good luck! :)

imaumac
2008.10.11, 09:44 AM
....I can't imagine trying to learn Xcode and tutorials in another language....


very hard...
thanks you !
c4arround !

Zwilnik
2008.10.11, 10:07 AM
Just checked out your site. Suitably over the top of course, but some really nice work and a good showcase.

imaumac
2008.10.11, 10:59 AM
lololol....
thanks