Domanda

I switch (with CoccoaPods) from Pixate to PixateFreestyle. I make not change in my code or the style.

Now this style is not applied:

.posTable {
  background-color: #003366;
  separator-color: #003366;
}
.posTable table-view-cell {
  background-color: #001933;
}

However, if I re-save the CSS (using the live CSS) it get applied. Because the only change was move to PixateFreestyle, I don't know that to do (apart to switch back).

È stato utile?

Soluzione

I finally find a workaround.

The issue is the order to set the values. If is set:

self.documentItemsTable.dataSource = self.documentItemsTable;
self.documentItemsTable.delegate = self.documentItemsTable;
self.documentItemsTable.styleClass = @"posTable";

It fails. However if set:

self.documentItemsTable.styleClass = @"posTable";
self.documentItemsTable.delegate = self.documentItemsTable;

It work. In fact, if the delegate is not set it not work, or if set before the styleClass.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top