Great video! I tried several ways to deal with cell buttons, and this one really saved lots of time. Thanks for keep uploading.
@iOSAcademy3 жыл бұрын
Thanks!
@evarilci2 жыл бұрын
my problem is that I used no storyboard or xib, my buttons has no title but image and I am trying to use @objc method to add target.
@mrchumley Жыл бұрын
Thanks so much for this! I had to tweak it a bit to pass the indexPath rather than title (as my buttons don't have titles), and then update the core data behind the table, but your explanation of the delegate pattern was invaluable.
@ГеоргийИванов-ш2т3 жыл бұрын
bro, u r amazing) Once I have a question bout smth you immediately answer it. Huge thanks, appreciate your work
@iOSAcademy3 жыл бұрын
Happy to help
@Modern-Retelling Жыл бұрын
Great video!
@iOSAcademy Жыл бұрын
Thanks!
@andresmorenoviteri2134 жыл бұрын
Great video bro, love the tutorials!
@iOSAcademy4 жыл бұрын
Thanks! Much appreciated
@wizard96693 жыл бұрын
Thank you! Great tutorial!
@iOSAcademy3 жыл бұрын
Youre welcome
@daboja3 жыл бұрын
Thank you. That is an awesome tutorial...
@iOSAcademy3 жыл бұрын
Youre welcome!
@mattcomerford32962 жыл бұрын
Great video
@henrybridges40603 жыл бұрын
is it possible to have multiple buttons in the cell? if so, would i need to pass through not just title but title1, title2, title3, title4? Great video - thanks
@nitinsoni34523 жыл бұрын
Thanks
@iOSAcademy3 жыл бұрын
Youre welcone
@dodilodi12783 жыл бұрын
Well done! Probably, better example would have been if you used UISwitch.
@iOSAcademy3 жыл бұрын
Thanks
@bitsurfer01013 жыл бұрын
What is the alternative to using an extension (as far as coding style goes)?
@hakilucky59123 жыл бұрын
o yeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee thank u millllooooooonnnnnn times !
@iOSAcademy3 жыл бұрын
Youre welcome!
@Natena Жыл бұрын
Im having hard time, understanding when exactly "private let title" at line 27, gets its correct meaning?
@kevinzetterlind13892 жыл бұрын
The title u have as string in the functions inside the cell for me is a CoreData object. How do I go from there? Great videos
@ismayilkarimli3 жыл бұрын
Hey man, thanks for a great video. How would I do this programmatically?
@iOSAcademy3 жыл бұрын
Youre welcone & ill make a video on this
@stevee2532 жыл бұрын
Great video! How would you change the text of a label in the cell from didTapButton?
@jojuanf99884 жыл бұрын
Thank you for the vid. I was able to implement this into my app! Now I have a tableview with a collection view inside of a tableview cell. The collection view cell has a button. Been messing around with this method and can’t seem to figure out how to access the main view controller from the collection view cells button. Any advice on how to do this? Or possibly a video?
@iOSAcademy4 жыл бұрын
You're welcome! You should use a delegate reference.
@LuizPustiglione3 жыл бұрын
Great video. My issue is with the .link. Keep getting the "link' is only available in iOS 13.0 or newer" error. tried the @available(iOS 13.0, *) with no success. Need to go back to basics.
@Tenly20093 жыл бұрын
If I have a UIControl that supports tap events - but I want to display it in a tableview or collectionView cell and BLOCK any tap events from reaching it. What is the right way to do that? (I think I tried using the .isUserInteractionEnabled switch on the cell - but then my didSelectCell also stopped working.)
@ulugbeknematjonov5664 жыл бұрын
Your videos so useful. do you work TopTechCompany?
@joelbialluch5559 Жыл бұрын
What if I have different prototype cells?
@Randor104 жыл бұрын
Excellent explanation. Just what I wanted. The only thing missing is whether this can be applied to clicking on the cell's built-in Accessory image. I am using an AccessoryType of .Detail and I'd like to be able to click on that and segue to another viewController. any ideas?
@iOSAcademy4 жыл бұрын
Thanks! And nope, you need custom tappable content
@marioguerrero13113 жыл бұрын
How do you that just programmatically without storyboards or nib files?
@edgob99104 жыл бұрын
hey man Great tutorial.. I have a question how do I change my view to the button that was selected. to add subview like Fruitselection2 or fruitSelction1 etc. thank you
@iOSAcademy4 жыл бұрын
You would need to use the delegates to call back to that particular view
@ethan79304 жыл бұрын
how do you add indexPath to your delegate pattern?
@iOSAcademy4 жыл бұрын
Indexpath is a type you can use
@GG-hk5iz4 жыл бұрын
Can you please tell how to do with Closure ?
@iOSAcademy4 жыл бұрын
You can pass a reference of the closure instead of a delegate to call
@boccacini39304 жыл бұрын
Hello, Your videos are great! I am stuck as my code wont accept the code line: table.register(DiabetesTableViewCell.nib(), forCellReuseIdentifier: DiabetesTableViewCell.identifier)
@iOSAcademy4 жыл бұрын
Thanks! Whats the error you are getting?
@user-ht1sd1ml7k4 жыл бұрын
Thank you for sharing the wonderful tutorial. i'm near here i would like to know how to show a view controller as a tap screen or pop-up window. //extension ViewConroller: MyTableViewCellDeligate{ func didTapButton(with title: String){ } please share the knowledge :) Peace...!
@iOSAcademy4 жыл бұрын
You're welcome. To do what you've asked you should use a container controller. I'll make a detailed video on this
@user-ht1sd1ml7k4 жыл бұрын
@@iOSAcademy eagerly waiting for it .. :)
@edgob99104 жыл бұрын
I am at this stage right now did you guys find useful tips?? help me add my subviews please any help?
@johnparker5173 жыл бұрын
@@iOSAcademy Wonderful video! Did you ever get the chance to make a video on this? I looked around your channel but didn't find one, but perhaps I just missed it. Cheers!
@jackpitts5561 Жыл бұрын
Great vid, but you went all the way to the end, but didn't show how to update a cell for something like a "thumbs up" button. Recommend adding to this video another minute, and show how the button could change from unshaded to shaded, THEN you'd have a complete video here.
@Dino-qz9bt4 жыл бұрын
Please use SwiftUI😩
@iOSAcademy4 жыл бұрын
Ive got some follow up vids with swiftUI coming :)