Photofeed | iOS Common Social Image feeds App Template (Swift)
Each iOS and Android model can share the identical Parse database by inserting the identical App Id and Consumer Key strings of their Configs recordsdata
Dec 2nd 2016 • Added this straightforward line of code into the postButton() methodology in AddPost.swift: + "(currentUser[USER_FULLNAME]!)".lowercased().parts(separatedBy: " ") on this method you'll search posts by typing a consumer's full title too.
Nov 4th 2016 • Up to date to XCode eight.1 • Eliminated all 'contView' UIViews from their ScrollViews since Apple has fastened the bug in Storyboard
Oct 25th 2016 • Added an IF assertion into sendCommentButt() methodology in Feedback.swift file, with the intention to stop customers to ship feedback with clean textual content
Oct 22nd 2016 • Added: "sound" : "bingbong.aiff" to all cases that ship push notifications, to ensure that the notification sound to play at push acquired • Up to date major.js file by including a operate to report a consumer, so the USER_PASSWORD_STRING shouldn't be wanted anymore. We have up to date the code that studies a consumer to name that Cloud Code operate into OtherUserProfile.swift
Sep 27th 2016 * Modified Push Notification system to back4app push | Eliminated OneSignal
Sep 20th 2016 * Added the chance to delete an Exercise by swiping left -> Delete on a cell * Mounted a format bug on iPhone 6+ within the EditProfile controller in Storyboard * Now you'll be able to faucet your personal publish within the Me display and see it totally. * Added an AlertController that may recall the feedback question in Feedback.swift
Sep 18th 2016 • Up to date to Xcode eight • We needed to embed all of the views which can be in ScrollViews right into a UIView known as 'contView' in Storyboard, so the app will preserve all layouts okay attributable to a bug of Xcode eight on Autoresizing masks. You may discover this line of code into viewDidLoad() strategies within the .swift recordsdata which have a ScrollView: contView.body.measurement.width = view.body.measurement.width NOTE: Because of the bug on Xcode eight, each time you will reopen your Xcode mission, you'll have to choose these 'contView' UIViews and set their width to 320 by utilizing the Measurement inspector panel on the proper measurement
Sep 14th 2016 • Added an if test for metropolis cell's labels in Residence.swift, SearchVC.swift, Me.swift and OtherUserProfile.swift, within the cellForRowAtIndexPath() strategies, so the app will not crash if "metropolis" discipline in your Parse Dashboard is nil (undefined). That is the correction: if postsClass[POSTS_CITY] != nil cell.cityLabel.textual content = "(postsClass[POSTS_CITY]!)" else cell.cityLabel.textual content = "N/A" ? Improved search by key phrases, so we have edited: a) SearchVC.swift file -> queryPosts() by including an array of key phrases b) AddPost.swift -> postButton() by including key phrases for publish's textual content. If that is an replace for you, you should do the next: 1. publish a take a look at publish with the app with a take a look at consumer. 2. Then enter your Parse Dashboard -> Posts class and seek for the brand new generated "key phrases" column, at your new publish's row you will see one thing like this: ["i","been","in","london"] three. You may have now to manually add all key phrases to the opposite empty (undefined) rows of the "key phrases" column by utilizing the syntax above, so for example if a publish has "this can be a nice shot" textual content into 'textLowercase' column, copy that textual content and format it like this: ["this","is","a","great","shot"] and paste it into the empty filed of that publish. It's because the app cannot do this on already created posts, in fact.
Aug 28th 2016: • Accordingly to new EULA phrases by Apple, we needed to implement a "Report Consumer" function too, so we have added the next traces into Configs.swift: let USER_IS_REPORTED = "isReported" let USER_REPORT_MESSAGE = "reportMessage" let USER_PASSWORD_STRING = "passwordString" and up to date the SignUp.swift file -> signUpButt() methodology by including: userForSignUp[USER_PASSWORD_STRING] = passwordTxt.textual content userForSignUp[USER_IS_REPORTED] = false • Edited queryPostsOfFollowing() methodology, in Residence.swift, to test if a Consumer has been reported and higher loading all of your posts. • Edited cellForRowAtIndexPath() into Me.swift, the SHOW MY LIKES part • Added the reportButton() methodology into OtherUserProfile.swift • Added this traces into loginButt() in Login.swift: // Save passwordString consumer![USER_PASSWORD_STRING] = self.passwordTxt.textual content consumer!.saveInBackground() IMPORTANT: So, if that is an replace for you, you'll have to join with a take a look at consumer (you will take away it later), so the app will create the two columns wanted for reporting a consumer in the Consumer class in your personal Parse Dashboard ("passwordString" and "isReported"). Then, refresh the Consumer class in your Parse Dashboard and you may see three new columns: "isReported" "reportMessage" "passwordString" "isReported" and "reportMessage" rows can be empty, so you will should set all "isReported" rows to FALSE. Then, when you have different customers registered within the Consumer class and your app is reside on the App Retailer, you should to vary their passwords within the "password" column as you would like and e mail them a message much like the next: "Because of current Safety updates of this app, please do the next steps to reset your password: 1. open YOUR APP NAME, enter your Account display and logout 2. Within the Login display, faucet "Forgot password?" and insert the e-mail handle you have used to register within the app (which can be your username) and faucet "Reset Password" three. Change your password with the e-mail you will get four. Return to YOUR APP NAME and login once more along with your username and the brand new password. Thanks for understanding!" You because the Admin of the app ought to day by day test your Parse Dashboard for reported posts or customers and take motion about it. * If that is NOT an replace and you've got purchased this app for the primary time, simply ignore all this
Jul 19th 2016: • Accordingly to the brand new EULA phrases by Apple, we needed to change the Report button for Posts: now you'll be able to immediately report a Publish and conceal it from Search and Residence controllers. You might seek for "POSTS_IS_REPORTED" with the Discover navigator field in Xcode (left panel, lens icon) to search out out the brand new traces of code we have added on this replace and replace your personal app accordingly. PLEASE NOTE that if that is the primary time you purchase this app and haven't any data in your Parse Dashboard but, you'll be able to ignore the assertion above. OTHERWISE, if that is an replace for you, you'll have to manually add 2 columns in your Parse Dashboard, into Posts class: hasReported [of type Boolean] reportMessage [of type String] Then you definitely'll should enter every row of the isReported column and set it to FALSE. Then you'll be able to run the app and take a look at it once more. You because the Admin of the app ought to day by day test your Parse Dashboard for reported posts, so you are able to do both 2 issues: change the isReported row again to FALSE to permit that publish(s) to be seen within the app once more, or delete it. Please observe that if you happen to'll delete a publish, you will should search for its objectId into the Likes class too (postPointer column) and take away the rows that include it, in any other case the app will crash within the Me controller -> Likes tab.
Jun 15th 2016: • Mounted crash on push notifications for NON registered customers: if a consumer has not allowed the app to obtain Push Notifications, the app wont' crash • Up to date AdMob SDK
Photofeed is a Common App Template the place you’ll be able to publish your personal photos, location and relative textual content and become involved in a humorous group.
You may as well browse well-liked posts from different customers, see their profiles, like and share their posts to well-liked social networks.
Photofeed is a local XCode mission, Swift language, Storyboard, Common, tremendous simple to customise, backend with Parse SDK hosted on http://back4app.com
- XCode eight.x mission – Swift – 64bit
- iOS eight/9/10+ – Common – Storyboard
- AdMob banners
- Push Notifications for likes, comply with and feedback
- Works with Parse backend hosted on back4app
- Simply publish your photos, textual content and present location, like and remark posts of different customers, delete your personal ones.
- Phrases of Consumer .html file and Report function included
- PDF Consumer Information included
- PSD graphics included
- Simple to customise, nicely commented code
Have enjoyable with Photofeed, and don’t neglect to price it in your Downloads web page!
Necessary Disclaimer: We’ve lately discovered that some builders have purchased our app templates, reskinned them only a bit and put them on sale on different supply code markets much like CodeCanyon, saying that they developed and personal such supply codes.
That may be a critical copyright infringement, builders who purchase our templates are allowed to reskin and promote them as apps on the App Retailer (accordingly to the License sort they’ve bought a template for), however will not be allowed to place our unique supply codes on the market on supply code markets, together with CodeCanyon.
We’ll report builders who made copyright infringements to the competent authorities.