Code

Storyteller | iOS Universal Video Sharing App Template (Swift)

Storyteller | iOS Universal Video Sharing App Template (Swift)




iOS and Android versions can share the same database on back4app







25 May 2018
• Accordingly to the new EU GDPR terms, I've updated the 'tou.html' file and Documentation.
IMPORTANT: This means that if a User asks for his/her Account deletion, you must do it within 24 hours, as the GDPR's "Right to be forgotten" Article states (LINK: https://gdpr-info.eu/art-17-gdpr/)
30 April 2018 
• Fixed the bug on saving videos to Photo Library by adding a 'Privacy - Photo Library Additions Usage Description' row in the Info.plist file
19 April 2018
*** MAJOR UPDATE ***
• Reskinned the app completely in the Storyboard
• Edited the height and views positions of the 'HomeCell' in the Home, Following. Account and OtherUserProfile controller in the Storyboard | Changed the tableView's height of the 'heightForRowAt indexPath:' delegate into 160 in their relative .swift files
• Replaced AdMob banners code with Interstitial ads code in the Home.swift, Following.swift, Account.swift and OtherUserProfile.swift files | Adjusted the height of the TableViews int their relative Controllers in the Storyboard
• Changed the AdMob Unit ID string in Configs.swift:
    let ADMOB_INTERSTITIAL_UNIT_ID = "ca-app-pub-3940256099942544/1033173712" 

• Changed the App icon
• Added Followers and Following buttons and relative code in OtherUserProfile.swift
• Edited the 'viewDidAppear()' method in the Follow.swift file in order to use a new 'userObj' variable instead of the currUser one
• Added an 'avatarButton' UIButton in all the prototype cells in the controllers of the Storyboard and connected them to the 'HomeCell' class of the Home.swift file
• Added a method to show a user's profile screen by tapping the avatarButton of the cells in the Home.swift and Following.swift files
• Changed all 'videosClass' instances to 'vObj' by using the Find/replace tool in Xcode
• Changed main green color into a custom purple one in the Storyboard and added its UIColor variable in Configs.swift:
     let MAIN_COLOR = UIColor(red: 217/255, green: 50/255, blue: 93/255, alpha: 1)
3 April 2018
• Updated to recommended settings with Xcode 9.3
• Updated the 3 Facebook SDKs (because of Swift 4.1 release):
FBSDKCoreKit.framework
FBSDKLoginKit.framework
FBSDKShareKit.framework


Storyteller is a Universal App Template where you can record videos for a length of max. 20 seconds and post them within the app based on categories (like Comedy, Food, Places, DIY, etc.), share their title and thumbnail image to social networks, Mail and SMS.
You can follow users to get their latest videos, dismiss watched videos by swiping down your finger on the screen. This app includes a Report inappropriate content feature, replay watched video and Terms of User HTML file (which you will have to carefully edit in accordance with Apple’s EULA terms).

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 server side.

Storyteller is a native XCode project, Swift language, Universal, Parse SDK hosted on http://back4app.com, super easy to customize.




About Parse SDK and back4app

Read this article for more info about back4app and Parse SDK: https://hubpages.com/technology/Parse-SDK-will-not-shutdown-in-thanks-to-back4app

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: http://parseplatform.org

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: https://youtu.be/z2LemT1_LqA

How to remove AdMob Interstitial ads

Use the Find tool in Xcode to find this line of code:
   self.showInterstitial()
and comment it out.

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 Interstitial ads
  • Backend with Parse Server hosted on back4app
  • Push Notifications for Follow and Likes
  • Record videos with just a tap, post them by choosing a category.
  • PDF User Guide included
  • PSD icon graphics included
  • Easy to customize, well commented code


  • Apple Mac 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 back4app.com









by
by
by
by
by
by