Pearl API update.
This commit is contained in:
parent
78956beb08
commit
554c0129a2
@ -3917,7 +3917,7 @@
|
|||||||
);
|
);
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
runOnlyForDeploymentPostprocessing = 0;
|
||||||
shellPath = "/bin/sh -e";
|
shellPath = "/bin/sh -e";
|
||||||
shellScript = "exec Scripts/genassets";
|
shellScript = "exec Scripts/genassets\n";
|
||||||
showEnvVarsInLog = 0;
|
showEnvVarsInLog = 0;
|
||||||
};
|
};
|
||||||
DAB7AE4C1F3D56AD00C856B1 /* ShellScript */ = {
|
DAB7AE4C1F3D56AD00C856B1 /* ShellScript */ = {
|
||||||
|
@ -120,21 +120,21 @@
|
|||||||
MPSiteEntity *site = [self siteInContext:[MPiOSAppDelegate managedObjectContextForMainThreadIfReady]];
|
MPSiteEntity *site = [self siteInContext:[MPiOSAppDelegate managedObjectContextForMainThreadIfReady]];
|
||||||
if (indexPath.section == 0) {
|
if (indexPath.section == 0) {
|
||||||
if (indexPath.item == 0) {
|
if (indexPath.item == 0) {
|
||||||
MPGlobalAnswersCell *cell = [MPGlobalAnswersCell dequeueCellFromTableView:tableView indexPath:indexPath];
|
MPGlobalAnswersCell *cell = [MPGlobalAnswersCell dequeueFromTableView:tableView indexPath:indexPath];
|
||||||
[cell setSite:site];
|
[cell setSite:site];
|
||||||
return cell;
|
return cell;
|
||||||
}
|
}
|
||||||
if (indexPath.item == 1)
|
if (indexPath.item == 1)
|
||||||
return [MPSendAnswersCell dequeueCellFromTableView:tableView indexPath:indexPath];
|
return [MPSendAnswersCell dequeueFromTableView:tableView indexPath:indexPath];
|
||||||
if (indexPath.item == 2) {
|
if (indexPath.item == 2) {
|
||||||
MPMultipleAnswersCell *cell = [MPMultipleAnswersCell dequeueCellFromTableView:tableView indexPath:indexPath];
|
MPMultipleAnswersCell *cell = [MPMultipleAnswersCell dequeueFromTableView:tableView indexPath:indexPath];
|
||||||
cell.accessoryType = self.multiple? UITableViewCellAccessoryCheckmark: UITableViewCellAccessoryNone;
|
cell.accessoryType = self.multiple? UITableViewCellAccessoryCheckmark: UITableViewCellAccessoryNone;
|
||||||
return cell;
|
return cell;
|
||||||
}
|
}
|
||||||
Throw( @"Unsupported row index: %@", indexPath );
|
Throw( @"Unsupported row index: %@", indexPath );
|
||||||
}
|
}
|
||||||
|
|
||||||
MPAnswersQuestionCell *cell = [MPAnswersQuestionCell dequeueCellFromTableView:tableView indexPath:indexPath];
|
MPAnswersQuestionCell *cell = [MPAnswersQuestionCell dequeueFromTableView:tableView indexPath:indexPath];
|
||||||
MPSiteQuestionEntity *question = nil;
|
MPSiteQuestionEntity *question = nil;
|
||||||
if ([site.questions count] > indexPath.item)
|
if ([site.questions count] > indexPath.item)
|
||||||
question = site.questions[indexPath.item];
|
question = site.questions[indexPath.item];
|
||||||
|
@ -150,7 +150,7 @@
|
|||||||
|
|
||||||
- (UICollectionViewCell *)collectionView:(UICollectionView *)collectionView cellForItemAtIndexPath:(NSIndexPath *)indexPath {
|
- (UICollectionViewCell *)collectionView:(UICollectionView *)collectionView cellForItemAtIndexPath:(NSIndexPath *)indexPath {
|
||||||
|
|
||||||
MPGuideStepCell *cell = [MPGuideStepCell dequeueCellFromCollectionView:collectionView indexPath:indexPath];
|
MPGuideStepCell *cell = [MPGuideStepCell dequeueFromCollectionView:collectionView indexPath:indexPath];
|
||||||
cell.imageView.image = ((MPGuideStep *)self.steps[indexPath.item]).image;
|
cell.imageView.image = ((MPGuideStep *)self.steps[indexPath.item]).image;
|
||||||
cell.contentView.frame = cell.bounds;
|
cell.contentView.frame = cell.bounds;
|
||||||
|
|
||||||
|
@ -179,7 +179,7 @@ typedef NS_OPTIONS( NSUInteger, MPPasswordsTips ) {
|
|||||||
|
|
||||||
- (UICollectionViewCell *)collectionView:(UICollectionView *)collectionView cellForItemAtIndexPath:(NSIndexPath *)indexPath {
|
- (UICollectionViewCell *)collectionView:(UICollectionView *)collectionView cellForItemAtIndexPath:(NSIndexPath *)indexPath {
|
||||||
|
|
||||||
MPSiteCell *cell = [MPSiteCell dequeueCellFromCollectionView:collectionView indexPath:indexPath];
|
MPSiteCell *cell = [MPSiteCell dequeueFromCollectionView:collectionView indexPath:indexPath];
|
||||||
[cell setFuzzyGroups:self.fuzzyGroups];
|
[cell setFuzzyGroups:self.fuzzyGroups];
|
||||||
id item = self.dataSource[(NSUInteger)indexPath.section][(NSUInteger)indexPath.item];
|
id item = self.dataSource[(NSUInteger)indexPath.section][(NSUInteger)indexPath.item];
|
||||||
if ([item isKindOfClass:[MPSiteEntity class]])
|
if ([item isKindOfClass:[MPSiteEntity class]])
|
||||||
|
@ -102,9 +102,9 @@ PearlEnum( MPDevelopmentFuelConsumption,
|
|||||||
SKProduct *product = content;
|
SKProduct *product = content;
|
||||||
MPStoreProductCell *cell;
|
MPStoreProductCell *cell;
|
||||||
if ([product.productIdentifier isEqualToString:MPProductFuel])
|
if ([product.productIdentifier isEqualToString:MPProductFuel])
|
||||||
cell = [MPStoreFuelProductCell dequeueCellFromTableView:tableView indexPath:indexPath];
|
cell = [MPStoreFuelProductCell dequeueFromTableView:tableView indexPath:indexPath];
|
||||||
else
|
else
|
||||||
cell = [MPStoreProductCell dequeueCellFromTableView:tableView indexPath:indexPath];
|
cell = [MPStoreProductCell dequeueFromTableView:tableView indexPath:indexPath];
|
||||||
[cell updateWithProduct:product transaction:self.transactions[product.productIdentifier]];
|
[cell updateWithProduct:product transaction:self.transactions[product.productIdentifier]];
|
||||||
|
|
||||||
return cell;
|
return cell;
|
||||||
|
Loading…
Reference in New Issue
Block a user