CODE.MARKET
Search main icon svg
Enter ↵

AskIt | iOS Universal Questions/Answers App Template (Swift)

Author userpic
by cubycode
AskIt | iOS Universal Questions/Answers App Template (Swift) Android Social & Dating Mobile App template

Description

AskIt | iOS Universal Questions/Answers App Template (Swift) - 1

AskIt | iOS Universal Questions/Answers App Template (Swift) - 2 AskIt | iOS Universal Questions/Answers App Template (Swift) - 3 AskIt | iOS Universal Questions/Answers App Template (Swift) - 4 AskIt | iOS Universal Questions/Answers App Template (Swift) - 5 AskIt | iOS Universal Questions/Answers App Template (Swift) - 6 AskIt | iOS Universal Questions/Answers App Template (Swift) - 7

AskIt | iOS Universal Questions/Answers App Template (Swift) - 8

AskIt | iOS Universal Questions/Answers App Template (Swift) - 9 iOS, Android and Web versions can share the same database on back4app

AskIt | iOS Universal Questions/Answers App Template (Swift) - 10

AskIt | iOS Universal Questions/Answers App Template (Swift) - 11

AskIt | iOS Universal Questions/Answers App Template (Swift) - 12

AskIt | iOS Universal Questions/Answers App Template (Swift) - 13

14 Apr 2020
• Updated design for all the screens according to new iOS design techniques to improve the usability of users
• Applied watermark design to listing screens of albums, users etc.
• Updated the code to support iOS 13+ features and update security permissions in info.plist file.
• Integrated the code to support the iOS dark mode feature.
• Xcode 11+ support also integrated.
• Implemented Apple login.

3 Sep 2019
• Improved the design of login and signup screens with newly added views and color contrast with the background, also added circular corners of buttons.
• Fixed the login issue with Facebook
• Improved the list views with rounded corners of views and added color contrast.
• Improved the lists of home and search screens with color contrast and newly added views also improved the height of the attached image on each item.
• Improved the design of edit profile screen and account screens by adding shades and color of views in the background. 
28 Jule 2018
• iPad compatibility implemented.
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/)
17 May 2018
• Adjusted the layout of the QuestionCell of the Home and Search controllers in the Storyboard by moving the Attachment Button behind the Question TextView and enlarging it.
• Edited the 'cellForRow atIndexPath()' method in Home.swift and Search.swift, in order to see a preview of an image for those questions that have an attachment. 
24 April 2018
• Replaced AdMob banners with Interstitial code in Home.swift, Search.swift and Answers.swift | Adjusted the bottom edge of the views in their relative controllers in the Storyboard
• Changed AdMob variable in Configs.swift:
    let ADMOB_INTERSTITIAL_UNIT_ID = "ca-app-pub-3940256099942544/1033173712" 

• Changed Likes system by adding a new column of type 'Array' called 'likedBy' in the 'Answers' and 'Questions' classes in the Parse Dashboard
• Edited the 'likeButt()' method in Home.swift and Search.swift 
• Added a like button in the Storyboard -> AnswerCell | Edited the Answers.swift file accordingly by adding a 'likeButt()' method and the likeButton IBOutlet in the AnswerCell class
• Edited 'cellForRowAt indexPath:' method in Home.swift and Search.swift
• Added a like_butt and liked_butt image sets in Assets.xcassets
• Edited the 'sendAnswerButt()' method in Answers.swift by adding this line:
     aObj[ANSWERS_LIKED_BY] = [String]()

• Edited the 'sendQuestionButt()' method by adding this line:
     qObj[QUESTIONS_LIKED_BY] = [String]()

• Added the following lines in Configs.swift:
   let QUESTIONS_LIKED_BY = "likedBy" 
   let ANSWERS_LIKED_BY = "likedBy" 
   let ANSWERS_LIKES = "likes" 

• Replaced all instances of 'aClass' and 'qClass' with 'aObj' and 'qObj' in almost all swift files (just use the Find tool in Xcode to find them)

** IMPORTANT: IF THIS IS AN UPDATE FOR YOU, then you should do the following:
- Updated the code of your app by comparing your old swift files and Storyboard with the updated ones
- Enter your Pasre Dashboard and create a column of type 'Array', name it exactly 'likedBy' in the 'Questions' class
- Do the same for the 'Answers' class
- Check the 'Likes' class, the userPointer column has the objectId's of the users who liked questions, so you have to copy them and add them to the cells of the 'likedBy' column in your 'Questions' class as strings, they should look like this:
   ["yu76Gtrr4","hbg4ERs1"] 
You can recognize the row of a liked question by check its objectId in the 'questionPointer' of your Likes class
- For the 'Answers' class, you only need to fill all the empty cells of the 'likedBy' column with:
   []
PLEASE NOTE that the Likes class won't be used anymore, but you can still keep it in case some users won't update the app from the App Store.  

3 April 2018
• Updated to reccomended settings with Xcode 9.3
• Updated the 3 Facebook SDKs (because of Swift 4.1 release):
FBSDKCoreKit.framework
FBSDKLoginKit.framework
FBSDKShareKit.framework
26 November 2017
• Edited the the 'showBanner()' method in Home.swift, Answers.swift and Search.swift in order to the AdMob banner to not overlay the bottom TextField
22 September 2017
• Updated to Xcode 9, Swift 4, iOS 11
• Added a 1125x2436px png image (iPhone X launch image) into Assets.xcassets -> Brand Assets image set
• Edited the 'refreshTB()' method in Home.swift
• Edited 'getFBUserData()' in case of no email on Facebook sign in
• Edited 'forgotPasswButt()' method in Login.swift
• Added .lowercased() to the 'searchBarSearchButtonClicked()' method in Search.swift:
      queryQuestions(searchBar.text!.lowercased())

• Added UITableViewDataSource and UITableViewDelegate delegates in the class declaration of the Search.swift file, as well as the delegates methods declarations, as per Swift 4
• Added some lines of code that save a default avatar image (the app's logo) in SignUp.swift
• Adjusted buttons and views positions in the Storyboard, because of iPhone X layout 
• Unchecked the Runtime API Checking in the Scheme -> Diagnostics, accordingly to this post: https://stackoverflow.com/a/44392584/3724800


AskIt is a Universal App Template where you can post any question and have users answering, you can do the same on other user’s questions. Users can also like questions from the Home screen or search for something on the Search screen.

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, also because back4app offers a generous free plan.

AskIt is a native XCode project, Swift language, Storyboard, Universal, Push Notifications for likes and answers, super easy to customize, backend with Parse SDK hosted on https://back4app.com

AskIt | iOS Universal Questions/Answers App Template (Swift) - 14

AskIt | iOS Universal Questions/Answers App Template (Swift) - 15

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: https://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:

How to remove AdMob interstitial ads

Simply use the Find tool in Xvode to find this line of code:
self.showInterstitial()
and comment it out in all files found by the Find tool

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.

Why do I need to have login from Apple Account in the app?

Yes, because from 30th April 2020, APPLE authorities restricted the apps using 3rd party login from FACEBOOK, GOOGLE etc should also integrate “APPLE SIGN IN” method in the app. For reference: APPLE SIGN IN GUIDELINES

Terms & Policy about Back4App

Users are bound to change the back4App keys and APP keys after purchasing the source code and all the related stuff from CUBYCODE. As CUBYCODE will reserve the rights to take some legal actions, if users continue to use company’s account of Back4App for their testing purposes.

Screenshots

AskIt | iOS Universal Questions/Answers App Template (Swift) - 16 AskIt | iOS Universal Questions/Answers App Template (Swift) - 17 AskIt | iOS Universal Questions/Answers App Template (Swift) - 18 AskIt | iOS Universal Questions/Answers App Template (Swift) - 19 AskIt | iOS Universal Questions/Answers App Template (Swift) - 20 AskIt | iOS Universal Questions/Answers App Template (Swift) - 21 AskIt | iOS Universal Questions/Answers App Template (Swift) - 22



AskIt | iOS Universal Questions/Answers App Template (Swift) - 23

AskIt | iOS Universal Questions/Answers App Template (Swift) - 24

  • XCode 11.4+ project – Swift 4.5+ – 64bit
  • Universal – Storyboard – iOS 13.5+
  • AdMob Interstitial ads
  • Facebook login
  • Post/answer/like questions
  • Attach an image to your Questions
  • Works with Parse SDK hosted on back4app
  • Push Notifications for likes and answers
  • Report abusive contents (questions or answers)
  • Search for questions by keywords
  • Documentation and PSD icon graphics included
  • Easy to customize | Well commented code


AskIt | iOS Universal Questions/Answers App Template (Swift) - 25

  • 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

AskIt | iOS Universal Questions/Answers App Template (Swift) - 26

AskIt | iOS Universal Questions/Answers App Template (Swift) - 27

AskIt | iOS Universal Questions/Answers App Template (Swift) - 28

AskIt | iOS Universal Questions/Answers App Template (Swift) - 29

Product tags

    • 6 month free support included from author
    • Free lifetime product updates guarantee
    • 360 degrees quality control
    Secure payment & money back guarantee

    Related products