Skip to content

Commit

Permalink
- Add support for comments display and including comments with a revi…
Browse files Browse the repository at this point in the history
…ews request

- Update the /Examples/Conversations examples to demonstrate how to fetch comments
- Bump BVSDK version to 6.7.0
  • Loading branch information
sergioazua authored and Tim Kelly committed May 26, 2017
1 parent fc8c542 commit e790460
Show file tree
Hide file tree
Showing 54 changed files with 1,463 additions and 91 deletions.
2 changes: 1 addition & 1 deletion BVSDK.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

Pod::Spec.new do |s|
s.name = "BVSDK"
s.version = '6.5.4'
s.version = '6.7.0'
s.homepage = 'https://developer.bazaarvoice.com'
s.license = { :type => 'Commercial', :text => 'See https://developer.bazaarvoice.com/API_Terms_of_Use' }
s.author = { 'Bazaarvoice' => 'support@bazaarvoice.com' }
Expand Down
80 changes: 68 additions & 12 deletions BVSDK.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions BVSDK/BVSDK.h
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ FOUNDATION_EXPORT const unsigned char BVSDKVersionString[];
#import <BVSDK/BVBaseProductRequest.h>
#import <BVSDK/BVProductTextSearchRequest.h>
#import <BVSDK/BVBulkProductRequest.h>
#import <BVSDK/BVReviewsRequest.h>
#import <BVSDK/BVReviewTableViewCell.h>
#import <BVSDK/BVReviewView.h>
#import <BVSDK/BVReviewsCollectionView.h>
Expand All @@ -111,6 +112,9 @@ FOUNDATION_EXPORT const unsigned char BVSDKVersionString[];
#import <BVSDK/BVStoreReviewSubmission.h>
#import <BVSDK/BVStoreReviewsTableView.h>

#import <BVSDK/BVCommentsRequest.h>
#import <BVSDK/BVCommentsResponse.h>

// Curations
#import <BVSDK/BVCurations.h>
#import <BVSDK/BVCurationsFeedRequest.h>
Expand Down
4 changes: 2 additions & 2 deletions BVSDK/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>6.5.4</string>
<string>6.7.0</string>
<key>CFBundleVersion</key>
<string>6.5.4</string>
<string>6.7.0</string>
<key>LSApplicationCategoryType</key>
<string></string>
<key>NSPrincipalClass</key>
Expand Down
2 changes: 1 addition & 1 deletion Examples/BVSDKDemo/BVSDKDemo/HomeViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ class HomeViewController: UIViewController, UICollectionViewDataSource, UICollec

print("WARNING: The API Key being used does not support the use of bulk requests, so included review statistics will not be included.")
self.loadConversations(omitStats: true)

} else {
self.doneLoading(with: errs.first!)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
87C5FF701E3A64B2004EE6E8 /* AuthorViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 87C5FF6F1E3A64B2004EE6E8 /* AuthorViewController.m */; };
87C768431D4BB0AB0091E5A1 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 87C768391D4BB0AB0091E5A1 /* Assets.xcassets */; };
87C7684C1D4BB1660091E5A1 /* RootViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 87C7684B1D4BB1660091E5A1 /* RootViewController.m */; };
87E810F91ECE4E710032C753 /* CommentsViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 87E810F81ECE4E710032C753 /* CommentsViewController.m */; };
87E810FD1ECE50100032C753 /* MyCommentTableViewCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 87E810FB1ECE50100032C753 /* MyCommentTableViewCell.m */; };
87E810FE1ECE50100032C753 /* MyCommentTableViewCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = 87E810FC1ECE50100032C753 /* MyCommentTableViewCell.xib */; };
87EB7D7D1D4BF2140014D5F9 /* QuestionsViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 87EB7D7C1D4BF2140014D5F9 /* QuestionsViewController.m */; };
87EB7D801D4BF5040014D5F9 /* PDPViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 87EB7D7F1D4BF5040014D5F9 /* PDPViewController.m */; };
87EB7D831D4BFB890014D5F9 /* StatisticTableViewCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 87EB7D821D4BFB890014D5F9 /* StatisticTableViewCell.m */; };
Expand Down Expand Up @@ -60,6 +63,11 @@
87C768391D4BB0AB0091E5A1 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Assets.xcassets; path = ../../shared/Assets.xcassets; sourceTree = "<group>"; };
87C7684A1D4BB1660091E5A1 /* RootViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RootViewController.h; path = ConversationsExample/RootViewController.h; sourceTree = SOURCE_ROOT; };
87C7684B1D4BB1660091E5A1 /* RootViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = RootViewController.m; path = ConversationsExample/RootViewController.m; sourceTree = SOURCE_ROOT; };
87E810F71ECE4E710032C753 /* CommentsViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CommentsViewController.h; sourceTree = "<group>"; };
87E810F81ECE4E710032C753 /* CommentsViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CommentsViewController.m; sourceTree = "<group>"; };
87E810FA1ECE50100032C753 /* MyCommentTableViewCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MyCommentTableViewCell.h; sourceTree = "<group>"; };
87E810FB1ECE50100032C753 /* MyCommentTableViewCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MyCommentTableViewCell.m; sourceTree = "<group>"; };
87E810FC1ECE50100032C753 /* MyCommentTableViewCell.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = MyCommentTableViewCell.xib; sourceTree = "<group>"; };
87EB7D7B1D4BF2140014D5F9 /* QuestionsViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = QuestionsViewController.h; sourceTree = "<group>"; };
87EB7D7C1D4BF2140014D5F9 /* QuestionsViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = QuestionsViewController.m; sourceTree = "<group>"; };
87EB7D7E1D4BF5040014D5F9 /* PDPViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PDPViewController.h; sourceTree = "<group>"; };
Expand Down Expand Up @@ -143,34 +151,39 @@
children = (
87C7684A1D4BB1660091E5A1 /* RootViewController.h */,
87C7684B1D4BB1660091E5A1 /* RootViewController.m */,
873C79591D4BF0C90048AD55 /* ReviewsViewController.h */,
873C795A1D4BF0C90048AD55 /* ReviewsViewController.m */,
87C5FF6E1E3A64B2004EE6E8 /* AuthorViewController.h */,
87C5FF6F1E3A64B2004EE6E8 /* AuthorViewController.m */,
87EB7D7B1D4BF2140014D5F9 /* QuestionsViewController.h */,
87EB7D7C1D4BF2140014D5F9 /* QuestionsViewController.m */,
87FF7F291D4F90B300019D54 /* AnswersViewController.h */,
87FF7F2A1D4F90B300019D54 /* AnswersViewController.m */,
87EB7D7E1D4BF5040014D5F9 /* PDPViewController.h */,
87EB7D7F1D4BF5040014D5F9 /* PDPViewController.m */,
87C5FF6E1E3A64B2004EE6E8 /* AuthorViewController.h */,
87C5FF6F1E3A64B2004EE6E8 /* AuthorViewController.m */,
87E810F71ECE4E710032C753 /* CommentsViewController.h */,
87E810F81ECE4E710032C753 /* CommentsViewController.m */,
87EB7D841D4CCF0D0014D5F9 /* InlineRatingsViewController.h */,
87EB7D851D4CCF0D0014D5F9 /* InlineRatingsViewController.m */,
87EB7D7E1D4BF5040014D5F9 /* PDPViewController.h */,
87EB7D7F1D4BF5040014D5F9 /* PDPViewController.m */,
87EB7D7B1D4BF2140014D5F9 /* QuestionsViewController.h */,
87EB7D7C1D4BF2140014D5F9 /* QuestionsViewController.m */,
873C79591D4BF0C90048AD55 /* ReviewsViewController.h */,
873C795A1D4BF0C90048AD55 /* ReviewsViewController.m */,
);
name = ViewControllers;
sourceTree = "<group>";
};
87FF7F331D4F91C200019D54 /* TableViewCells */ = {
isa = PBXGroup;
children = (
8748638A1D4BDDCF00B43F00 /* MyReviewTableViewCell.h */,
8748638B1D4BDDCF00B43F00 /* MyReviewTableViewCell.m */,
874863901D4BE47300B43F00 /* MyQuestionTableViewCell.h */,
874863911D4BE47300B43F00 /* MyQuestionTableViewCell.m */,
87FF7F2F1D4F91B100019D54 /* MyAnswerTableViewCell.h */,
87FF7F301D4F91B100019D54 /* MyAnswerTableViewCell.m */,
87E810FA1ECE50100032C753 /* MyCommentTableViewCell.h */,
87E810FB1ECE50100032C753 /* MyCommentTableViewCell.m */,
874863901D4BE47300B43F00 /* MyQuestionTableViewCell.h */,
874863911D4BE47300B43F00 /* MyQuestionTableViewCell.m */,
8748638A1D4BDDCF00B43F00 /* MyReviewTableViewCell.h */,
8748638B1D4BDDCF00B43F00 /* MyReviewTableViewCell.m */,
87EB7D811D4BFB890014D5F9 /* StatisticTableViewCell.h */,
87EB7D821D4BFB890014D5F9 /* StatisticTableViewCell.m */,
874863931D4BE5FB00B43F00 /* MyAnswerTableViewCell.xib */,
87E810FC1ECE50100032C753 /* MyCommentTableViewCell.xib */,
874863941D4BE5FB00B43F00 /* MyQuestionTableViewCell.xib */,
874863951D4BE5FB00B43F00 /* MyReviewTableViewCell.xib */,
874863961D4BE5FB00B43F00 /* StatisticTableViewCell.xib */,
Expand Down Expand Up @@ -258,6 +271,7 @@
15E077DA1E576854001C89D0 /* bvsdk_config_prod.json in Resources */,
874863891D4BDA8F00B43F00 /* Main.storyboard in Resources */,
8748639A1D4BE5FB00B43F00 /* StatisticTableViewCell.xib in Resources */,
87E810FE1ECE50100032C753 /* MyCommentTableViewCell.xib in Resources */,
874863991D4BE5FB00B43F00 /* MyReviewTableViewCell.xib in Resources */,
87C768431D4BB0AB0091E5A1 /* Assets.xcassets in Resources */,
15E077D91E576854001C89D0 /* bvsdk_config_staging.json in Resources */,
Expand Down Expand Up @@ -333,7 +347,9 @@
876DF55C1CF4E87B005D841F /* AppDelegate.m in Sources */,
874863921D4BE47300B43F00 /* MyQuestionTableViewCell.m in Sources */,
87C5FF701E3A64B2004EE6E8 /* AuthorViewController.m in Sources */,
87E810FD1ECE50100032C753 /* MyCommentTableViewCell.m in Sources */,
876DF5591CF4E87B005D841F /* main.m in Sources */,
87E810F91ECE4E710032C753 /* CommentsViewController.m in Sources */,
87C7684C1D4BB1660091E5A1 /* RootViewController.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
Expand Down
Loading

0 comments on commit e790460

Please sign in to comment.