These labs should give you a good starting point for customizing table view and collection view cells and handling user interactions with them. Good luck with your iOS development journey!
Instructions:
Create an empty Swift StoryBoard project.
Follow the instructions carefully for each task.
Write your code in a clear and organized manner, following best practices.
Requirements:
Xcode v13 or higher installed
Swift compiler v5.7 or higher installed
Tasks 1, UITableView:
Add a UITableView to your view controller's view and set its delegate and data source to the view controller.
Create a new file in your project and select "Cocoa Touch Class" as the template. Name the class "CustomTableViewCell" and make sure it subclasses UITableViewCell.
In Interface Builder, select your table view cell and set its "Class" to "CustomTableViewCell".
Tasks 2, UICollectionView:
Add a UICollectionView to your view controller's view and set its delegate and data source to the view controller.
Create a new file in your project and select "Cocoa Touch Class" as the template. Name the class "CustomCollectionViewCell" and make sure it subclasses UICollectionViewCell.
In Interface Builder, select your collection view cell and set its "Class" to "CustomCollectionViewCell".
Tasks 3, Customizing cells:
Customize the appearance of the cell by adding UI elements (e.g. labels, images) to the cell's content view and using Auto Layout to position them for UITableView and UICollectionView.
In your view controller's "cellForRowAt" method, dequeue an instance of your custom table view cell class and configure it with the appropriate data.
Submission Guidelines:
Create new repository name it as "iOS-Developemnt-Bootcamp-July-2023-Week-3-Day-3-Lab".
Upload your project files to the repo you just created.
Submit your project repo link as comment below.
Grading Criteria:
Your lab assignment will be graded based on the following criteria:
Correctness and completion of tasks (50%)
Code quality, readability, and adherence to best practices (30%)
Creativity and utilization of SwiftUI features (20%)
Additional Notes:
You may ask the lab instructor for assistance during lab hours.
Avoid plagiarism; write the code yourself.
Late submissions will not be accepted without prior approval.
Deadline:
Submit your completed lab assignment prior start of next session.
Objective:
These labs should give you a good starting point for customizing table view and collection view cells and handling user interactions with them. Good luck with your iOS development journey!
Instructions:
Requirements:
Tasks 1, UITableView:
Tasks 2, UICollectionView:
Tasks 3, Customizing cells:
Submission Guidelines:
Grading Criteria:
Your lab assignment will be graded based on the following criteria:
Additional Notes:
Deadline:
Submit your completed lab assignment prior start of next session.