{"id":33330,"date":"2017-09-18T13:38:54","date_gmt":"2017-09-18T20:38:54","guid":{"rendered":"https:\/\/blog.xamarin.com\/?p=33330"},"modified":"2017-09-18T13:38:54","modified_gmt":"2017-09-18T20:38:54","slug":"learn-lean-cook-uses-mobile-drive-revenue-promote-healthy-living","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/xamarin\/learn-lean-cook-uses-mobile-drive-revenue-promote-healthy-living\/","title":{"rendered":"Learn How The Lean Cook Uses Mobile to Drive Revenue and Promote Healthy Living"},"content":{"rendered":"<p>\t\t\t\t<a href=\"http:\/\/theleancook.com\/\" target=\"_blank\">The Lean Cook<\/a>,\u00a0a popular UK diet and fitness blog started\u00a0as a hobby\u00a0by a husband and wife\u00a0team, is a prime example of how to design apps for the\u00a0user. Instead of simply replicating web content on a smaller screen, the team crafted an interactive shopping and cooking experience.\u00a0They\u2019ve grown a loyal following, and their latest project (available on\u00a0<a href=\"https:\/\/play.google.com\/store\/apps\/details?id=com.allinthetaste.theleancook\" target=\"_blank\">Android<\/a>\u00a0and <a href=\"https:\/\/itunes.apple.com\/gb\/app\/the-lean-cook-recipes-for-a-leaner-life\/id1239826533?mt=8\" target=\"_blank\">iOS<\/a>)\u00a0is already getting five-star reviews and overtaking established\u00a0food personalities.<\/p>\n<p>Today, Chris Foulds joins us to share how he, a first-time C# developer,\u00a0launched the Lean Cook in just six months using\u00a0Xamarin.Forms\u00a0to share\u00a090%+\u00a0code\u00a0across platforms, with\u00a0in-app upgrades, dynamic customization features, and more on the roadmap.\u00a0<\/p>\n<h3>Tell us a little bit about your company and role. Who are your customers?<\/h3>\n<p>We\u2019re\u00a0a new startup focused\u00a0on the\u00a0\u201clean\u00a0revolution.\u201d\u00a0Popularized in the\u00a0UK by \u201cThe Body Coach\u201d Joe Wicks, the\u00a0lean revolution\u00a0focuses on\u00a0fresh,\u00a0healthy meals and smart exercise:\u00a0eating the right things at the right time\u00a0and changing your lifestyle.\u00a0Our customers are anyone, of any age,\u00a0looking\u00a0for lean, flavorful versions of\u00a0everyday recipes.<\/p>\n<p>During our\u00a0own\u00a0lean transformation,\u00a0my wife\u00a0starting\u00a0blogging\u00a0and\u00a0sharing\u00a0her\u00a0healthy\u00a0creations, \u00a0and in the first year her website saw\u00a0850K+ visitors without any paid promotion.\u00a0As a\u00a0long-time\u00a0software engineer,\u00a0I\u2019d\u00a0spent the last four years as a\u00a0freelance mobile\u00a0developer,\u00a0and I\u00a0knew that a mobile app could take the website\u00a0to\u00a0the next level by creating\u00a0a unique, fully interactive cookbook\u00a0experience.<\/p>\n<h3>How long have you been building apps?\u00a0<\/h3>\n<p>I\u2019ve been\u00a0writing software since\u00a0I was\u00a0a teenager in the\u00a0early\u00a090\u2019s,\u00a0writing in 68k assembler for the Commodore Amiga. I\u00a0graduated university\u00a0with my\u00a0degree in\u00a0software engineering. Over the years, my\u00a0career path\u00a0took me into management.<\/p>\n<p>In 2010,\u00a0I decided to\u00a0go back to actively working on projects, and\u00a0I\u2019ve\u00a0been writing mobile apps ever since.\u00a0I\u2019ve written Android and iOS apps with native languages and tools (Java and\u00a0Obj-C), and I\u2019ve also used other\u00a0frameworks,\u00a0like\u00a0Gideros\u00a0and Unity.<\/p>\n<p>I\u2019d\u00a0never programmed in C#\u00a0before building the Lean Cook,\u00a0but\u00a0since\u00a0I\u2019ve written in\u00a0various forms of C since the mid-90\u2019s,\u00a0there\u00a0wasn\u2019t much of a learning curve.<\/p>\n<h3>How did you get up to speed with cross-platform mobile development?\u00a0\u00a0<\/h3>\n<p>After\u00a0creating the basic design and requirements,\u00a0I\u00a0reviewed the\u00a0Xamarin\u00a0samples and\u00a0just started writing, learning as I went along. I made\u00a0wrong turns along the way,\u00a0but that\u2019s\u00a0part of the learning process for me.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/44\/2019\/03\/HTC3.png\" alt=\"Lean Chef on Android (HTC)\" width=\"200\" class=\"alignright size-full wp-image-33353\" \/><\/p>\n<h3>Walk us through your app\u00a0<\/b><b>and what prompted you to build it.\u00a0<\/h3>\n<p>We built the Lean Cook app to be\u00a0the best\u00a0interactive\u00a0cookbook\u00a0possible. With it,\u00a0users can\u00a0search and find our recipes, make them as-is or make\u00a0customizations\u00a0own\u00a0based on their needs and preferences, and upgrade to access more recipes and premium features.<\/p>\n<p>It\u2019s key for me to ensure that anyone can\u00a0benefit from the app\u00a0<i>without<\/i> purchasing a subscription;\u00a0we include\u00a075 free recipes and give one\u00a0\u201cpremium\u00a0freebie,\u201d\u00a0allowing users to\u00a0try out\u00a0subscription features, such as customizing ingredients for their nutritional needs,\u00a0on one recipe before they commit to\u00a0buy.<\/p>\n<p>The\u00a0three\u00a0standout features that\u00a0make The Lean Cook\u00a0go beyond a\u00a0mere recreation of our website\u00a0to become\u00a0an interactive recipe book\u00a0are:<\/p>\n<ol>\n<li><strong>Dynamic\u00a0recipe sizes and\u00a0nutritional information<\/strong>:\u00a0Not only do we allow users to change amounts of certain (or all) recipe ingredients, we automatically\u00a0recalculate the calories\u00a0and\u00a0macros for\u00a0any altered recipe. Our users can quickly customize our recipes, making the version that best\u00a0fits their\u00a0personal nutritional goals. I haven\u2019t seen any other app in our category\u00a0offer this capability.<\/li>\n<li><strong>Intelligent\u00a0shopping lists<\/strong>:\u00a0Most cooking apps\u00a0allow you to add a recipe\u00a0and its associated ingredients\u00a0to a shopping list,\u00a0but\u00a0our app takes this one step further. As you add multiple recipes\u00a0to your list, we\u00a0intelligently identify\u00a0ingredients from each recipe\u00a0and\u00a0allow you\u00a0to see a combined grocery list, grouping ingredients across all recipes\u00a0so you\u00a0can quickly see what you need to\u00a0buy to make all\u00a0your saved meals.\n<ul>\n<li>For example, if one recipe calls for two tomatoes and another\u00a0calls\u00a0for four tomatoes, we\u2019ll add six tomatoes to your grocery list.\u00a0It seems small, but it\u2019s a huge time saver, because\u00a0instead of forcing users to skim lists for similar ingredients or\u00a0realize ten minutes later that they need\u00a0to return to the produce section for\u00a0more tomatoes, they get everything they need in one shot, check out, and get on with their day.<\/li>\n<\/ul>\n<\/li>\n<li><strong>Interactive recipe steps<\/strong>:\u00a0We\u2019ve organized all of our recipes like task lists and,\u00a0as users complete each recipe step (like chopping vegetables or mixing sauces) they\u00a0can tap\u00a0to mark the step complete,\u00a0so they don\u2019t get lost while cooking or forget critical steps. We call this \u201ccrossing off the method,\u201d and it\u2019s another way that we\u2019ve taken\u00a0advantage of mobile-unique capabilities, such as interactive screens to create a better user experience.<\/li>\n<\/ol>\n<p>I think the\u00a0entire application is exciting, but I <em>may<\/em> be biased!<\/p>\n<h3>How long did it take to ship your apps, from design to deploy?\u00a0\u00a0<\/h3>\n<p><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/44\/2019\/03\/Nexus2.png\" alt=\"Lean Chef on Android (Nexus)\" width=\"200\" class=\"alignleft size-full wp-image-33355\" \/><\/p>\n<p>In\u00a0total,\u00a0it took about\u00a0five\u00a0months to write\u00a0a completely release-ready\u00a0app for\u00a0Android\u00a0(phones and tablets), iPhone, and\u00a0iPad.<\/p>\n<p>I wrote the majority of the app\u00a0on my PC, focusing on\u00a0Android as the lead development platform, before finally transferring to my\u00a0MacBook\u00a0Pro to\u00a0finalize\u00a0the\u00a0iOS\u00a0app to ship to the Apple App Store.<\/p>\n<p>With Visual Studio Tools for Xamarin, and\u00a0Xamarin.Forms\u00a0specifically,\u00a0I\u00a0share\u00a0nearly 94% of the code across\u00a0Android and iOS.\u00a0The evolving nature of\u00a0Xamarin.Forms\u00a0drew me to Xamarin, as I wanted to be able to write my UI once and\u00a0have it work&mdash;and look and feel native&mdash;across platforms.\u00a0To me, a native app is one that looks \u201cat home\u201d on a user\u2019s device; no UI or interactive elements should be a jarring or unfamiliar experience. Delivering this level of quality is important to me, as I want our customers to instantly feel at home and comfortable with our apps, not fighting to\u00a0understand\u00a0the UI.<\/p>\n<p>While I may have been able to write an iOS\u00a0app in three months using\u00a0Obj-C, I\u2019d then have to start all over again, from the beginning, to build the Android version.<\/p>\n<p>I was not only able to get\u00a0<i>both<\/i> platforms out to users faster, I can now\u00a0concentrate on\u00a0developing and\u00a0adding\u00a0new\u00a0features,\u00a0rather than trying to\u00a0maintain feature parity\u00a0across platforms\u00a0or managing two codebases.\u00a0We plan to add new recipes to our existing packs every month, and\u00a0we\u2019ll\u00a0roll out\u00a0new recipe themes\u00a0and\u00a0authors\u00a0(and associated free and premium recipe packs) with new app features timed with these monthly \/ quarterly content updates.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/44\/2019\/03\/Picture11.png\" alt=\"Lean Chef on iOS (iPhone)\" width=\"200\" class=\"alignright size-full wp-image-33357\" \/><\/p>\n<h3>What\u2019s feedback been like so far?\u00a0<\/h3>\n<p>We&#8217;ve had amazing five-star reviews across the board, with a few of my\u00a0favorites:<\/p>\n<p><i><b>\u201cProbably one of the best cooking\/recipe apps to date. Lovely,\u00a0healthy food &hellip;\u00a0brilliant addition of being able to adjust the servings, making it great to cook for one or for 6.\u00a0Oh,\u00a0and the brilliant idea of adding items to a shopping basket and it totals all required items,\u00a0so no miscalculations.\u201d<\/b><\/i><\/p>\n<p><b><i>&#8220;This app is so easy to use and has some brilliant features&hellip; the recipes are so varied and delicious and really helped me through The Body Coach SSS plan! Thank you\u00a0\ud83d\udc4d&#8221;<\/i><\/b><\/p>\n<p><b><i>&#8220;Can&#8217;t imagine life without this amazing app. Makes food planning so easy and such a mix of recipes that it makes choosing what to eat a joy.&#8221;<\/i><\/b><\/p>\n<p><i><b>&#8220;Fantastic app, full of awesome recipes and lots\u00a0of fab little add-ons like editing your own quantities&#8221;<\/b><\/i><\/p>\n<p>My wife also loves the app (seeing her recipes \u201ccome to life\u201d in her words), and she uses it herself to recook her recipes or make tweaks to existing ones.\u00a0<\/p>\n<p>Outside of reviews, we saw 2K+ downloads within 24 hours of our launch, placing us\u00a0#1 in the Food &amp; Drink category for the day, and ahead of Jamie\u00a0Oliver\u2019s app!\u00a0Since\u00a0Jamie Oliver is one of the biggest food stars in the UK (and extremely popular around the rest of the world), seeing our app place ahead of his and other well-known personalities was an amazing feeling.<\/p>\n<h3>What are your future plans for the app?<\/h3>\n<p>Our\u00a0strategy is two-fold. First, we\u2019ll continue to grow\u00a0The Lean Cook app,\u00a0and we\u2019re\u00a0partnering\u00a0with\u00a0other prominent internet\u00a0food personalities (chefs, bloggers, social media celebrities)\u00a0to surface their content in it, making\u00a0it a one-stop shop for anyone interested in healthy food.<\/p>\n<p>Second, we want to expand the brand\u00a0with\u00a0additional health\u00a0and\u00a0fitness applications.\u00a0As we\u2019ve adopted this lifestyle, we\u2019ve realized that\u00a0thousands of people\u00a0don\u2019t use the existing\u00a0apps\u00a0how\u00a0they\u2019re designed\u00a0to be used, but instead try to make them fit various needs. We\u2019re not ready to share any details, but we\u2019re aiming to create a suite of apps designed with users\u2019\u00a0<i>real\u00a0<\/i>needs in mind.<\/p>\n<p>I\u2019d also\u00a0love to get\u00a0international\u00a0food writers\u00a0to contribute\u00a0to\u00a0give\u00a0the apps\u00a0broader appeal, reaching users across the globe in addition to partnering with health bloggers in the UK.<\/p>\n<h3>What advice do you have for developers who are just starting out or investigating mobile development?<\/h3>\n<p>Choose something really small, like\u00a0a\u00a0simple\u00a04&ndash;5 page\u00a0application,\u00a0and see\u00a0it\u00a0through to the end.\u00a0You\u2019ll\u00a0be surprised how\u00a0many\u00a0hurdles you\u00a0come up against and, if you\u2019re committed to seeing the project to the finish line, figuring out how to\u00a0overcome\u00a0each challenge forces you to\u00a0learn\u00a0the most\u00a0vital steps\u00a0to successfully building mobile apps.\n&nbsp;\n&nbsp;\n<i>Visit<\/i><i>\u202f<\/i><a href=\"http:\/\/xamarin.com\/customers\"><i>xamarin.com\/customers<\/i><\/a><i>\u202f<\/i><i>to learn how our customers across industries and geographies deliver amazing mobile apps, and visit<\/i><i>\u202f<\/i><a href=\"http:\/\/xamarin.com\/download\"><i>xamarin.com\/download<\/i><\/a><i>\u202f<\/i><i>to start building your own.<\/i><span>\u00a0<\/span>\t\t<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Lean Cook,\u00a0a popular UK diet and fitness blog started\u00a0as a hobby\u00a0by a husband and wife\u00a0team, is a prime example of how to design apps for the\u00a0user. Instead of simply replicating web content on a smaller screen, the team crafted an interactive shopping and cooking experience.\u00a0They\u2019ve grown a loyal following, and their latest project (available [&hellip;]<\/p>\n","protected":false},"author":564,"featured_media":33352,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[2],"tags":[5,9,6],"class_list":["post-33330","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-developers","tag-android","tag-case-studies","tag-ios"],"acf":[],"blog_post_summary":"<p>The Lean Cook,\u00a0a popular UK diet and fitness blog started\u00a0as a hobby\u00a0by a husband and wife\u00a0team, is a prime example of how to design apps for the\u00a0user. Instead of simply replicating web content on a smaller screen, the team crafted an interactive shopping and cooking experience.\u00a0They\u2019ve grown a loyal following, and their latest project (available [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/xamarin\/wp-json\/wp\/v2\/posts\/33330","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/xamarin\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/xamarin\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/xamarin\/wp-json\/wp\/v2\/users\/564"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/xamarin\/wp-json\/wp\/v2\/comments?post=33330"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/xamarin\/wp-json\/wp\/v2\/posts\/33330\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/xamarin\/wp-json\/"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/xamarin\/wp-json\/wp\/v2\/media?parent=33330"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/xamarin\/wp-json\/wp\/v2\/categories?post=33330"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/xamarin\/wp-json\/wp\/v2\/tags?post=33330"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}