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

Daniel Autenrieth · 36K views · 2014 · 52:54

Open on YouTube

Software (other)Web developmenttutorialdated

Why Stack Overflow recommends it

Stack Overflow users link it when they are following along with the Parse and Swift tutorial and hit errors with PFQuery, table view cells, or date formatting.

Recommended by 1 people across 1 different months, 2015 to 2015.

What it is

Part 2 of a beginner Swift tutorial series building a Twitter-like iOS app with Parse as the backend. It covers the main program logic and introduces the Parse framework, including querying data and showing it in table view cells. Presented by Daniel Autenrieth as a screen-recorded coding walkthrough.

What people said

Recommends user1555112 · 2015-03 · Stack Overflow · on “PFUser query taking time to fetch users from Parse”

If you can, do the findObjectsInBackgroundWithBlock query inside the cellForRowAtIndexPath method. Check this tutorial: [this video] he does the same in video.

Cites dom999999 · 2015-01 · Stack Overflow · on “Using UITableViewController and Cell with Parse”

I've been following this tutorial ( [this video] ). Below is the code that is produced at the end. However, for getShifts.findObjectsInBackgroundWithBlock { (objects:AnyObject[]!, error:NSError!) -> Void in I get an error that says I should put AnyObject[]! like [AnyObject]! ...but that just creates more errors. Any ideas? import UIKit class AvailableShifts: UITableViewController { var shiftData: NSMutableArray! override func viewDidAppear(animated: Bool) { super.viewDidAppear(true) loadData() // Uncomment the following line to preserve selection between presentations // self.clearsSelectionOnViewWillAppear = false // Uncomment the following line to display an Edit button in the navigation bar fo

Cites Apple Geek · 2015-02 · Stack Overflow · on “Use of unresolved identifier 'PFQuery'”

So I am following this tutorial [this video] for Parse and when defining a PFQuery variable I get this error: "Use of unresolved identifier 'PFQuery'". Code Below: var getMessages = PFQuery(className:"DevelopmentMessages") How would this be fixed? Thanks in Advance! ;)

Cites Apple Geek · 2015-03 · Stack Overflow · on “'PFQuery' does not have a member named 'objectForKey'”

So I am using swift to make an iOS app, I am also using Parse with it. To learn Parse I have been following this tutorial: [this video] but when I to get to retrieving the text from the Parse Core Data and setting it equal to the Text View in my cell I get this Error: 'PFQuery' does not have a member named 'objectForKey' Code Below: cell.messageTextView.text = message.objectForKey("Content") as String How would this be fixed? Thanks in advance :)

Cites mur7ay · 2015-10 · Stack Overflow · on “Displaying The Date with NSDateFormatter”

I'm not really sure though because I have everything the same from var to return cell the same as in the example video besides 'creator' this is because the individual in the video used 'swiffer' as a category in their Parse project. This is the video I was following: [this video] The date portion starts at 39:24