
SwiftUI Masterclass: Sorting, Filtering & Pagination
Udemy ยท English
About this course
- Language
- English
- Category
- Provider
- Udemy
- Data updated
Building a SwiftUI application that displays data from a server is relatively straightforward. But what happens when your application needs to sort, filter, and paginate hundreds or thousands of records? In this course, we will build a practical hotel listing application using SwiftUI and Express.js. Along the way, you will learn how to implement server-side sorting, filtering, pagination, and infinite scrolling while keeping your SwiftUI code organized and maintainable. Instead of downloading all the records and processing them on the client, we will let the server handle sorting, filtering, and pagination. This approach allows us to build applications that can efficiently work with larger datasets. What You Will LearnServer-Side Sorting: Sort hotel records by price and guest ratings using query string parameters. Server-Side Filtering: Filter hotels based on amenities such as breakfast, parking, Wi-Fi, and airport shuttle availability. Pagination: Fetch records in smaller batches using page numbers and page sizes. Infinite Scrolling: Automatically load additional records as users scroll through the hotel list. Building REST APIs with Express.js: Implement endpoints that support sorting, filtering, and pagination. SwiftUI State Management: Manage sorting options, selected filters, loading indicators, and error states. Reusable SwiftUI Components: Build sorting and filtering interfaces using sheets, closures, and reusable views. Clean Architecture: Organize networking and query logic using HotelStore, HotelQuery, and a reusable HTTP client. What Will We Build? Throughout the course, we will develop a hotel listing application that communicates with an Express.js backend. Users wilโฆ











