iOS and Swift Beginner Tutorial: App like Twitter using Parse Part 1

Daniel Autenrieth · 73K views · 2014 · 30:30

Open on YouTube

Software (other)Web developmenttutorialdated

Why Stack Overflow recommends it

Stack Overflow users link it when answering Parse and Swift questions, such as SDK setup errors, saving data, and building a social-feed app.

Recommended by 4 people across 3 different months, 2014 to 2015.

What it is

A 30-minute beginner tutorial by Daniel Autenrieth, part 1 of a series, that builds a Twitter-like iOS app in Swift using Parse as the backend. This part covers adding the Parse SDK to an Xcode project and designing the app's user interface.

What people said

Recommends Eilon · 2014-11 · Stack Overflow · on “How to store profile picture and after login retrieve it into uiimageview using PARSE”

For picking an image you'll have to use UIImagePickerController, for uploading it, you'll have to convert the image into a PFFile and thus upload it. Here's a great tutorial that might help you: [this video] In addition to this tutorial, look into his channel for a tutorial where he "upgrades" and also adding profile images

Recommends bjtitus · 2015-02 · Stack Overflow · on “Use of unresolved identifier 'PFQuery'”

You haven't included the Parse framework in your project correctly. This is done about 7 minutes in during Part 1 of that tutorial: [this video] It is also covered in Parse's QuickStart instructions: [LINK] All you need to do is the "Install the SDK" portion but you also need to include the Parse framework's header in your Objective-C bridging header: #import <Parse/Parse.h>

Recommends Devster101 · 2015-09 · Stack Overflow · on “Creating a wall where people can post comments”

I recommend using Parse for you backend database. Its super simple and very powerful. You can find some great tutorials for it too. Here's one that's relevant Swift & Parse Twitter like App [this video]

Recommends adolfosrs · 2015-09 · Stack Overflow · on “Swift reloadTableView after queryForTable”

For jobs like this you should use query.findObjectsInBackground . It will problably demand some refactoring in your code but will turn your app much more responsive and user friendly. Take a look at this video tutorial [this video] . It might help. The code from this question [LINK] should be more helpful.

Cites Joey Sardella · 2015-01 · Stack Overflow · on “Learning Swift in Xcode 6.1”

I'm currently learning Swift from a tutorial video using Xcode 6.0. The code was given to me to edit as a read through, However, the code seems to be outdated already. I'm getting syntax errors for example this line: var sceneData = NSData.dataWithContentsOfMapFiled(path!, options: .DataReadingMappedIfSafe, error: nil) // Error: extra argument 'options' in call Keep in mind that I'm very new to programming and swift is the first language I plan on learning how to write from scratch. I've looked up the differences between 6.0 and 6.1 and couldn't find a great description of all of the changes. This is the link to the tutorial I'm following. [this video] Any help with this code/learning swift/expec

Cites Ethan T · 2015-05 · Stack Overflow · on “Error with Parse integrated with Swift”

When I'm trying to make a social media-like app using Parse, I get the following error when trying to go to the section to compose a "sweet". I'm trying to recreate what is in this video: ( [this video] ), and this is the error I am getting in the console output : *** First throw call stack: ( 0 CoreFoundation 0x0000000105cfdc65 __exceptionPreprocess + 165 1 libobjc.A.dylib 0x0000000107868bb7 objc_exception_throw + 45 2 CoreFoundation 0x0000000105cfd8a9 -[NSException raise] + 9 3 Foundation 0x000000010611bb53 -[NSObject(NSKeyValueCoding) setValue:forKey:] + 259 4 CoreFoundation 0x0000000105c45d50 -[NSArray makeObjectsPerformSelector:] + 224 5 UIKit 0x000000010687452b -[UINib instantiateWithOwner:

Cites Joseph DeChicchis · 2015-11 · Stack Overflow · on “'PFObject' does not have a member named 'subscript'”

I know its been a while but I encountered a similar problem when I was starting my first Parse application with SDK version 1.9.1. The Quickstart guide had the code below as an example as to how to save values: let testObject = PFObject(className: "TestObject") testObject["foo"] = "bar" testObject.saveInBackgroundWithBlock { (success: Bool, error: NSError?) -> Void in println("Object has been saved.") } But, the line testObject["foo"] = "bar" returned the error 'PFObject' does not have a member named 'subscript' . I was able to work around the problem by changing the line to testObject.setValue("bar", forKey: "foo") . (As suggested by a tutorial video on YouTube: [this video] )