Questions tagged [pftableviewcell]
16 questions
5
votes
1 answer
Xcode 6.3 Parse SDK 1.7.1 PFTableViewCell Error "has incompatible type"
My code:
override func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath, object: PFObject) -> PFTableViewCell{
var cell = tableView.dequeueReusableCellWithIdentifier("CustomCell") as!
CustomTableViewCell!
…

Rob
- 53
- 4
2
votes
1 answer
Can't display custom cell with PFQueryTableViewController (Swift2)
Using parse.com v1.4 (installed with cocoa pods) with Swift 2 +
I've setup up my PFQueryTableViewController (ParseUI) with a custom cell. I believe everything is hooked up fine, however I can't get the cell to display the value from Parse.com even…

ppp
- 713
- 1
- 8
- 23
2
votes
3 answers
Display image when UITableView is empty
I'm trying to display an image when my UITableView is empty, but for some reason the code won't run when the tableView is empty, though it's fine when there are cells:
// Configures cell
override func tableView(tableView: UITableView,…

Z-Man Jones
- 187
- 1
- 12
1
vote
2 answers
Table View Cell Selection Error
I have a table view where the user selects friends. My problem is that for some reason when one cell gets selected another unrelated cell gets selected as well. Can anyone help me understand what is happening?
Here is my code for handling the…

Trip Phillips
- 430
- 1
- 5
- 18
1
vote
1 answer
How to show time user posted message on feed?
I've created a news feed sort of like facebook and twitter by subclassing my TableViewController into PFQueryTableViewController. I want users to see the exact time someone posted a message on the feed but the code in my PFTableViewCell is written…

Bachenenad
- 65
- 7
1
vote
2 answers
How do I solve this error with "Outlets cannot be connected to repeating content"?
I'm trying to connect a label from my prototype cell of the storyboard to my view controller. Every time I do this I get an error saying "Outlets cannot be connected to repeating content". I don't know why its doing that because I don't where I'm…

JoshyJay
- 53
- 1
- 6
1
vote
1 answer
PFQueryTable using a subquery not returning results in Swift
I have a Swift project using Parse and I am using PFQueryTable to populate a table with prototype cells. Below is my queryForTable section to query the data I am interested in. My primary query is for a class titled "Friends" that has a pointer…

ddpishere
- 751
- 1
- 8
- 23
1
vote
1 answer
cellForNextPageAtIndexPath not visible in swift2
I am implementing PFQueryTableViewController from Parse with sections and pagination. Because I am using sections, I need to set the 'load more' cell on my own. However, It seems that I can't access the method cellForNextPageAtIndexPath - I get an…

user2634633
- 509
- 8
- 21
1
vote
3 answers
PFQueryTableView Custom cell Separator not showing
In my PFQueryTableViewController, the custom PFTableViewCell's dont have any separators and i don't know why.
I didn't find anything when googeling.
What am I doing wrong?
class CategoryTableViewController: PFQueryTableViewController {
…

Daniel Storch
- 979
- 3
- 10
- 25
0
votes
1 answer
First cell wrong size
I need to get the first cell in my tableView to be a different size from the rest. The rest of my cells are all under the class CustomPFTableViewCell, but the first one is a different cell so its under the class FirstPFTableViewCell, both of which…

David Krakauer
- 47
- 1
- 9
0
votes
1 answer
Table View Cell size changing
I have been having an issue with my TableView in Xcode using Swift.
I am using Parse, (Sad its shutting down soon) but I think the problem is in the Interface Builder. (IB) The issue is that it adds a huge white space below each cell.
Here's a link…

David Krakauer
- 47
- 1
- 9
0
votes
1 answer
Selecting Multiple Table View Cells At Once in Swift
I am trying to make an add friends list where the user selects multiple table view cells and a custom check appears for each selection. I originally used didSelectRowAtIndexPath, but this did not give me the results I am looking for since you can…

Trip Phillips
- 430
- 1
- 5
- 18
0
votes
2 answers
Use of unresolved identifier for "self"
I have a PFQueryTableViewController subclassed for my viewController and I'm getting the same errors wherever I write self in my code.
I thought that a PFQueryTableViewController wouldn't give me errors for that but I'll provide my code here.
I'm…

JoshyBroheme
- 69
- 8
0
votes
1 answer
How do I pass the data from PFTableViewCell to the next ViewController using prepareForSegue in swift 2.0?
I am trying to pass data from a PFTableViewCell to my next view controller(details) but I am still not able to see the data. I think wrote my code correctly for Swift 2.0/Xcode 7. I've been stuck on this for about 2 weeks and I'm not good with…

JoshyJay
- 53
- 1
- 6
0
votes
1 answer
Access date column in parse - Swift IoS development
I am currently using the below mentioned code to access a date column in parse and display in my custom tableview controller.
if var x = object?["columnName"] as? String {
cell.Name.text = x;
}
One of the columns is a date field. Hence i tried…

rafavinu
- 305
- 4
- 20