Code

Hey! | iOS Universal Short Messaging App Template (Swift)

Hey! | iOS Universal Short Messaging App Template (Swift)






Both iOS and Android versions can share the same database on back4app!







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

• Edited 'editActionsForRowAt()' method in Friends.swift, the 'blockedUser' array's instantiation and code
6 October 2017
• Edited the Location Privacy Usage keys into Info.plist. 
So right-click on Info.plist in Xcode, Open As -> Source code, and replace the existing <key>NSLocation... rows with this code:
       <key>NSLocationAlwaysAndWhenInUseUsageDescription</key>
       <string>This app needs to access your current location to send heys!</string>
       <key>NSLocationWhenInUseUsageDescription</key>
       <string>This app needs to access your current location to send heys!</string>
       <key>NSLocationAlwaysUsageDescription</key>
       <string>This app needs to access your current location to send heys!</string>
       <key>NSLocationUsageDescription</key>
       <string>This app needs to access your current location to send heys!</string>

In this way, the Location permission alert will show up on devices with iOS versions older than iOS 11


Hey! is a Universal App Template where you can send short messages like hey! to all those friends who are registered in the app with just a tap. It’s that simple, the simplest communication app ever.
You can search for friends by name in the Search controller, add them to your Friends list and send them a hey!, attach a picture to it or your current location, or simple text of the selected hey!. They will receive a Push Notification and can easily reply to your “hey!” by sending it back.
Users are able to block/unblock other users, remove them from their list and make a group of friends to send heys! all at once, again, with just a tap!
Check the video preview to see it in action.

Since its backend is by Parse Server, 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.

Hey! is a native XCode project, Swift language, Storyboard, Universal, super easy to customize, backend with Parse SDK hosted on https://back4app.com




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 banner ads

Check this video out to see how to remove the code that shows AdMob banners: https://youtu.be/e-HQYnta2Jg 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
  • Backend with Parse SDK hosted on back{4}app
  • Push Notifications for sent heys!
  • Send hey! with text, your location or a picture
  • Invite friends by SMS or email
  • Browse received heys!, reply, block/remove Friends
  • Search for friends by name
  • PDF User Guide and PSD 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 back4app.com









by
by
by
by
by
by