Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Housekeeping #73

Merged
merged 7 commits into from
Aug 29, 2016
Merged

Housekeeping #73

merged 7 commits into from
Aug 29, 2016

Conversation

shagedorn
Copy link
Contributor

  • Sample app uses the dynamic framework
  • Sample app now uses all categories (in the same order the categories are defined), unless they require capabilities – those are added, too, but commented out. This should allow us to easily test all categories locally.
  • Add required configuration for Health and TencentWeibo requests in sample app
  • Xcode housekeeping

Sebastian Hagedorn added 5 commits August 26, 2016 17:22
@(ISHPermissionCategorySocialFacebook),
@(ISHPermissionCategorySocialTwitter),
@(ISHPermissionCategorySocialSinaWeibo),
// TODO: alert cannot be presented
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is #72

Weak-linked via the framework
@@ -38,6 +48,7 @@ - (NSString *)accountTypeIdentifier {
return ACAccountTypeIdentifierTencentWeibo;

default:
NSAssert(NO, @"Invalid category: %@", @(self.permissionCategory));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this follow the same pattern as above without a default?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The code above probably raises a warning... we don't really want to list all ~15 categories, so I believe default is ok here. Plus, we usually don't care here if new categories are added.

@felixLam
Copy link
Member

:shipit:

1 similar comment
@felixLam
Copy link
Member

:shipit:

@shagedorn shagedorn merged commit c242b71 into master Aug 29, 2016
@shagedorn shagedorn deleted the feature/sample-app branch August 29, 2016 09:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants