App Templates  /  CaffeineMate
iOS app template · Full source code

Caffeine Mate – Track Your Caffeine

Log Daily Intake, Visualize Caffeine Levels, and Monitor Your Metabolism Full SwiftUI Source Code. AdMob Ads & In-App Purchases

SwiftUIiOS 17+Xcode 15+AdMobFirebaseSwiftData
$79
Buy Source Code
  • Complete Xcode project
  • Full SwiftUI source code
  • Free support included
Watch the video demo ↓
Full source codeCustomize the complete Xcode project
SwiftUINative Apple development
iOS 17+Minimum supported iOS version
Free supportHelp with the source code as delivered
About the template

CaffeineMate

Millions of people consume caffeine daily—from coffee lovers to energy drink fans. Caffeine Mate helps users track their intake, understand their metabolism, and stay within safe limits. With its clean SwiftUI interface, dynamic charts, and full offline support, this template gives you a polished and professional caffeine tracker app ready for the App Store.

You will get the source code of the app that you see in the video demo. Nothing more or less than what the video demo shows. Feel free to ask questions before buying. This app is compatible with the latest version of Xcode and SwiftUI. All drink types are preloaded from a local JSON file, which you can easily customize. The app uses SwiftData to store each user's caffeine intake directly on the device. There are no third-party APIs or backend services required, making the app completely maintenance-free.

Requirements

What do I need to get started?

You will need a Mac computer with Xcode 15+. This app requires iOS 17+. All app templates on this website are for iPhones without iPad support. An AdMob account is necessary if you want to show ads in the app. We provide you with some basic PDF documentation on how to replace the AdMob Interstitial Ad identifiers, and how to replace the in-app purchase product identifier. You'll need a Google Firebase account.

How it works

How does it work?

  • The Dashboard shows an overview of daily caffeine intake, current caffeine level, daily average, and metabolism over time.
  • Metabolism chart visualizes how caffeine decreases in your body hour by hour.
  • Users can log drinks by choosing from a built-in drink list, categorized by type. Each drink has a caffeine value and serving icon.
  • The Add Drink screen lets users adjust the caffeine amount and save or update the log entry.
  • Today’s logged drinks appear in a scrollable list. Tapping one opens it for editing (or delete option).
  • The Statistics screen shows drink history, a leaderboard of most consumed types, and a calendar to view past logs.
  • AdMob Ads and tracking limits are managed via a single one-time in-app purchase.
  • In-App Purchases are handled via a private framework. This framework doesn't support subscriptions. You can use this framework for any other games/apps you want to add in-app purchases.
Video demo

See CaffeineMate in action

Take Control of Your Caffeine Intake

Need more than the template?

I can customize this project for your product, add features, or use it as the starting point for a larger native iOS app.

Discuss a custom build →