Recipes | iOS Universal Social Recipes App Template (Swift)

Recipes | iOS Universal Social Recipes App Template (Swift)

3 April 2018
• Updated to recommended settings with Xcode 9.3
• Updated the 3 Facebook SDKs (because of Swift 4.1 release):
Nov 21rt 2017
• Improved the Recipes search on the Home screen, now you can search by keywords with the searchBar:
a) Added this line into Configs.swift:
    let RECIPES_KEYWORDS = "keywords" 
b) Edited 'queryRecipes()' method in Recipes.swift
c) Edited 'submitButt()' method in AddEditRecipes.swift
PLEASE NOTE: IF THIS IS AN UPDATE FOR YOU, you need to do the following:
1. Updated the swift files by comparing the updated one mentioned above with your old ones
2. Submit a test recipe via the app
3. Enter your Parse Dashboard -> Recipes class, check the new column named "keywords" and manually add the missing keywords in the empty cells of that column. Ex: If a recipe has a title like "Asian vegetable broth", you'll need to enter the keyword of that row as it follows: ["asian","vegetable","broth"].
You have to do that for all the empty cells you'll find in the Recipes class -> "keywords" column, then you'll be able to submit your update to the App Store.
Sep 26th 2017
• Updated to Xcode 9, Swift 4, iOS 11
• Set Swift 3 @objc Inference as Default in Build Settings
• Added 3 lines of code into 'signupButt()' method in SignUp.swift that save a default avatar in the User class 
• Edited 'getFBUserData()' method in Login.swift in case of no email from Facebook login
• Added a 1125x2436px png image (iPhone X launch image) into Assets.xcassets -> Brand Assets image set
• Adjusted some views in the Storyboard, because of iPhone X layout 
• Edited 'showSearchBar()' method in Recipes.swift
• Added these 2 delegates in the class declaration of the ActivityVC.swift file:
and edited the delegates declarations into Swift 4 syntax
• Added these delegates in the class declaration of the OtherUserProfile.swift file:
and changed the delegate methods into Swift 4 syntax
• Edited the 'func showBanner()' methods in order to display banner ads properly in iPhone X
• Unchecked the Runtime API Checking | Main Thread Checker in Edit Scheme -> Diagnostics, accordingly to this post:
Aug 5th 2017
1. Added the following lines into Configs.swift:
   let RECIPES_COMMENTS = "comments" 
   let COMMENTS_CLASS_NAME = "Comments" 
   let COMMENTS_RECIPE_POINTER = "recipePointer" 
   let COMMENTS_USER_POINTER = "userPointer" 
   let COMMENTS_COMMENT = "comment" 
2. Added a Comment imageView and its Label in the RecipesCell in Storyboard and in RecipesCell.swift
3. Added a Comment button in RecipeDetails controller in Storyboard and in RecipeDetails.swift, with its relative code to open the Comments screen
4. Edited the 'cellForItemAtIndexPath()' method in Recipes.swift and OtherUserProfile.swift
4. Added an extension in Configs.swift to round large numbers into K or M
5. Added, of course, a Comments.swift file and its relative controller in the Storyboard
6. Edited the likeButt() code in Recipes.swift, RecipesDetails.swift, Account.swift and OtherUserProfile.swift, in order to show the abbreviated format of the number

• Updated GoogleMobileAds.framework to its latest version
July 17th 2017
• Added an extension to scale big images into Configs.swift and edited 'didFinishPickingMediaWithInfo()' method into EditProfile.swift and AddEditRecipe.swift files!! 

Recipes is a Universal App template where you can post your own recipes in details, attach a video from YouTube and get involved in a funny community.
You can also browse recipes from other users, see their profiles, share their and your recipes to popular social networks, build a Shopping list of ingredients with a single tap (useful to go to the market and check the items you’ve bought), filter recipes by category or text search.

Since its backend is by Parse you don’t have to buy any domain/hosting, there are NO PHP files to upload to a web server so you’ll save some money for sever side.

Recipes is a native Xcode project, Swift language, Storyboard, Universal, Push Notifications for likes, super easy to customize, Parse SDK hosted on

About Parse SDK and back4app

Read this article for more info about back4app and Parse SDK:

Can I host Parse Server on my own server?

Yes, although I don’t provide support for the setup process, you can read the official Guide here:

I get a Code signing error in Xcode 8.x

That’s a bug of Xcode 8 with macOS Sierra, check this sample video to see how to fix it:

How to remove AdMob banner ads

Check this video out to see how to remove the code that shows AdMob banners: Keep in mind that you must repeat the shown steps for every .swift file that contains this line on the top:
import GoogleMobileAds

What about free support for this template?

I can offer free support for bugs encountered in the original code. Instead, if you’ve edited the code and messed something up with it, I may apply some fee to fix it either via TeamViewer or by checking your app project files directly on my computer.

Should I use the latest version of Xcode to edit this template?

Yes, I always update my apps to the latest version of the IDE.

  • XCode 9.x project – Swift – 64bit
  • iOS 8.0+ – Universal – Storyboard
  • AdMob banners
  • Facebook login
  • Works with Parse backend hosted on back{4}app
  • Push Notifications for liked recipes
  • Comment recipes
  • Easily post your recipes, like and save ones from other users, edit/delete your own ones.
  • Terms of User .html file and Report feature included
  • PDF User Guide included
  • PSD graphics included
  • Easy to customize, well commented code

  • Apple Mac PC with its latest OS version installed
  • The latest version of Xcode and some knowledge about its UI interface
  • Photoshop or any other image editor software
  • An Apple Developer account to submit apps to the App Store
  • An AdMob account to generate your own banner UNIT ID
  • A free account on

Important Disclaimer: We’ve recently found out that some developers have bought our app templates, reskinned them just a bit and put them on sale on other source code markets similar to CodeCanyon, saying that they developed and own such source codes.
That is a serious copyright infringement, developers who buy our templates are allowed to reskin and sell them as apps on the App Store (accordingly to the License type they’ve purchased a template for), but are not allowed to put our original source codes for sale on source code markets, including CodeCanyon. We will report developers who made copyright infringements to the competent authorities. Thanks.