A minimalist social media UI app for Apple Watch, inspired by Instagram. This project serves as a foundation for developing a social media app that runs exclusively on watchOS. The app demonstrates a feed of posts that includes images, names, and locations, allowing users to like posts.
• Displays social media posts in an Instagram-like layout
• Users can like posts by tapping the heart icon
• Posts include a profile image, username, photo, and location
• SwiftUI-based interface, optimized for watchOS
• Example data is provided through the DummyData module
- Install Xcode: Make sure you have the latest version of Xcode installed on your Mac.
- Clone the repository: Use the following command to clone the repository:
git clone https://github.com/yourusername/SocialMediaWatchOS.git - Open the project: Open the
SocialMediaWatchOS.xcodeprojfile in Xcode. - Build and run: Select a Watch Simulator or a connected Watch device in the scheme and click Run
Feed.swift: The data model that defines the structure of a post (name, image URL, location).
PostView.swift: The view that displays individual posts, including the header, image, and footer (like functionality).
PostViewModel.swift: The view model that handles the logic for the "like" state and animations.
ContentView.swift: The main view that displays a list of posts.
DummyData.swift: Provides sample content for the app.
• Integration of real social media feeds through an API
• Comment functionality
• Share posts feature
• Upload your own posts
• Complete offline and online functionality
