This is a very badly presented excellent video. He should say things like Control Click etc. as he does them. It's far too fast. It took me ages to actually work out what he was doing. When he types he should say what he's typing, like Capital NSBsmall eep Brackets semi-colon. He has obviously not been a teacher.
I could do it, having worked it out MUCH better but it would be three times as long!
As mentioned below, I have the same issue where the "Class Actions" tab does not exist in the latest version of Interface Builder (3.2.4).
The tabs visible to me in the "Object Identity Panel" is the following "Class Identity", then "User Defined Runtime Attributes" and finally "Interface Builder Identity". In none of the other panels is there any sign of this "Class Actions" tab, which is required to complete this tutorial.
@Kaneem I just found it. At the very end of my wits: The "Class Actions" tab has been moved to the bottom of the "Library" Panel. Select the "Classes" category at the top of the "Library" Panel, find the NS Object that you previously created with the name "BeepController" (as per the tutorial) and you will then be able to set the "Class Actions".
Sigh... 4 hours trying to find that. Going back to PC development I think ;-)
I'm using the latest version and I can't really find, where to go to add the actions for the Beep Controller... it's the same with that and the button, there's Attributes but not actions. I'm running on Snow Leopard, (Not sure if my xCode is the LATEST version, the one that was distributed on March 22nd)
What now?
& is there something I didn't do right? When I open xCode and go to new project iPhone OS isn't listed, only Mac.
@A135S4656 The iPhone OS project templates aren't listed because you have not installed the iOS documentation (which is available on the Apple Developer site somewhere…). As for your other problem, well, I'm having the same one, so I'm not sure how to help you there.
Why can i not find one diecent tutorial on xcode? i dont have no nib file on mine and not to mention even then all these tutorials just suck and dont say mine isnt updated cuz i just did it too
This person makes this extremely frustrating by not explaining enough of what he's doing for a beginner to follow. He should have stated it's an advanced tutorial and save the beginners from wasting their time trying to follow along.
yeah, and flash games are really useful applications if you dont have anything else to waste your life with, or if you want to get a small salary as a programmer.
Thank you so much! I've only ever built interfaces in Java/VB/Delphi.. so when I read the tutorials it seemed to imply that I should create a class using Xcode to attach my events to. I was then trying to pull my xcode class into IB rather than the other way around...
When you ctrl-click to drag from the Beep button to the Beep Controller make sure that you click on sendBeep: in the black box that appears. This worked for me anyway.
Same thing is happening for me on Leopard. I put an NSLog() statement and used a debugger. The code is definitely getting to the handler method. It is just NSBeep() that is refusing to beep.
Thanks a ton! I much appreciate coders like you sharing your knowledge and helping the rest of us learn. Thanks again. The best programming books in the world don't help as much as SEEING code written and how things work.
GREAT tutorial... except for one tiny thing which you probably do as a matter of habit, and which I had to find out the hard way after MANY times going through your tut with a fine tooth comb; when you have edited the "h" and "m" files, you *MUST* press the "BUILD" button (top left) before exiting the editor, for both of the files. Just wish you had mentioned that in the video, and saved me 2 hours of frustration... otherwise a VERY good guide. Remember, it's the subconscious actions that MATTER
Thank you Very Much! I have Xcode 3 and was trying to follow along with Apple's tutorial but the changes in interface builder were great enough that I didn't know what to do, but your tutorial closed that gap.
this is a really great tutorial! i am a windows c# developer and I just switched to mac so I find it really useful to have great tutorials on cocoa like that one you created!
thank you very much and I hope you'll do more tutorials!!!
thanks so much for making videos with xcode3 and IB3! nobody else has these, including the documentation from apple when you choose "a quick tour of xcode" from the welcome screen. they should really update that!
also, what other resources exist for beginners to learn xcode3/ib3 if you wouldn't mind sharing?
Dude, Thanks for these.. Im a VB developer (also know c and C++ and java) trying to move to mac development.. Thanks for helping w/ xCode 3 as I'm on Leopard w/ Mac Pro and You're the only guy w/ xcode 3 videos! Keep em coming please?!! :)
This worked nicely. Thanks. :) Any chance you could modify this tutorial to show how to manipulate a label, for instance, that then says, "You pressed the Beep button!"
Command /Xcode3.1.3/usr/bin/gcc-4.0 failed with exit code 1
what's that means???!
tangmengalien 6 days ago in playlist Xcode
This is a very badly presented excellent video. He should say things like Control Click etc. as he does them. It's far too fast. It took me ages to actually work out what he was doing. When he types he should say what he's typing, like Capital NSBsmall eep Brackets semi-colon. He has obviously not been a teacher.
I could do it, having worked it out MUCH better but it would be three times as long!
golaoi 1 week ago
240p. we meet again
7DV7 2 months ago
i know an easier way
1. no coding!
2. no objects!
3. just 3 steps!
SuperComputerdork 1 year ago
nvrmind
modernwarfare2kings 1 year ago
were my button i cant see it it dusnt show up
modernwarfare2kings 1 year ago
This has been flagged as spam show
Hey guys! Check out my channel giving you great xcode tutorials so be sure to subscribe as we are fairly new
also giveaways coming soon :)
see you guys soon!
GeekyLemon 1 year ago
As mentioned below, I have the same issue where the "Class Actions" tab does not exist in the latest version of Interface Builder (3.2.4).
The tabs visible to me in the "Object Identity Panel" is the following "Class Identity", then "User Defined Runtime Attributes" and finally "Interface Builder Identity". In none of the other panels is there any sign of this "Class Actions" tab, which is required to complete this tutorial.
Any idea anyone????
Kaneem 1 year ago 3
@Kaneem I just found it. At the very end of my wits: The "Class Actions" tab has been moved to the bottom of the "Library" Panel. Select the "Classes" category at the top of the "Library" Panel, find the NS Object that you previously created with the name "BeepController" (as per the tutorial) and you will then be able to set the "Class Actions".
Sigh... 4 hours trying to find that. Going back to PC development I think ;-)
Kaneem 1 year ago
@Kaneem YAY!!!
CFD999 4 months ago
I'm using the latest version and I can't really find, where to go to add the actions for the Beep Controller... it's the same with that and the button, there's Attributes but not actions. I'm running on Snow Leopard, (Not sure if my xCode is the LATEST version, the one that was distributed on March 22nd)
What now?
& is there something I didn't do right? When I open xCode and go to new project iPhone OS isn't listed, only Mac.
Somebody please answer.
A135S4656 1 year ago 3
@A135S4656 The iPhone OS project templates aren't listed because you have not installed the iOS documentation (which is available on the Apple Developer site somewhere…). As for your other problem, well, I'm having the same one, so I'm not sure how to help you there.
xoxILoveCatsxox 9 months ago
Why can i not find one diecent tutorial on xcode? i dont have no nib file on mine and not to mention even then all these tutorials just suck and dont say mine isnt updated cuz i just did it too
joejoerg 1 year ago
this was a terrible tutorial you didn't show all the steps or say what you were doing and when you did say what you were doing it was hard to hear!
ShamieWoW 1 year ago
Comment removed
floydy248 1 year ago
I haven't watched this yet....is this on Mac OS X Leopard or Snow Leopard....
Am really desperate to make iPhone/iPod Touch apps on Leopard...not Snow Leopard...
Can you post the link to a Leopard download if you know of one or used one...Thanks
floydy248 1 year ago
This person makes this extremely frustrating by not explaining enough of what he's doing for a beginner to follow. He should have stated it's an advanced tutorial and save the beginners from wasting their time trying to follow along.
larrymm2007 1 year ago
For something this simple, I prefer AppleScript. But if you are making a real program, this is crucial.
programingvids 1 year ago
I have worked much with visual basic on windows and xcode on mac is a lot easier!!
(I don't have mainmenu.nib but mainmenu.xib)
maxoomen 1 year ago
World of Mac is a strange place, very alien to Windows.
0121ryanh117 1 year ago
hi, i cannot really find the place to add an action to the beep controller...
laker0522 2 years ago 4
hey, can you make a tut on adding other sounds? i cant get it to work.
jakeatollah 2 years ago
thanks for this it was very helpful.
KENTOSI 2 years ago
can some1 help me out?
when i drag object into the mean menu i dont get a window to put in the class name and stuff! please help?
TheShantaBu 2 years ago
how do i do the controll click. and in wut sequence
Xerbox1 2 years ago
Nice and easy.
ql3k 2 years ago
Great lesson. Nice job.
khurram93 2 years ago
This comment has received too many negative votes show
omg! im the 33,861st viewer... ,': |
lorkan101 2 years ago
Thanx
really easy .. I done it :)
purple375 2 years ago
Thanx pro ..
the lesson it easy to realize and done
:)
purple375 2 years ago
This comment has received too many negative votes show
LOL im the 31,000th viewer!!!! :D
OlloX3 2 years ago
geez xcode is so BORING. making a game is so much more fun in flash cs3
phatb0yproductions 2 years ago
Comment removed
Geekv2 2 years ago
yes, but with xcode, you're doing real programming
Geekv2 2 years ago 3
real programming is boring
phatb0yproductions 2 years ago
without "real" programming you cant make funny flashgames. flash is made with "real boring" programming
pinokiller225 2 years ago 2
yeah, and flash games are really useful applications if you dont have anything else to waste your life with, or if you want to get a small salary as a programmer.
VitDavide17 2 years ago
your operating system,BIOS and drivers have been coded by programers so its not a waste of time
xleo21 2 years ago 2
i think you didn't got my point, i was talking about flash programming, not real programming. Believe me, i'm a programmer myself.
VitDavide17 2 years ago
oh lmao i thought you said asm,c,c++ etc are a waste of time :D
and yeah flash kinda sucks , but its pretty good for small games , some are relally addictive xD
xleo21 2 years ago
lol
lorkan101 2 years ago
right
VitDavide17 2 years ago
fun, yes, useful... NOOOOOOOOOOOOOOOOOOOO Real programming can get you far, flash is not programming.
VitDavide17 2 years ago
nice, i didn't realize you could do it this way .. way easier :)
tuesdaythefifth 3 years ago
Thank you so much! I've only ever built interfaces in Java/VB/Delphi.. so when I read the tutorials it seemed to imply that I should create a class using Xcode to attach my events to. I was then trying to pull my xcode class into IB rather than the other way around...
oticon6 3 years ago
No!!
Xcode is for mac, if you want to make applications for Windows you need to learn Visual Basic Or C. Objective C is for mac!
WolfNikita 3 years ago 2
I downloaded the newer XCode and it beeps now.
CompsciWiz 3 years ago
My program launches, but I don't hear a beep. I am using Leopard. My source code is the same as yours. Any ideas why it's not working?
CompsciWiz 3 years ago
When you ctrl-click to drag from the Beep button to the Beep Controller make sure that you click on sendBeep: in the black box that appears. This worked for me anyway.
jpitss 3 years ago
Same thing is happening for me on Leopard. I put an NSLog() statement and used a debugger. The code is definitely getting to the handler method. It is just NSBeep() that is refusing to beep.
bulletkidinca 3 years ago
Comment removed
Nenotek 3 years ago
Check your System Preferences -> Sounds -> Alarm sounds (you might have muted your alarm sound) if your beep doesn't work...
Nenotek 3 years ago
This comment has received too many negative votes show
Visual Studio is much better. I can make a beep within 10 seconds.
AbartsWorld 3 years ago
Awesome vid. You really should zoom out though.
neosurrealist 3 years ago 9
everytime i click add exisitng files xcode crashes, can someone please please help me im desperate
psychofish25 3 years ago
How do can you verify the actions associated with a control (e.g., verify that the beep button is associated with the desired action)?
1slyboy 3 years ago
Never mind - I see (press ctrl key on the control). Great video BTW!
1slyboy 3 years ago
Does anybody know how I can make it repeat? So, instead of beeping once, it beeps twice. Although, I want to repeat, not beep twice.
Thanks.
MacTipper 3 years ago
you make a for loop under BeepController.m where it beeps, then pauses for 0.5 seconds or something
psychofish25 3 years ago
You could create an NSTimer object that sends your controller the sendBeep: message every few seconds.
palms831 2 years ago
Thanks a ton! I much appreciate coders like you sharing your knowledge and helping the rest of us learn. Thanks again. The best programming books in the world don't help as much as SEEING code written and how things work.
laughfactory 3 years ago 2
Please go slower next time
genericvideo1 3 years ago
all i need is one censor beep why is it so hard to find?
mewmiki 3 years ago
What did you use to film this?
Pishifat 3 years ago
maybe ishowu, try that
netbird 3 years ago
test
ScottYelich 3 years ago
Having problems with XCode 3.1 and getting this tutorial to work. Everything looks right, but there is no Beep. :(
Dajiu 3 years ago
turn your sound on 100%
Pishifat 3 years ago
why would you need to build an application?
Hildron101010 3 years ago
Looks like this changed with xcode 3.1. Where you add the outlets.. Any ideas?
jchiar 3 years ago
your fast
chloebabygirl 3 years ago 2
This is great. Mine doesn't beep though:(
naptownfly 3 years ago
thanks for showing this in 3 min
i hope to see another tutorials as easy as this
mrbuggs 3 years ago
Thanks... somehow your 3 minute video took me about 10 minutes to create. Works great though!
dynacrylic 3 years ago
Thanks...^^
acar1n 3 years ago
Excellent tutorial! Another C#/Java developer making the move to Mac development...
heywire 3 years ago
GREAT tutorial... except for one tiny thing which you probably do as a matter of habit, and which I had to find out the hard way after MANY times going through your tut with a fine tooth comb; when you have edited the "h" and "m" files, you *MUST* press the "BUILD" button (top left) before exiting the editor, for both of the files. Just wish you had mentioned that in the video, and saved me 2 hours of frustration... otherwise a VERY good guide. Remember, it's the subconscious actions that MATTER
unlokia 4 years ago
Thanks so much Grant. I'm just starting with XCode and IB3 was killing me. This was so useful you can't believe it.
Thanks
Martin
qqik 4 years ago
Thank you Very Much! I have Xcode 3 and was trying to follow along with Apple's tutorial but the changes in interface builder were great enough that I didn't know what to do, but your tutorial closed that gap.
119922334455667788 4 years ago
5 stars dude!
Thanks!
dgtalyt 4 years ago
this is a really great tutorial! i am a windows c# developer and I just switched to mac so I find it really useful to have great tutorials on cocoa like that one you created!
thank you very much and I hope you'll do more tutorials!!!
DaLiSoftware 4 years ago
I am a C# developer as well, do you recommend the switch from windows to mac, to be sincere I am tired of the former...
Thank you...
xcap2000 3 years ago
I suggest at least giving up C# if not being able to handle it.
dlmaniac 3 years ago
Thanks! That is really great!
whitepork0209 4 years ago
thanks so much for making videos with xcode3 and IB3! nobody else has these, including the documentation from apple when you choose "a quick tour of xcode" from the welcome screen. they should really update that!
also, what other resources exist for beginners to learn xcode3/ib3 if you wouldn't mind sharing?
aoberoi 4 years ago
Dude, Thanks for these.. Im a VB developer (also know c and C++ and java) trying to move to mac development.. Thanks for helping w/ xCode 3 as I'm on Leopard w/ Mac Pro and You're the only guy w/ xcode 3 videos! Keep em coming please?!! :)
wbienek 4 years ago
Thank you, very good video!!
beef0n 4 years ago
Did you type the contents of the .m file? because here it only shows the implementation and the end. Did I do something wrong?
Hamster116 4 years ago
The only thing I added to the .m was the NSBeep(); call. Everything else was generated by Xcode.
lammig 4 years ago
This worked nicely. Thanks. :) Any chance you could modify this tutorial to show how to manipulate a label, for instance, that then says, "You pressed the Beep button!"
Thanks
Eric
EricBrian23 4 years ago
awesome, thanks.
how about something with multiple actions?
kriiiiis 4 years ago
Thanks allot bro, two thumbs up :)
mostantosha 4 years ago
Great vid. Look forward to seeing more.
nutthick 4 years ago