How to Create TableView in Xcode 15 (Swift 5)

  Рет қаралды 127,061

iOS Academy

iOS Academy

Күн бұрын

Пікірлер: 120
@iOSAcademy
@iOSAcademy 3 жыл бұрын
Enjoy my teaching style? Learn to build the TikTok App from scratch with my course! ios-academy.teachable.com/p/building-tiktok-for-ios
@jimmycho16
@jimmycho16 4 жыл бұрын
Finally, someone who really can explain clearly and in short time. No any bs or blah blah during videos! Thanks for sharing your knowledge!
@iOSAcademy
@iOSAcademy 4 жыл бұрын
You're welcome!
@mushii_shi
@mushii_shi 4 жыл бұрын
As soon as I got questions while watching this, you answered them the next second 😅 Succinct and clear explanation, keep up the good work!
@iOSAcademy
@iOSAcademy 4 жыл бұрын
Haha glad I could help! Make sure to subscribe for more :)
@mlitch5975
@mlitch5975 4 жыл бұрын
Thank you. This was helpful. Watched another tutorial that didn't work at all. Glad I found this one.
@iOSAcademy
@iOSAcademy 4 жыл бұрын
Your welcome. Glad you liked it.
@Scottjyeager
@Scottjyeager 4 жыл бұрын
This is excellent content. the lesson pacing and explanation are the perfect blend of informative and concise. Thank you for making these.
@iOSAcademy
@iOSAcademy 4 жыл бұрын
Feedback like this really motivates me, thanks for watching!
@paulmykhailov
@paulmykhailov 4 жыл бұрын
I love your videos! One thing I can't really get use to is zoom in and out effect while watching. The video quality is decent, I believe you can see the code and icons clear enough.
@iOSAcademy
@iOSAcademy 4 жыл бұрын
Thanks & thanks for the feedback
@Намбаванинзеворлд
@Намбаванинзеворлд 2 жыл бұрын
Best TableView tutorial!
@iOSAcademy
@iOSAcademy 2 жыл бұрын
Thanks
@hamzaalaudi1184
@hamzaalaudi1184 4 жыл бұрын
dude you are awesome, that was a great and clear explanation, simply put. Thank you!
@BusinessDevelopmentSolution
@BusinessDevelopmentSolution 3 жыл бұрын
you explained very well, it helps a lot to the beginners
@iOSAcademy
@iOSAcademy 3 жыл бұрын
Thanks!
@anthonykim2372
@anthonykim2372 4 жыл бұрын
bro you are literally the best. Keep up the good work!!
@iOSAcademy
@iOSAcademy 4 жыл бұрын
Thanks!
@greg_richrd
@greg_richrd 4 жыл бұрын
Great tutorial, really well explained, thanks! But the zoom feature of your screen recording software makes it very hard to follow. Why don't you just lower your screen resolution if you want to make sure that it's not too small ;-)
@Anonymous-vh6kp
@Anonymous-vh6kp Жыл бұрын
I like how you explained things.
@iOSAcademy
@iOSAcademy Жыл бұрын
Thanks
@campusgateapp7707
@campusgateapp7707 3 жыл бұрын
Zooming was not necessary for me. Thank you for the tutorial
@iOSAcademy
@iOSAcademy 3 жыл бұрын
Thanks for the feedback
@harilakkakula9443
@harilakkakula9443 2 жыл бұрын
Good Explanation , show the table view data from API consumption
@iOSAcademy
@iOSAcademy 2 жыл бұрын
Thanks
@hariswaqar9284
@hariswaqar9284 3 жыл бұрын
thank you so much such you are great sir, May God bless you
@iOSAcademy
@iOSAcademy 3 жыл бұрын
Youre welcome
@TechnoForbes
@TechnoForbes 3 жыл бұрын
Amazing video, made me understand table view very nicely.
@MarkizBoneco
@MarkizBoneco Жыл бұрын
Thank you for useful video. As usual.
@iOSAcademy
@iOSAcademy Жыл бұрын
So nice of you
@КириллЗайдулин-с9д
@КириллЗайдулин-с9д 2 жыл бұрын
Great video, thank you very much!
@ahmedmujahad9999
@ahmedmujahad9999 4 жыл бұрын
A great tutorial, simple and well explained. but i would like to suggest pleas also share the code as well on github or else where. it will really help us. thankyou for sharing knowledge.
@iOSAcademy
@iOSAcademy 4 жыл бұрын
Thanks
@youbillonestv
@youbillonestv 3 жыл бұрын
Do you have video for getting user input in table View? Like the table views in Contacts of iPhone. Thanks for this.
@yongtaekpark7808
@yongtaekpark7808 4 жыл бұрын
wonderful and Thank you very much, I want to learn your another class
@iOSAcademy
@iOSAcademy 4 жыл бұрын
Youre welcome. Make sure to subscribe
@hugopinheiro4624
@hugopinheiro4624 3 жыл бұрын
your work is amazing, thank you 🇧🇷
@iOSAcademy
@iOSAcademy 3 жыл бұрын
You’re welcome
@theevanator9252
@theevanator9252 4 жыл бұрын
Thank you for up to date tutorials and for teaching a variety of ways to use the table view
@iOSAcademy
@iOSAcademy 4 жыл бұрын
Your very welcome!
@benedictsth
@benedictsth 4 жыл бұрын
Thank you for this very helpful Video.
@ytlagu2010
@ytlagu2010 4 жыл бұрын
Very cool! Helped me got a concept I was struggling to grasp!
@iOSAcademy
@iOSAcademy 4 жыл бұрын
Glad I could help! Don't forget to subscribe for more videos :)
@snehadugani6219
@snehadugani6219 3 жыл бұрын
please create some videos on macOS app development also.
@viniciushenriquepellegrini3534
@viniciushenriquepellegrini3534 11 ай бұрын
Thank You !
@shruthirao6020
@shruthirao6020 2 жыл бұрын
Hi, when user logs in I want to display his details in tableview, firstly users logs in, currently logged in user adds medicine details that stores in firebase database from there it should fetch
@elmcapp6032
@elmcapp6032 Жыл бұрын
what if we would like to add text and a button to the row
@nishanth4054
@nishanth4054 4 жыл бұрын
Bro, You're awesome.You Have earned a subscriber and made my basics more strong.
@iOSAcademy
@iOSAcademy 4 жыл бұрын
Glad I could help!
@atnghia
@atnghia Жыл бұрын
Hello IOS Academy , I from Vietnamese
@iOSAcademy
@iOSAcademy Жыл бұрын
Hello!
@rishitprajapati6753
@rishitprajapati6753 2 жыл бұрын
Awesome , Thanks
@iOSAcademy
@iOSAcademy Жыл бұрын
You’re welcome
@rookie9114
@rookie9114 4 жыл бұрын
Thank you for sharing this. Just to clarify indexPath.row actually returns an integer, so names[indexPath.row] is just the same thing as returning names[1]?
@PiiiPheCarrasco
@PiiiPheCarrasco 3 жыл бұрын
Do you have a video table view programmatically? Thanks
@iOSAcademy
@iOSAcademy 3 жыл бұрын
Yes, just search it
@PiiiPheCarrasco
@PiiiPheCarrasco 3 жыл бұрын
@@iOSAcademy thanks so much 😄
@ArunKumar-p2k5b
@ArunKumar-p2k5b Жыл бұрын
which keys you are using for the search bar to pop up??
@kkayahuseyin
@kkayahuseyin 10 ай бұрын
shift+command+o
@coonnaarr1984
@coonnaarr1984 3 жыл бұрын
extension "Declaration is only valid at file scope"
@nickcalderaro9166
@nickcalderaro9166 3 жыл бұрын
I think you may have just misplaced a bracket. I fixed that error but now upon building it says “Fatal effort: Unexpectedly found nil while implicitly unwrapping an optional value” You getting the same problem?
@mikheilpukhashvili5653
@mikheilpukhashvili5653 4 жыл бұрын
Perfect
@iOSAcademy
@iOSAcademy 4 жыл бұрын
Thanks
@fernandoli6743
@fernandoli6743 4 жыл бұрын
like you bro, very useful for me
@iOSAcademy
@iOSAcademy 4 жыл бұрын
Thanks
@shrutichouhan8795
@shrutichouhan8795 2 жыл бұрын
can you please provide the full code !!
@missseb3819
@missseb3819 4 жыл бұрын
Thank you! You saved my life!!
@iOSAcademy
@iOSAcademy 4 жыл бұрын
You're very welcome!
@imacg5658
@imacg5658 4 жыл бұрын
I am making an app that is a list of all the Wheel based iPods. When I tap on them, I want them to show information about the iPod. How do I do that?
@dream_emulator
@dream_emulator 2 жыл бұрын
Wait a sec! How did you do that spotlight search in Xcode itself?
@iOSAcademy
@iOSAcademy 2 жыл бұрын
Command shift O
@thevitruvianman9781
@thevitruvianman9781 4 жыл бұрын
Interesting to see another way to create a table view, it's essentially the same as the on I know. Apart from the fact that my view controller inherited from UITableViewController, so I don't need to create and iboutlet, nor specify its delegate and data sources. Cool explanation nonetheless
@iOSAcademy
@iOSAcademy 4 жыл бұрын
Yep! Theres definitely several ways to accomplish the same thing :) Thanks for watching
@thevitruvianman9781
@thevitruvianman9781 4 жыл бұрын
I've got a question, why didn't you just add the protocols after UIViewController with a comma?
@Spacely72
@Spacely72 4 жыл бұрын
Well explained, straight to the point and thorough. My only criticism is the volume of your mic is rather low. Still 10/10 demonstration. Thanks!
@iOSAcademy
@iOSAcademy 4 жыл бұрын
Thank you! Thanks for the feedback too
@fabianthanner8136
@fabianthanner8136 4 жыл бұрын
Great video thank you but i have a huge Problem in all of my table views and i noticed in yours, the problem exists too. The grey line between the cells isn´t in the middle, which means, the whole cell isn´t positioned in the vertical center. I tried so many things with contsraints, nothing helped. Do you have a solution for this problem?
@aaronthompson2535
@aaronthompson2535 4 жыл бұрын
is there a way to make each cell a segue to another view controller with just story board? I'm making a Pokédex like app and don't know any coding but I've gotten pretty far
@iOSAcademy
@iOSAcademy 4 жыл бұрын
Youll be able to present a new view, but need code to pass in data
@mineserv-bk2tm
@mineserv-bk2tm Жыл бұрын
hey, when I create a Project with Swift and Storyboard ill git a Cocoa Class instead of UIKit. does anyone know how to get it right ? :(
@latinacoder3699
@latinacoder3699 4 жыл бұрын
What’s a good recommendation if I wanna display all users or active users would table view work good for it ?
@iOSAcademy
@iOSAcademy 4 жыл бұрын
Yes! Tableview or collection view.
@heathergraves5467
@heathergraves5467 4 жыл бұрын
I built the table view, but want to add a checkmark, making it a checklist. is this something I can add into my project? Tutorial possible?Thank You. Best tutorials I've seen.
@unicornonthecob4302
@unicornonthecob4302 4 жыл бұрын
Yes you can.
@unicornonthecob4302
@unicornonthecob4302 4 жыл бұрын
Once you've created a cell, click on it. Then go to the Attributes Inspector. From the top of the Attributes Inspector go down to "Accessory" (it's the fourth from the top). Click checkmark. That's the basics of it. Of course you'll need to implement code to make it do whatever else you want it to.
@iOSAcademy
@iOSAcademy 4 жыл бұрын
You need to update the accessory type
@heathergraves5467
@heathergraves5467 4 жыл бұрын
@@iOSAcademy I have no experience in this. I built the table view according to your video. I cannot see anywhere that I can update the accessory type. I'm sorry, I'm just lost.
@CJB8112
@CJB8112 3 жыл бұрын
Great video! I'm new to Swift (and coding in general) so I have a follow up question: I am looking to use a TableView to organize my data in layers. Specifically, by year, month. For example, I would like to have a table that specifies year where the user is able to select the applicable year and it takes you to a TableView where you can select the applicable month. You are then able to select a month and it will take you to a place where the user will input data in a template. Is this possible with TableView? If so, how do I make the program return the new TableView with all applicable selections? Thanks in advance for your help!
@SwagatVlogs
@SwagatVlogs 4 жыл бұрын
Need a suggestion please: I need a mac system just for Xcode ONLY. No entertainment or other use. I already have a top of the line line windows laptop for that. Apple does not relase new OS updates for mac mini 2011 model. The last possible update for this model is 10.13, latest update is 10.15. Now the latest Xcode works only on 10.12 and above. Shall I buy this mac? I need it for 2 years in exact. Do you think next Xcode updates will stop working on 10.13?
@iOSAcademy
@iOSAcademy 4 жыл бұрын
Id recommend buying a newer mac
@zhenyuwang4387
@zhenyuwang4387 3 жыл бұрын
Hi, I like your video and it is very helpful. Now I want to build an App with table view that first row display text, second row display image and third row display video. I can build an app that only displays video from table view, but i dont know how make the app to display all the three types. Could you create a video about that? Thank you for your time!
@iOSAcademy
@iOSAcademy 3 жыл бұрын
Thanks and sure
@RobertMcGovernTarasis
@RobertMcGovernTarasis 9 ай бұрын
Why lie? Video is 3yrs old, and clearly uses Xcode 11. Likewise videos marked as 2024 yet are 1-3 years old. Your content is great
@Stephane_
@Stephane_ 4 жыл бұрын
Sorry for asking but what is the difference between a row and a cell? A cell is a thing that can be contained in a row, right? (I'm totally new to mobile development)
@unicornonthecob4302
@unicornonthecob4302 4 жыл бұрын
The cell is that which is placed in however many rows you choose to have it placed in. I hope that makes sense. So if you have a table view with five rows, and you have a cell that you're using in that table view, each of the five rows will have that cell in it. Of course, the point of each cell is to hold different information. So if your app was a list of contacts (with five rows, to keep with the above example) each of your five cells would be accessing one of five different names, and displaying them-- one name in each of your five rows. Again I hope that makes sense.
@iOSAcademy
@iOSAcademy 4 жыл бұрын
Great question, looks like someone beat me to the answer :) But yes, cell is the object itself; row is just the horizontal place said cell is placed. They are basically one in the same
@williamhulsey5451
@williamhulsey5451 3 жыл бұрын
Your tutorials are good, but damn dude, you could do to linger a little on written code before covering it up with your navigation or zoom in a little less so you dont cut off code
@ankitratna2177
@ankitratna2177 4 жыл бұрын
My code is not running plz help. It shows Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[ setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key tableview.'
@iOSAcademy
@iOSAcademy 4 жыл бұрын
This error occurs when you try to set a value on an object that doesn’t support setting values. What I assume probably happened is you tried calling SAT value on the controller, instead of user defaults
@ulugbeknematjonov566
@ulugbeknematjonov566 4 жыл бұрын
why did not you create iphone settings in tableview?
@iOSAcademy
@iOSAcademy 4 жыл бұрын
Ill be doing this soon
@ulugbeknematjonov566
@ulugbeknematjonov566 4 жыл бұрын
iOS Academy bro, now i am doing this but i am in a very difficult situation please speed up the lesson. How Can I contact you. I have many questions about Tableview
@compsci91
@compsci91 4 жыл бұрын
Please turn off the auto-zoom.
@iOSAcademy
@iOSAcademy 4 жыл бұрын
New videos dont have it
@lukassbeataddicts
@lukassbeataddicts 3 жыл бұрын
Dude use weak var for outlets otherwise you create hard link bad for memory
@iOSAcademy
@iOSAcademy 3 жыл бұрын
yep, wanted to keep that confusion out for simple beginners
@BranGaming20
@BranGaming20 4 жыл бұрын
i love it but not same as the thumbnail, because i need a tableview with custome image also text
@iOSAcademy
@iOSAcademy 4 жыл бұрын
Thanks! I think I may do more table view videos to show further customization
@OrangeSlurpiee
@OrangeSlurpiee 4 жыл бұрын
iOS Academy pleases do more videos on table views and more about sections please
@maxspeed2k
@maxspeed2k 3 жыл бұрын
Thanks for breaking down tableview. But how do you know so much??... aren't you an expert in multiple languages?
@iOSAcademy
@iOSAcademy 2 жыл бұрын
No prob! Been doing this fur more than ten years now
@swaraagsistla8641
@swaraagsistla8641 3 жыл бұрын
this whole zooming out thing is quite irritating. I'm trying to get one line of code, but then one second later you zoom into the next part, meaning I can't see the full line, and I have to move back the time just before when you starting randomly zooming in. I find it really irritating to get through when there's a bunch of moving around going on, and if I miss something by just one second, you've already moved on to the next because you randomly zoomed into the next part.
@iOSAcademy
@iOSAcademy 3 жыл бұрын
New videos have no zoom
@swaraagsistla8641
@swaraagsistla8641 3 жыл бұрын
@@iOSAcademy Thank you!
@AnthonyGonzalez-r7q
@AnthonyGonzalez-r7q Ай бұрын
Emmanuel Stream
@davidwim
@davidwim 3 жыл бұрын
Can you please stop zooming in and out so much. Thanks
@iOSAcademy
@iOSAcademy 3 жыл бұрын
Newer videos have no zoom
@Robinlan
@Robinlan 3 жыл бұрын
You go wayyyyy too fucking fast
@tonycartwright2621
@tonycartwright2621 11 күн бұрын
Although your video is 4 years old I have found it extremely helpful in setting up tables. As a start I tried implementing your code but got 2 errors:- func insertNewVideoTitle() { videos.append (addVideoTextField.text!) ERROR Cannot convert value of type 'String' to expected argument type 'Int' let indexPath = IndexPath(row: videos.count - 1, section: 0) tableView.beginUpdates() tableView.insertRows(at: [indexPath], with: .automatic) // tableView.insertRows(at: [indexPath(row 1, section 0,)], with: .automatic) // vectored insert tableView.endUpdates () addVideoTextField.text = "" view.endEditing (true) // hides keyboard AND towards the end let videoTitle = videos[indexPath.row] cell.videoTitle.Int = videoTitle ERROR Value of type 'UITableViewCell' has no member 'videoTitle' return cell I just can't work out how to fix these two. Are you or anyone able to help?
@BalaaLyf
@BalaaLyf 3 жыл бұрын
When select cell it will be go to related view controller. How to do that..
TableView With Custom Cells In Swift - Tutorial
16:40
iOS Academy
Рет қаралды 54 М.
哈哈大家为了进去也是想尽办法!#火影忍者 #佐助 #家庭
00:33
火影忍者一家
Рет қаралды 129 МЛН
黑的奸计得逞 #古风
00:24
Black and white double fury
Рет қаралды 23 МЛН
ROSÉ & Bruno Mars - APT. (Official Music Video)
02:54
ROSÉ
Рет қаралды 65 МЛН
Swift c нуля: UIKit урок 25 - UITableView
52:48
The Swift Developers
Рет қаралды 33 М.
TableView Controller in Swift 5 (Xcode 11) 2020
14:52
iOS Academy
Рет қаралды 19 М.
Searchable Table View in Swift with Xcode 11 | iOS for Beginners
16:10
DiffableDataSource: ЗАБУДЬ про DATASOURCE
44:57
Сергей Горбачёв / cmd+B, cmd+R
Рет қаралды 2,7 М.
Custom Table View Cells in Swift 5 & Xcode 12 (2022)
23:35
iOS Academy
Рет қаралды 39 М.
Swift API Calls for Beginners (Networking) - Async Await & JSON
25:35
If __name__ == "__main__" for Python Developers
8:47
Python Simplified
Рет қаралды 408 М.
How to Become an iOS Developer - The Skills You Need
8:21
CodeWithChris
Рет қаралды 21 М.
哈哈大家为了进去也是想尽办法!#火影忍者 #佐助 #家庭
00:33
火影忍者一家
Рет қаралды 129 МЛН