Questions tagged [wkinterfacetable]

A WKInterfaceTable object creates and manages the contents of a single-column table interface in Apple's WatchKit SDK.

88 questions
1
vote
1 answer

WatchKit, Core Data and tables

I have a published app and now I want to build in a watch extension that will just present a table on the watch populated with data from my core data store. Very simple for now. So I basically tried to use the code I have in my app…
bachma0507
  • 1,543
  • 2
  • 11
  • 22
1
vote
1 answer

Position an image and two labels in a WKInterfaceTable row

I'm building a watch kit extension for my app that includes a WKInterfaceTable. Now I'd like to add a detailTextLabel to the row and place it under the main label. I don't know why but I can only drag it next to the main label not under the primary…
1
vote
1 answer

How to detect movement of table on WatchOS?

In table cell, I have a label that I have to update every second and this makes scroll very laggy... If I can now that user is making the table move, I could stop the timer that updates all the cells. Is there a way to do that?
frankish
  • 6,738
  • 9
  • 49
  • 100
1
vote
2 answers

WKInterfaceLabel in custom WKInterfaceTable row unwrapping to nil

The title sums it up. I've tried disconnecting/reconnecting all the IBOutlets. Here's the code on my InterfaceController where I set up the WKInterfaceTable: func setupLoadingTable () { self.myTable.setNumberOfRows(1,…
JustAnotherCoder
  • 2,565
  • 17
  • 38
1
vote
0 answers

First cell is hidden when displaying the WKInterfaceTable

I have a WKInterfaceTable that starts hidden (as it is retrieving information from the server in my original code) and when the table is filled I just display it and the first row start collapsed. Here you have the willActivate code. -…
1
vote
1 answer

Use of undeclared type error in watch kit app

I'm creating a table in an Interface Controller that is not the main entry point in my WatchKit App. In the statement below, the EventDescription is a custom class that is bound to the table's row. The compiler does not resolve the EventDescription…
abcom
  • 161
  • 2
  • 13
1
vote
1 answer

WKInterfaceTable shows storyboard data when adding rows

I have a WKInterfaceTable with a single row controller. I am using the following code to bind data to the table: [self.table setNumberOfRows:[data count] withRowType:@"RowController"]; for (int i = 0; i < [data count]; i++) { RowController *row…
Rawling
  • 49,248
  • 7
  • 89
  • 127
1
vote
2 answers

WKInterfaceButton action handling in WKInterfaceTable

I recently started to learn and trying to develop a project for Apple Watch support for one of my iPhone projects, where i have WKInterfaceButton object on every RowController in WKInterfaceTable, i want to handle its action to access underlying…
Lk Thanvi
  • 87
  • 1
  • 9
1
vote
1 answer

Sections in WKInterfaceTable

I am trying to create a table with sections having varying number of rows. I saw the solution given here How to create sections in WKInterfaceTable and tried it as follows: tableView.setRowTypes(rowTypes); for q in 0...rowTypes.count-1 { if…
Michael Woyo
  • 138
  • 2
  • 15
1
vote
2 answers

WatchKit context menu, how to tell which row it was for?

I have a WKInterfaceTable in my interface controller and have added a Context Menu to the controller. On tap holding a specific row, the row depresses and displays the context menu. How do I know what row the menu is for?
strangetimes
  • 4,953
  • 1
  • 34
  • 62
1
vote
1 answer

WKInterfaceTable rendering issues. Both the scroll bar and last row are cut off

I'm developing a WatchKit app for the Apple Watch. I "finished" the app originally when the first beta was out back in Nov/Dec. I recently upgraded the the final release and somethings in WatchKit changed (as to be expected). I had to fix couple…
Mario A Guzman
  • 3,483
  • 4
  • 27
  • 36
1
vote
1 answer

View Parse Data on WatchKit Table

I am trying to get my app working on WatchKit. I use Parse, and want to simply show the value of "Request" in my PFObject as a row in a WatchKit Table. I have the table and row set up and the row NSObject class simply has 1 label in it, where the…
user717452
  • 33
  • 14
  • 73
  • 149
1
vote
2 answers

How to show an infinite feed of data in Watch App?

How can in Apple Watch App I can create a never ending scrolling content fetched from the web? One way is to use WKTableInterface, with each row as full screen image and the last row as a button with "Load More" action. On "Load More" action I can…
msk
  • 8,885
  • 6
  • 41
  • 72
1
vote
2 answers

WKInterfaceTable scrollbar height

How can I change the height of a WKInterfaceTable scrollbar? By default scrollbar height is equal to 1 row‘s height. What I am missing?
sash
  • 8,423
  • 5
  • 63
  • 74
1
vote
1 answer

WKinterfaceImage in table losing image when refreshed

I have a WKInterfaceTable in a WatchKit app. The rows in the table each have an image and a label. On first load of the interface controller, I set up the table either in awakeWithContext or willActivate, and everything works fine. The labels and…
Tom Hamming
  • 10,577
  • 11
  • 71
  • 145