Amazingly there has been so much I have not known about the good old TableView)))
@heri_prieto
6 жыл бұрын
Damn you! I just got a contract job for an iOS app. I've always used the storyboard but after watching a few of your videos, I'm 5 seconds away from completely restarting my client's app using only code. You are a great iOS engineer. Easily the best on youtube. Thank you!
@LetsBuildThatApp
6 жыл бұрын
+Duskayame haha thanks bud, everything is magically a lot simpler with code I think. Clicking through all the menus of interface builder makes me want to blow my brains
@prasanth270
6 жыл бұрын
Not only you teach how to make Apps in iOS but also how a programmer should think and arrive at his solutions. Kudos _/\_
@mattgerry4040
6 жыл бұрын
Thank you for making all these videos. I can't express how helpful they have been in my own development. The way that you structure each video and each course is exceptionally well done.
@joycelu962
6 жыл бұрын
Thank you Brian, there is always something new to learn from you! Even after follow you for more than a year.
@LetsBuildThatApp
6 жыл бұрын
There's always something new to learn here!
@christophebugnon5155
6 жыл бұрын
Seriously Brian you're awesome ! Thank you so much !
@laiqueahmed6613
6 жыл бұрын
Thank you very much Brian .
@chudq
6 жыл бұрын
D Chu 25 minutes ago Thank you, Brian, for another great video! The creation of indexPath array could be done by using reduce and map functions, reducing two dimensional array to one dimension, and mapping from String to IndexPath. Just something new and alternative for some users. Maybe the performance is better than looping two dimensional array. You may improve this func to better and concise one. func getIndexPaths(_ twoDArray: [[String]]) -> [IndexPath] { var section = 0 let paths: [IndexPath] = twoDArray.reduce([IndexPath]()) { (r, array) in var row = 0 let indexArray: [IndexPath] = array.map() { (_) in let item = IndexPath(row: row, section: section) row += 1 return item } section += 1 var indexPaths = r indexPaths += indexArray return indexPaths } return paths }
@johnrm9
6 жыл бұрын
Just for fun - We could use an extension for Bool: extension Bool { mutating func toggle() -> Bool { self = !self return self } } And in the handler ... @objc func handleShowIndexPath(){ var indexPaths = [IndexPath]() ... tableView.reloadRows(at: indexPaths, with: showIndexPaths.toggle() ? .right : .left) // toggle showIndexPaths & animate left or right }
@LetsBuildThatApp
6 жыл бұрын
Looks good.
@TheJuliolocoh
6 жыл бұрын
Thanks for this video
@artemhrebinik7288
6 жыл бұрын
Amazing
@brandonb6175
6 жыл бұрын
Hi Brian, Thanks for this video. Would be great if you could show some videos about animations with NSLayoutConstraints. I know they can open be a challenge for a lot of people. Thanks!
@LetsBuildThatApp
6 жыл бұрын
I think I can come up with something fun and interesting for this.
@Seb16291629
6 жыл бұрын
Hi Brian, this is the first I see the use of indices, what is the difference between indices and index? In which other cases would you use indices? I can't find much on google about it. Thanks
@1303sasa
6 жыл бұрын
Thanks not for this but for all tutorials. You are mentioning core data, what is you opinion about realm database?
@arsalanhashemi4469
5 жыл бұрын
i want open new view or popop for more info when i touch on header...how i can create a gestureRecognizer for header
@xfabiosoft
6 жыл бұрын
Sometimes when i remove a cell from the collectionview the one next get reused and all data is messed up. How can i force to use the right data?
@joenaveau
5 жыл бұрын
How would you do this for one cell? I'm trying to load in a cell after you type something in a text field but I can't figure out how to animate it coming in. Let me know if that makes sense!
@DipperSlipper
5 жыл бұрын
Hi Brian, I have been studying iOS for 2 months now. If I were to follow all of your paid courses in order (easy to difficult), how would you recommend?
@LetsBuildThatApp
5 жыл бұрын
I would recommend taking the AppStore course first as its most up to date and goes over lots of fundamentals of iOS development.
@DipperSlipper
5 жыл бұрын
@@LetsBuildThatApp Thank you, I will take it.
@nicosolis5762
6 жыл бұрын
Hi Brian, i'm just wondering if you know how to deal with the pull refresh sensitivity?? I implemented it on my app and it seems it triggers my function even just a slight pull down, thanks in advance. And your channel is really really informative!! thanks for your videos :)
@nicosolis5762
6 жыл бұрын
Sorry for the long comment.. but basically my problem on pull down to refresh is related to enabling the "preferLargerTitle" and i'm still investigating how to solve this. If you have an idea about it please let me know, thank you so much :)
@IK1LL4J0Y
6 жыл бұрын
Brian could you please continue the series?? Im trying to add a section with the favorites that ive tapped.. its not working. I triend to append them to an array when the cell is clicked but it doesnt show on the tableview and when I leave the view It doesnt save. PLEASE help!
@LetsBuildThatApp
6 жыл бұрын
In order to show information that you want to have persisted across sessions, you need to save it somewhere on your device or in the cloud. One popular solution is to save things directly into Core Data, another solution is through Firebase. You can watch the courses on how to do this here: www.letsbuildthatapp.com/course/intermediate-training-core-data www.letsbuildthatapp.com/course/instagram-firebase Good luck.
@trulymittal
6 жыл бұрын
hey brian, in this video, you have hardcoded your dataset. suppose if we need to fetch data from somewhr say from an API, then initially we have initialise our array as empty [ ]. Then when we fetch data and try to reloadRows, it crashes, saying that trying to remove a a row where that row never exists. So how can we manage that? Though i have tried reloadSection(which works) but that again is more glitchy than simple reloadData when using a refreshControl.
@LetsBuildThatApp
6 жыл бұрын
Yes you'll need to figure out how to initialize your data according to your application. Good luck.
@sirgideon1075
6 жыл бұрын
Have you learned any backend languages as you've been learning swift. If so, which ones do you recommend and why?
@LetsBuildThatApp
6 жыл бұрын
+Sir Gideon the website we use to download all the source code is hosted on a machine that uses google golang, it’s an excellent language albeit harder for beginners to learn. I’ve been preparing a nodejs course for this channel and will be putting out videos soon.
@Abdi-uy1kh
6 жыл бұрын
which is easier node or golang?
@LetsBuildThatApp
6 жыл бұрын
If you've never done backend programming before, I strongly advise against golang. Golang is bare, there's almost no guidance or anything to hold your hand through the process. For experienced developers, this is lovely because we want full control over everything that happens. Nodejs has great documentation and a bunch of resources for learning. It's also very performant and easy to write in javascript. I highly recommend learning nodejs as your first backend language.
@Abdi-uy1kh
6 жыл бұрын
Lets Build That App thanks Brian
@lucaivaldi4520
6 жыл бұрын
Lets Build That App Today Node js has the wider support: every service around supports it (Firebase cloud functions for instance), but as we are (or we’d like to be) Swift developers, I think Vapor and other Swift frameworks could be a viable alternative.
@daledoback9086
6 жыл бұрын
Hey Brian, wonderful video! I was wondering if you knew how to make the animations for the Snapchat button (e.g. the circular progress view stopping when long press ends)?
@viveksharma3938
6 жыл бұрын
Hi Brian , Can you make a video on how to make pinterest like collection view layout with image caching . Thank you !!!
@LetsBuildThatApp
6 жыл бұрын
+Vivek Sharma raywenderlich has a good post on how this all works
@viveksharma3938
6 жыл бұрын
Lets Build That App Already went through it , but I have image urls instead of images. How to find height of image with caching?
@LetsBuildThatApp
6 жыл бұрын
+Vivek Sharma you need to have height of each image somehow
@viveksharma3938
6 жыл бұрын
Lets Build That App Any tip or hint would be life saver ! Thank you 😃
@LetsBuildThatApp
6 жыл бұрын
I'll create a course on this since I get a lot of these questions.
@sscboost8413
6 жыл бұрын
please answer sir i really really need your help i am your loyal viewer
@LetsBuildThatApp
6 жыл бұрын
+SscBoost hello there good sir
@psycho_mrs7100
6 жыл бұрын
1st one
@lieutenantlawson4295
6 жыл бұрын
Man, you sound like a Dj. Dj bengi (dj Brian ENGINEER!
@LetsBuildThatApp
6 жыл бұрын
Haha, I think I'll take that as a compliment?
@lieutenantlawson4295
6 жыл бұрын
Lets Build That App yes!
@sscboost8413
6 жыл бұрын
hii i need your help sir can you help me
@johnrm9
6 жыл бұрын
We could toggle the title of the Nav rightBar Button to "Hide IndexPath" or "Show IndexPath" var showIndexPaths = false { didSet { navigationItem.rightBarButtonItem?.title = showIndexPaths ? "Hide IndexPath" : "Show IndexPath" } }
@LetsBuildThatApp
6 жыл бұрын
+John Martin good job, should definitely implement this in a production app
@srinivasanmohan6485
6 жыл бұрын
Don't Like Empty Spaces in Code! Same Here
@DipperSlipper
5 жыл бұрын
UITableViewRowAnimation has now become UITableView.RowAnimation Why did they change it like that? Weird.
@majormac17
6 жыл бұрын
Checkout my apps you’ve helped me make! Search “major macgregor” in the iOS App Store!
@michalvanco
6 жыл бұрын
Try this instead of two nested for loops let indexPathsToReload = twoDimensionalArray.indices.map { s in twoDimensionalArray[s].indices.map { r in IndexPath(row: r, section: s) } }.flatMap { $0 }
@LetsBuildThatApp
6 жыл бұрын
+michal.vanco map is just going to iterate through all elements, is this better than a nested loop?
@michalvanco
6 жыл бұрын
Lets Build That App it produces exactly the same result as two nested for loops. Don’t know if it is any better in terms of performace but this “functional approach” looks more appropriate and clear to me.
@LetsBuildThatApp
6 жыл бұрын
Anytime I see flatMap my brain wants to cower in fear.
@javierv.5210
6 жыл бұрын
If anyone here figures out how to put them in alphabetical order in different sections let me know!
@rodionkuskov5710
6 жыл бұрын
Do u know how to do it?
@javierv.5210
6 жыл бұрын
Rodion Kuskov hello! I was finally able to figure it out! Take a look at uilocalizedindexedcollation if you want to take into account the users location. Because for every country there are different alphabets right? (Meaning different letters). Therefore, this will allow you to solve your issue and will also sort them alphabetically. There are some good tutorials out there.
Пікірлер: 66