Added: 1 year ago
From: thenewboston
Views: 15,783
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (50)

Sign In or Sign Up now to post a comment!
  • i made it work but, instead of

    -(void)actionSheet...willDismi­ssWithButtonIndex:(NSInteger)b­uttonIndex...

    I used

    -(void)actionSheet...clickedBu­ttonAtIndex:(NSInteger)buttonI­ndex...

    Great tutorials here ;)

  • @MrTsuK Thanks man that really fixed the issue!

  • @jonmcd123 Anytime ;)

  • You, Sir, are awesome! I've gone from not knowing anything about programming, to already on my way to making a very basic App, in three days. (lots of practives, notes and debugging, but these videos have helped so much!).

    Please, make more and more!! I'll support you as much as I can as a YouTube viewer!

  • HOW DO I HIDE THE BUTTON I DONT HAVE THE OPTION IN INTERFACE BUILDER

  • @inunaruharu yes you do... i had the same issue... just scroll down the attributes (i think) page, and you'll see another drawing menu....

  • hi first i would like to say you Tutorials are amazing keep up the great work and i would love to donate if i can some how no for a question i have just finished iphone development tutorial 16 and all works great but when i click the button to show the alert it just dus the same as the cancel button wear did i go wrong please ?

  • @garethsam2001 you forgot to put [alert show]; before the [alert release];

  • How did the call go with the gurl?!?!

  • IF THE APP CRASHES INSTEAD OF SHOWING THE ACTION SHEET:

    Go to interface builder.

    ctrl+drag file owner to button.

    click on button

    under "connections" in the inspector, get rid of "touch up inside" (click the x)

    then re-link by dragging the dot onto the button.

    save xib and build. Should now work :-)

  • @MrSkinnyBill yes it worked, but this is odd.

  • @MrSkinnyBill thnx bro! that works...

  • thanks!!!

  • I click it and no alert pops up.

  • Wow! I built and run the app with no errors but no freaking alert would show. After really reading through the code it proved to be my failure in using a capitol "I" in "willDismissWithButton(I)ndex"­. Not the type of error you´d expect fubar your app... :P

  • @Maverick72nd Thanks for pointing that out, I had the same problem, except I forgot the second 's' in 'dismiss'.

  • @nintandrew13 Haha I had the exact same issue! Wish it had thrown an error would have saved me half an hour!

  • when i click the button, the app crashes

  • @allmasteraa if you havent fixed it yet, try saving code, relinking the button after you take out the parameter and then save the interface builder. worked for mine

  • @wstanulis Great! Your solution solved my problem.

  • @allmasteraa go to /User/Library/iPhone Simulator and delete the folder in there ;)

  • @rmontero67 Instead of deleting folders, in the iPhone simulator you can simply click iPhone Simulator > Reset Content & Settings. This will effectively clear your simulated iPhone & give you a fresh install.

    @thenewboston Brilliant tutorials. Is there anywhere I can donate?

  • @allmasteraa I reconnected the button connection from "Touch Up Inside" because it had a colon after "buttonPressed" under File's Owner. When reconnected in the interface builder it worked.

  • @allmasteraa check my comment below (it starts IF THE APP CRASHES INSTEAD OF SHOWING ACTION SHEET)

  • @allmasteraa i think you need to go into interface builder and reallocate the mothod

  • @allmasteraa same here :(

  • @couscouslover I had the same problem but I fixed it by fixing an error I had in my switchChanged method. Hopefully that helps

  • @allmasteraa in the previous video bucky already told to re-link visual objects with code, cause we removed :(id)sender from -(IBAction)buttonPressed

  • i don't understand... why this time you use void instead of ibaction to setup a method? :(

  • @Josie IBAction is used to link a method with a button or something similar in the Interface builder. declairing Void just means that the method will return no argument on its return.

  • Comment removed

  • and it's not fair to call it a bun press!

  • @IntenseSNEZZLIN hhaahahahhaahah!

  • HI Bucky, I didn't got answers to my questions put on your forum... was it too simple or...

  • @MRRSENA In Soviet Russia... Answers question you!

  • @theman42511 hahahaha....LMAO....btw i hv posted 143 videos in just 5 minutes and not only the name of my crush even the lady came out and had sex with me....its amazing....try it fellas...:P;P

  • Congratulations Bucky!!! 900 videos!! Hell Yeah!! you´re the man!!

  • 900th video !

  • can I borrow your brain please..just need to make some game hacks for myself

  • First rate and comment ;)

  • @5trayProductions Ur right!

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more