Skip to content

minervo23/SocialMediaUIWatchOS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

SocialMediaWatchOS

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.

Featues

• 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

Installation

  1. Install Xcode: Make sure you have the latest version of Xcode installed on your Mac.
  2. Clone the repository: Use the following command to clone the repository: git clone https://github.com/yourusername/SocialMediaWatchOS.git
  3. Open the project: Open the SocialMediaWatchOS.xcodeproj file in Xcode.
  4. Build and run: Select a Watch Simulator or a connected Watch device in the scheme and click Run

Project Structure

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.

App Preview

Simulator Screenshot - Apple Watch Series 10 (46mm) - 2024-09-21 at 10 54 50

Future Enhancements

• Integration of real social media feeds through an API
• Comment functionality
• Share posts feature
• Upload your own posts
• Complete offline and online functionality

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages