Development of AG1 Dashboard iOS App for Meta by Hatim El HassakDevelopment of AG1 Dashboard iOS App for Meta by Hatim El Hassak

Development of AG1 Dashboard iOS App for Meta

Portfolio project
Hatim El Hassak

AG1 Dashboard - iOS App ๐Ÿ“Š

Modern SwiftUI application for Meta Ads performance analytics. iOS 17+ | Swift 5.9 | SwiftUI Charts

โœจ iOS 17+ Features

Feature Description ๐ŸŽฏ Symbol Effects .bounce, .pulse, .wiggle animations ๐Ÿ“ณ Sensory Feedback Contextual haptics (selection, impact, notification) ๐Ÿ”ข Content Transitions .numericText() for animated KPIs ๐Ÿ“Š Chart Selection Interactive chart selection ๐Ÿ” Search Suggestions Native search suggestions ๐Ÿ“ฑ Dynamic Island Live Activities support for real-time tracking ๐ŸŽจ Material Backgrounds .regularMaterial blur effects

๐Ÿ“ฑ Screens

1. Overview (Dashboard)

6 KPIs with .bounce animations
ROAS/Month charts with interactive selection
Budget/Product charts
Top 5 creatives by ROAS
Top 5 creators by conversions
Pull-to-refresh with haptics

2. Creatives List

Smart search with iOS 17 suggestions
Filters: Product, Month, Status, Type
Sort: ROAS โ†‘โ†“, Budget โ†‘โ†“, Conversions โ†‘โ†“
Context menus with preview
Swipe actions (favorite, archive)
Presentation detents (adaptive sheet)

3. Creative Detail

8 selectable KPIs with feedback
Flow layout for tags
Staggered entry animations
Quick actions (edit, duplicate, share)

๐Ÿ—‚ Project Structure

AG1Dashboard/
โ”œโ”€โ”€ AG1DashboardApp.swift # Entry point
โ”œโ”€โ”€ AG1-Data.csv # 1200 rows of mock data
โ”œโ”€โ”€ Theme/
โ”‚ โ””โ”€โ”€ Theme.swift # Complete design system
โ”œโ”€โ”€ Models/
โ”‚ โ”œโ”€โ”€ Creative.swift # Data model
โ”‚ โ””โ”€โ”€ FilterState.swift # Observable filter state
โ”œโ”€โ”€ ViewModels/
โ”‚ โ””โ”€โ”€ DashboardViewModel.swift # Business logic + charts
โ”œโ”€โ”€ Services/
โ”‚ โ”œโ”€โ”€ CSVParser.swift # CSV parsing
โ”‚ โ””โ”€โ”€ LiveActivityManager.swift # Dynamic Island support
โ””โ”€โ”€ Views/
โ”œโ”€โ”€ ContentView.swift # Adaptive navigation
โ”œโ”€โ”€ Components/
โ”‚ โ””โ”€โ”€ Components.swift # 15+ reusable components
โ””โ”€โ”€ Screens/
โ”œโ”€โ”€ OverviewView.swift # Dashboard with charts
โ”œโ”€โ”€ CreativesListView.swift # Filterable list
โ””โ”€โ”€ CreativeDetailView.swift # Detail view

๐ŸŽจ Design System

// Colors
AppTheme.Colors.primary // AG1 Green
AppTheme.Colors.background // Light gradient
AppTheme.Colors.accentBlue/Purple/Cyan...

// Animations
AppTheme.Animations.smooth // 0.3s easeInOut
AppTheme.Animations.bouncy // Spring with bounce
AppTheme.Animations.snappy // Quick response

// Styles
.cardStyle() // Cards with shadow
.gradientBackground() // Gradient background

๐Ÿ“Š Mock Data

The AG1-Data.csv file contains 1200 entries with:
7 products (AG1 Powder, Travel Packs, Vitamins...)
10 different creators
5 content types (UGC, Podcast, Video, Image, Testimonial)
8 marketing angles
5 months (July - November 2025)
Various metrics (budget, conversions, ROAS, impressions...)

๐Ÿš€ Installation

# 1. Clone the project
git clone https://github.com/hatimhtm/AG1Dashboard.git

# 2. Open in Xcode 15+
open AG1Dashboard.xcodeproj

# 3. Build & Run
# Target: iOS 17.0+ Simulator or Device

๐Ÿ“ฆ Technologies

SwiftUI - Declarative UI framework
Swift Charts - Native charting
Combine - Reactive programming
ActivityKit - Live Activities
Observation - @Observable macro (iOS 17)

๐Ÿ— Architecture

MVVM Clean Architecture
โ”œโ”€โ”€ Models (Data layer)
โ”œโ”€โ”€ ViewModels (Business logic)
โ”œโ”€โ”€ Views (Presentation layer)
โ”‚ โ”œโ”€โ”€ Screens (Pages)
โ”‚ โ””โ”€โ”€ Components (Reusable)
โ””โ”€โ”€ Services (External interfaces)

๐Ÿ“ CSV Columns

Column Description Ad Name Creative identifier Product Product category Creator Creator name Content Type UGC/Podcast/Video... Marketing Angle Primary hook Month Broadcast period Status Live/Stopped/Paused/Archived Budget Spent (โ‚ฌ) Amount invested Conversions Number of purchases ROAS Return on Ad Spend Impressions Number of views Clicks Interactions Click Rate (%) CTR

๐Ÿ“„ License

MIT

๐Ÿ‘ค Author

Hatim El Hassak โ€” Full-Stack Engineer

0 likes ยท 10 views ยท Feb 13, 2026

Developed a SwiftUI iOS app for Meta Ads analytics with interactive charts and real-time tracking.

Tags