Finishing With Interface Builder - Building Your iPhone Apps Interface Quickly 2/2
Uploader Comments (maniacdev)
All Comments (17)
-
Hey man! I can't find your next video on coding anywhere. Your videos are one of the best I've seen online. If you never continued the tutorial, then you've gotta :D
-
Hmm...I can't seem to add more outlets in the new SDK...help?
-
@maniacdev Did you ever post that code? I'm not seeing it anywhere.
-
So these just stopped here? I really wanted to finish this soundboard... What happened? Wheres the next video?
-
When I dragged my buttons from touch up inside to files owner it would not highlight; ; only first responder would highlight? What gives? Thanks;-)
-
I have a prob new to this and when I go under file owner I cant add outlets running snow leo 32 bit help
-
Hopefully this will be the last comment I write :P, but you also need to synthesize those properties, which is simply "@synthesize playButton;" inside the @implentation section. Hope this helps
-
Also, for actions, where he types "playButtonPressed" into the inspector, you type "- (IBAction) playButtonPressed:(id)sender;" into "SoundboardViewController.h". You also need to put the declarations of these prototypes into "SoundboardViewController.m" which is essentially the same as before, but with curly braces at the end, and no semicolon. You will also need to create properties and synthesize them for the Outlets like so: "@property (nonatomic,retain) IBOutlet UIButton playButton;"
-
Okay, I got to know Objective-C a bit better, so here's how you do it:
Outlets are variables that contain the data returned by the class (as an object of that class). So to add the classes, all you do is you go to "SoundboardViewController.h" and inside the @interface variable declaration section, just type in "IBOutlet UIButton playButton;" etc.
Did you ever post a video on how to use the sound object? This was very useful. Thanks.
footose 2 years ago
Hi Footose,
What I will do is make a post on my site as I am really busy with work atm, so I'll post the code (actually commented it all out in plain english 2 weeks ago, but ran out of time to make the video).. and the sound object a bit later.
maniacdev 2 years ago
Nice work! That keyboard noise is annoying though
DaveLG526 2 years ago
Hmm.. not sure how I'd go about filtering that out. Guess I just need to try to type softer or use an external keyboard.
maniacdev 2 years ago