<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Amr Nabil on Medium]]></title>
        <description><![CDATA[Stories by Amr Nabil on Medium]]></description>
        <link>https://medium.com/@amrsmind?source=rss-8a2f3bf5c2d6------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*WjrJ_-7RDrz1sy1--zYeDA.jpeg</url>
            <title>Stories by Amr Nabil on Medium</title>
            <link>https://medium.com/@amrsmind?source=rss-8a2f3bf5c2d6------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 03:15:38 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@amrsmind/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Hitting the Gym? Which Apple Watch Workout Type to Choose]]></title>
            <link>https://amrsmind.medium.com/hitting-the-gym-which-apple-watch-workout-type-to-choose-a460685307b3?source=rss-8a2f3bf5c2d6------2</link>
            <guid isPermaLink="false">https://medium.com/p/a460685307b3</guid>
            <category><![CDATA[apple-watch]]></category>
            <category><![CDATA[apple-fitness-plus]]></category>
            <category><![CDATA[apple-health-benefits]]></category>
            <category><![CDATA[apple-health]]></category>
            <category><![CDATA[apple-health-kit]]></category>
            <dc:creator><![CDATA[Amr Nabil]]></dc:creator>
            <pubDate>Sun, 08 Jun 2025 12:06:40 GMT</pubDate>
            <atom:updated>2025-06-08T12:06:40.559Z</atom:updated>
            <content:encoded><![CDATA[<h3>Functional Strength Training vs. Traditional Strength Training: Which Workout Type Should You Choose on Apple Watch?</h3><p>When you’re ready to hit the gym, one of the first decisions you’ll make is how to approach your strength training. Apple Watch offers two distinct workout types for strength training: <strong>Functional Strength Training</strong> and <strong>Traditional Strength Training</strong>. Understanding the difference between these can help you select the right workout mode for accurate tracking and better fitness results.</p><h3>What Is Functional Strength Training?</h3><p>Functional strength training focuses on <strong>movements that mimic real-life activities</strong> and improve your overall body coordination, balance, and mobility. Instead of isolating muscles, it trains multiple muscle groups simultaneously through dynamic, multi-joint exercises. This type of training enhances your ability to perform everyday tasks and athletic activities efficiently.</p><p><strong>Examples of functional strength exercises include:</strong></p><ul><li>Push-ups</li><li>Squats</li><li>Lunges</li><li>Mountain climbers</li></ul><p>On Apple Watch, choose <strong>Functional Strength Training</strong> when doing dynamic sequences using small equipment or bodyweight exercises that emphasize movement and mobility rather than isolating a muscle with heavy lifting<a href="https://backcountry.physio/difference-between-functional-vs-traditional-strength-training/">1</a><a href="https://strongviking.com/en/functional-training/">2</a><a href="https://www.iphonelife.com/content/functional-strength-training-apple-watch">5</a>.</p><h3>What Is Traditional Strength Training?</h3><p>Traditional strength training is centered on <strong>isolating specific muscle groups</strong> to build muscle size (hypertrophy) and maximal strength. It typically involves lifting weights or using resistance machines with structured sets and reps, focusing on progressive overload.</p><p><strong>Common traditional strength exercises include:</strong></p><ul><li>Bicep Curl (Dumbbell, Barbell, Cable)</li><li>Tricep Pushdown / Extension</li><li>Chest Press / Machine Press</li><li>Calf Raise</li></ul><h3>Which Workout Type Should You Choose on Apple Watch?</h3><ul><li><strong>Pick Functional Strength Training if:</strong><br> You’re doing bodyweight exercises, circuit training, or using small equipment like resistance bands ( resistance band can be used in traditional strength too ) or medicine balls. This mode tracks dynamic, <strong>multi-muscle</strong> workouts that improve your overall movement and functional fitness.</li><li><strong>Pick Traditional Strength Training if:</strong><br> Your session involves heavy lifting with barbells, dumbbells, or machines focusing on building isolated muscle size and strength through isolated exercises and progressive overload.</li></ul><p><strong>Sources:</strong></p><ol><li><a href="https://backcountry.physio/difference-between-functional-vs-traditional-strength-training/">https://backcountry.physio/difference-between-functional-vs-traditional-strength-training/</a></li><li><a href="https://strongviking.com/en/functional-training/">https://strongviking.com/en/functional-training/</a></li><li><a href="https://www.mindstick.com/articles/337705/why-traditional-strength-training-is-key-to-long-term-fitness">https://www.mindstick.com/articles/337705/why-traditional-strength-training-is-key-to-long-term-fitness</a></li><li><a href="https://discussions.apple.com/thread/252489787">https://discussions.apple.com/thread/252489787</a></li><li><a href="https://www.iphonelife.com/content/functional-strength-training-apple-watch">https://www.iphonelife.com/content/functional-strength-training-apple-watch</a></li><li><a href="https://exergame.com/traditional-vs-functional-strength-training-whats-the-difference/">https://exergame.com/traditional-vs-functional-strength-training-whats-the-difference/</a></li><li><a href="https://www.everydayhealth.com/fitness/functional-strength-training/guide/">https://www.everydayhealth.com/fitness/functional-strength-training/guide/</a></li><li><a href="https://www.athleticoutcomes.com/blog/functional-vs-traditional-strength-training-what-is-the-difference">https://www.athleticoutcomes.com/blog/functional-vs-traditional-strength-training-what-is-the-difference</a></li><li><a href="https://www.reddit.com/r/AppleWatch/comments/xjxp79/what_workout_do_you_select_on_your_apple_watch/">https://www.reddit.com/r/AppleWatch/comments/xjxp79/what_workout_do_you_select_on_your_apple_watch/</a></li><li><a href="https://www.lifefitness.com.au/difference-between-functional-and-traditional-strength-training/">https://www.lifefitness.com.au/difference-between-functional-and-traditional-strength-training/</a></li><li><a href="https://support.apple.com/en-eg/105089">https://support.apple.com/en-eg/105089</a></li><li><a href="https://www.youtube.com/watch?v=2uEcI1tk7bo">https://www.youtube.com/watch?v=2uEcI1tk7bo</a></li><li><a href="https://www.techradar.com/health-fitness/smartwatches/this-lesser-known-apple-watch-ultra-skill-can-help-improve-your-gym-workout">https://www.techradar.com/health-fitness/smartwatches/this-lesser-known-apple-watch-ultra-skill-can-help-improve-your-gym-workout</a></li><li><a href="https://www.wearecrossfittelford.co.uk/news/functional-strength-training-vs-traditional-weightlifting-which-is-better">https://www.wearecrossfittelford.co.uk/news/functional-strength-training-vs-traditional-weightlifting-which-is-better</a></li><li><a href="https://discussions.apple.com/thread/254534300">https://discussions.apple.com/thread/254534300</a></li><li><a href="https://www.byrdie.com/traditional-vs-functional-strength-training-5116063">https://www.byrdie.com/traditional-vs-functional-strength-training-5116063</a></li><li><a href="https://discussions.apple.com/thread/255516931">https://discussions.apple.com/thread/255516931</a></li><li><a href="https://www.gearpatrol.com/fitness/a40679324/apple-watch-strength-training/">https://www.gearpatrol.com/fitness/a40679324/apple-watch-strength-training/</a></li><li><a href="https://support.apple.com/en-asia/105089">https://support.apple.com/en-asia/105089</a></li><li><a href="https://www.reddit.com/r/AppleWatch/comments/j1mw8s/so_whats_the_difference_between_functional_and/">https://www.reddit.com/r/AppleWatch/comments/j1mw8s/so_whats_the_difference_between_functional_and/</a></li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a460685307b3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How Different Apple Workout Types Shape Your Calorie Counting on Apple Health]]></title>
            <link>https://amrsmind.medium.com/how-different-apple-workout-types-shape-your-calorie-counting-on-apple-health-427a633582ed?source=rss-8a2f3bf5c2d6------2</link>
            <guid isPermaLink="false">https://medium.com/p/427a633582ed</guid>
            <category><![CDATA[apple-health-kit]]></category>
            <category><![CDATA[apple-health]]></category>
            <category><![CDATA[apple-fitness-plus]]></category>
            <category><![CDATA[apple-watch]]></category>
            <category><![CDATA[apple-health-benefits]]></category>
            <dc:creator><![CDATA[Amr Nabil]]></dc:creator>
            <pubDate>Fri, 06 Jun 2025 10:43:16 GMT</pubDate>
            <atom:updated>2025-06-06T10:43:16.821Z</atom:updated>
            <content:encoded><![CDATA[<h3>How Workout Types Shape Your Calorie Counting and Fitness Insights on Apple Health</h3><p>If you’re using Apple Watch or Apple Health to track your workouts, you might wonder why the calorie counts and fitness metrics sometimes feel more accurate for certain activities than others. The secret lies in how Apple tailors its tracking and calorie estimation models to the specific workout type you select.</p><h3>A Workout for Every Move — And Every Sensor</h3><p>Apple Watch supports <strong>over 70 different workout types</strong> — from archery and pickleball to traditional strength training and high-intensity interval training (HIIT)<a href="https://support.apple.com/en-us/105089">1</a><a href="https://support.apple.com/en-eg/105089">5</a>. Each workout type isn’t just a label; it signals the watch to use a unique combination of sensors and algorithms optimized for that activity.</p><p>For example:</p><ul><li><strong>Running and Walking:</strong> The watch uses GPS, accelerometer, and altimeter data to track your pace, distance, and elevation — combining these with heart rate to estimate calories burned with impressive accuracy.</li><li><strong>Cycling:</strong> Similar to running, but with adjustments for cadence and speed, especially outdoors where GPS shines.</li><li><strong>Strength Training and Functional Training:</strong> These rely more on heart rate data because motion sensors alone can’t capture the static or intermittent effort of lifting weights or doing bodyweight exercises<a href="https://www.reddit.com/r/AppleWatch/comments/xjxp79/what_workout_do_you_select_on_your_apple_watch/">4</a>.</li><li><strong>Swimming:</strong> The watch uses motion data to count strokes and laps, though calorie estimates may be less precise due to challenges measuring heart rate underwater.</li></ul><h3>Why Workout Type Selection Matters</h3><p>Choosing the right workout type isn’t just about logging your activity it directly affects <strong>how your Apple Watch calculates calories and tracks your fitness progress</strong>. Apple’s models are <strong>activity-specific</strong>, developed from lab-based indirect calorimetry testing and refined with machine learning. This means:</p><ul><li>Workouts with steady motion like running or cycling use <strong>motion-based models</strong> that factor in speed, incline, and GPS data.</li><li>Dynamic or interval workouts like HIIT or dance use <strong>heart-rate-based models</strong> tailored to the unique intensity patterns of those exercises.</li><li>Strength training workouts have separate models for <strong>traditional strength</strong> (heavy lifting) and <strong>functional strength</strong> (bodyweight and light weights), each with different calibration to better estimate energy use<a href="https://www.reddit.com/r/AppleWatch/comments/xjxp79/what_workout_do_you_select_on_your_apple_watch/">4</a>.</li></ul><h3>Tips to Maximize Accuracy</h3><ul><li>Always select the workout type that best matches your activity. Using “Other” may lead to less accurate calorie estimates.</li><li>Calibrate your watch with outdoor runs or walks to improve sensor accuracy.</li><li>Make sure your fintess apps posts the right workout type</li></ul><h3>Final Thought</h3><p>Apple’s approach to workout tracking is more than just counting steps or minutes it’s a sophisticated system that adapts to your chosen activity, combining sensor data and physiological models to give you the most accurate calorie and fitness insights possible. So next time you hit the gym, the trail, or the pool, remember: <strong>picking the right workout type on your Apple Watch is the first step to smarter, more meaningful health tracking.</strong></p><p><strong>Sources:</strong><br> <a href="https://support.apple.com/en-us/105089">1</a><a href="https://support.apple.com/en-eg/105089">5</a> Apple Support — Workout types on Apple Watch<br> <a href="https://www.apple.com/eg/newsroom/2024/06/watchos-11-brings-powerful-health-and-fitness-insights/">2</a> Apple newsroom — watchOS 11 health and fitness insights<br> <a href="https://www.reddit.com/r/AppleWatch/comments/xjxp79/what_workout_do_you_select_on_your_apple_watch/">4</a> Reddit discussions on workout type selection for strength training</p><ol><li><a href="https://support.apple.com/en-us/105089">https://support.apple.com/en-us/105089</a></li><li><a href="https://www.apple.com/eg/newsroom/2024/06/watchos-11-brings-powerful-health-and-fitness-insights/">https://www.apple.com/eg/newsroom/2024/06/watchos-11-brings-powerful-health-and-fitness-insights/</a></li><li><a href="https://www.apple.com/newsroom/2025/01/apple-fitness-plus-unveils-an-exciting-lineup-of-new-ways-to-stay-active-in-2025/">https://www.apple.com/newsroom/2025/01/apple-fitness-plus-unveils-an-exciting-lineup-of-new-ways-to-stay-active-in-2025/</a></li><li><a href="https://www.reddit.com/r/AppleWatch/comments/xjxp79/what_workout_do_you_select_on_your_apple_watch/">https://www.reddit.com/r/AppleWatch/comments/xjxp79/what_workout_do_you_select_on_your_apple_watch/</a></li><li><a href="https://support.apple.com/en-eg/105089">https://support.apple.com/en-eg/105089</a></li><li><a href="https://www.apple.com/ca/healthcare/docs/site/Health-Report-October-2023.pdf">https://www.apple.com/ca/healthcare/docs/site/Health-Report-October-2023.pdf</a></li><li><a href="https://developer.apple.com/design/human-interface-guidelines/workouts">https://developer.apple.com/design/human-interface-guidelines/workouts</a></li><li><a href="https://www.helpguide.org/wellness/fitness/the-mental-health-benefits-of-exercise">https://www.helpguide.org/wellness/fitness/the-mental-health-benefits-of-exercise</a></li><li><a href="https://support.apple.com/en-sg/105089">https://support.apple.com/en-sg/105089</a></li><li><a href="https://support.apple.com/en-asia/105089">https://support.apple.com/en-asia/105089</a></li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=427a633582ed" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Automatically Map Workouts to the Right Apple HealthKit Type — in Seconds]]></title>
            <link>https://amrsmind.medium.com/automatically-map-workouts-to-the-right-apple-healthkit-type-in-seconds-3006c6c87a83?source=rss-8a2f3bf5c2d6------2</link>
            <guid isPermaLink="false">https://medium.com/p/3006c6c87a83</guid>
            <category><![CDATA[swift]]></category>
            <category><![CDATA[apple-health-kit]]></category>
            <category><![CDATA[apple-watch]]></category>
            <category><![CDATA[fitness-apps-for-iphone]]></category>
            <category><![CDATA[healthkit]]></category>
            <dc:creator><![CDATA[Amr Nabil]]></dc:creator>
            <pubDate>Fri, 23 May 2025 15:50:21 GMT</pubDate>
            <atom:updated>2025-05-23T16:02:35.137Z</atom:updated>
            <content:encoded><![CDATA[<h3>Automatically Map Workouts to the Right Apple HealthKit Type -<strong>HKWorkoutActivityType</strong></h3><h3>Introduction</h3><p>If you’ve ever tried integrating Apple HealthKit into your fitness app, you’ve probably faced this frustrating step:</p><blockquote><strong><em>“Which </em></strong><strong><em>HKWorkoutActivityType should I use for this workout?”</em></strong></blockquote><p>Choosing the wrong type means poor sensor activation (or none), inaccurate data, and a worse user experience. Apps get bad reviews because of this. Especially if the user just paid $400 for his new apple watch.</p><p>In this tutorial, I’ll walk you through how to <strong>automatically classify any workout to its correct </strong><strong>HKWorkoutActivityType</strong> using <strong>Fit2Apple.<br>Fit2Apple </strong>is<strong> </strong>an API that uses a research-backed 4-stage pipeline to classify and score based on exercises names, sets, durations, rest, intensity it defines for every exercise. Whether you&#39;re using standard workouts or custom routines from your app, this saves you hours of guesswork and your users get better Apple Watch tracking instantly.</p><h3>🛠️ What You’ll Build</h3><p>By the end of this tutorial, you’ll:</p><ul><li>Send a workout to the Fit2Apple API</li><li>Receive the best-matched HealthKit activity type (e.g. .functionalStrengthTraining)</li><li>Use that value to correctly start an HKWorkoutSession in your app</li></ul><h3>🚀 Step 1: Sign Up and Get Your API Key for free</h3><p>Head to <a href="https://rapidapi.com/fit2apple-fit2apple-default/api/fit2apple">Fit2Apple on RapidAPI</a> (or your production link) and subscribe to the free plan. You’ll get an API key to use in the headers.</p><h3>📦 Step 2: Build Your Workout Object</h3><p>Here’s an example of a typical workout:</p><pre>{<br>  &quot;workout&quot;: {<br>    &quot;exercises&quot;: [<br>      {<br>        &quot;name&quot;: &quot;Push Up&quot;,<br>        &quot;reps&quot;: 15,<br>        &quot;sets&quot;: 3,<br>        &quot;restBetweenSets&quot;: 30<br>      },<br>      {<br>        &quot;name&quot;: &quot;Squat Jumps&quot;,<br>        &quot;duration&quot;: 45,<br>        &quot;sets&quot;: 2,<br>        &quot;restBetweenSets&quot;: 60<br>      }<br>    ]<br>  }<br>}</pre><p>The more precise your data (reps, sets, rest, etc.), the more accurate the classification.</p><h3>🔌 Step 3: Send a POST Request</h3><p>Here’s how to send the workout to Fit2Apple using fetch:</p><pre>const url = &#39;https://fit2apple.p.rapidapi.com/api/workout/rapid&#39;;<br>const options = {<br> method: &#39;POST&#39;,<br> headers: {<br>  &#39;x-rapidapi-key&#39;: &#39;your key&#39;,<br>  &#39;x-rapidapi-host&#39;: &#39;fit2apple.p.rapidapi.com&#39;,<br>  &#39;Content-Type&#39;: &#39;application/json&#39;<br> },<br> body: {<br>  workout: {<br>   exercises: [<br>    {<br>     name: &#39;Push Up&#39;,<br>     duration: 30,<br>     sets: 3,<br>     restBetweenSets: [10, 10]<br>    },<br>    {<br>     name: &#39;Pull Up&#39;,<br>     reps: 12,<br>     sets: 3,<br>     restBetweenSets: [15, 15]<br>    },<br>    {<br>     name: &#39;Mountain Climbers&#39;,<br>     duration: 45<br>    },<br>    {<br>     name: &#39;Hip Flexor Stretch&#39;,<br>     duration: 60,<br>     sets: 2,<br>     restBetweenSets: [30]<br>    }<br>   ],<br>   restIntervals: [30, 30, 20],<br>   rounds: 2,<br>   restBetweenRounds: 50<br>  }<br> }<br>};<br><br>try {<br> const response = await fetch(url, options);<br> const result = await response.text();<br> console.log(result);<br>} catch (error) {<br> console.error(error);<br>}</pre><p>Or in Swift:</p><pre>import Foundation<br><br>let headers = [<br> &quot;x-rapidapi-key&quot;: &quot;your keys&quot;,<br> &quot;x-rapidapi-host&quot;: &quot;fit2apple.p.rapidapi.com&quot;,<br> &quot;Content-Type&quot;: &quot;application/json&quot;<br>]<br>let parameters = [&quot;workout&quot;: [<br>  &quot;exercises&quot;: [<br>   [<br>    &quot;name&quot;: &quot;Push Up&quot;,<br>    &quot;duration&quot;: 30,<br>    &quot;sets&quot;: 3,<br>    &quot;restBetweenSets&quot;: [10, 10]<br>   ],<br>   [<br>    &quot;name&quot;: &quot;Pull Up&quot;,<br>    &quot;reps&quot;: 12,<br>    &quot;sets&quot;: 3,<br>    &quot;restBetweenSets&quot;: [15, 15]<br>   ],<br>   [<br>    &quot;name&quot;: &quot;Mountain Climbers&quot;,<br>    &quot;duration&quot;: 45<br>   ],<br>   [<br>    &quot;name&quot;: &quot;Hip Flexor Stretch&quot;,<br>    &quot;duration&quot;: 60,<br>    &quot;sets&quot;: 2,<br>    &quot;restBetweenSets&quot;: [30]<br>   ]<br>  ],<br>  &quot;restIntervals&quot;: [30, 30, 20],<br>  &quot;rounds&quot;: 2,<br>  &quot;restBetweenRounds&quot;: 50<br> ]] as [String : Any]<br><br>let postData = JSONSerialization.data(withJSONObject: parameters, options: [])<br><br>let request = NSMutableURLRequest(url: NSURL(string: &quot;https://fit2apple.p.rapidapi.com/api/workout/rapid&quot;)! as URL,<br>                                        cachePolicy: .useProtocolCachePolicy,<br>                                    timeoutInterval: 10.0)<br>request.httpMethod = &quot;POST&quot;<br>request.allHTTPHeaderFields = headers<br>request.httpBody = postData as Data<br><br>let session = URLSession.shared<br>let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -&gt; Void in<br> if (error != nil) {<br>  print(error as Any)<br> } else {<br>  let httpResponse = response as? HTTPURLResponse<br>  print(httpResponse)<br> }<br>})<br><br>dataTask.resume()</pre><h3>📈 Step 4: Use the Result</h3><p>You’ll get a result like:</p><pre>{<br>  &quot;workoutType&quot;: &quot;functionalStrengthTraining&quot;,<br>  &quot;info&quot;: {<br>    &quot;isIntervalBased&quot;: true,<br>    &quot;avgRest&quot;: 45,<br>    &quot;intervalWorkToRestRatio&quot;: 1.2,<br>    &quot;related&quot;: [&quot;traditionalStrengthTraining&quot;, &quot;coreTraining&quot;]<br>  }<br>}</pre><p>Use workoutType when initializing the workout session in your Apple Watch app.</p><blockquote><strong>You can find a full developer documentation explaining request and response in rapidAPI</strong></blockquote><h3>✨ Why It Matters</h3><p>💡 <strong>Sensor Accuracy</strong>: Apple Watch sensors activate based on the workout type — getting this wrong means lost data.</p><p>⚡ <strong>Developer Simplicity</strong>: No need to maintain mapping logic. Focus on building great workouts, not classifications.</p><p>📊 <strong>Future-Proof</strong>: Our dataset and pipeline (classification, calculation, matching, scoring) improve over time — automatically.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3006c6c87a83" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>