Header and Footer in CollectionView: LBTAComponents in Swift 4

Опубликовано: 10 Октябрь 2024
на канале: Rebeloper - Rebel Developer
5,857
25

In this episode I am going to add a Header and Footer to our Collection View. All of this with the help of LBTAComponents.

In the previous video we built out an Instagram profile like User Profile Collection View:
   • Collection View with DatasourceContro...  

LBTAComponents is one of the best jet very simple library of components I use to build out production applications.

This project is continuously evolving, but as of right now the important components are:
1. DatasourceController - Think of this as UICollectionViewController on steroids. No longer do we have to register cells with their own ids. Providing a simple subclass of Datasource will render out the list items.
2. CachedImageView - Loading images and caching them is quite tedious, this is my basic implementation that I'm providing.
3. UIView anchors extension - Let's face it, the amount of code required to place views onto the screen isn't great. With this extension, you can anchor any view to any other view with just one line of code, albeit you need a few minutes to learn it.

In the next video I’m going to use the built in Cached Image View:    • Cached Image View in Swift 4: LBTACom...  
____________________________________________________________________
Don’t forget to download the resources:
→ https://store.rebeloper.com/youtube-c...

RESOURCES & LINKS MENTIONED IN THIS VIDEO:
https://developer.apple.com/xcode/swi...
https://developer.apple.com/tutorials...

**VIDEOS I RECOMMEND**

UIKit Tutorial Swift 2020
→    • UICollectionView Swift - Compositiona...  

iOS Development Tips
→    • Which iOS Development Language Should...  

iOS Developer Essentials
→    • iOS Developer Resume for 2020  

SWIFTUI EXAMPLE
→    • CloudKit Tutorial: iCloud - Save Data...  

SWIFTUI TIPS AND TRICKS
→    • SwiftUI Tutorial - Implementing Dark ...  

SWIFTUI TUTORIAL
→    • SwiftUI tutorial - How To Create View...  

CLOUD FIRESTORE FOR IOS IN SWIFT 5 MASTER COURSE
→    • Cloud Firestore - Getting Started (ST...  

MVVM EXPLAINED
→    • MVVM in Swift - (Model View View-Mode...  

MVVM IN SWIFTUI
→    • MVVM SwiftUI - Model View ViewModel P...  

ANONYMOUS SIGN IN WITH FIREBASE IN SWIFT 5
→    • Firebase Authentication Tutorial - An...  

MASTER AUTO LAYOUT WITH TINY CONSTRAINTS IN SWIFT 5
→    • Master TinyConstraints | AutoLayout f...  

FIREBASE PASSWORDLESS SIGN IN
→    • Passwordless Authentication [with Fir...  

DO YOU WANT TO BE MY APPRENTICE?
HIRE ME → https://rebeloper.com/hire-us/

__________
Say hi on social:

Get in touch:
[email protected]

SUBSCRIBE to weekly tips & tutorials for building iOS apps!
→ https://www.youtube.com/rebeloper/?su...

Github: https://github.com/rebeloper/
Hire me: https://rebeloper.com/hire-us/
LinkedIn:   / rebeloper  
My Blog: https://rebeloper.com/blog
Follow me on Instagram:   / rebeloper  
_____
   • Header and Footer in CollectionView: ...