-
Notifications
You must be signed in to change notification settings - Fork 44
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
Housekeeping #73
Conversation
shagedorn
commented
Aug 26, 2016
- 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
This requires the deployment target to deploy to iOS 8 and later
Disabled as it requires entitlements
@(ISHPermissionCategorySocialFacebook), | ||
@(ISHPermissionCategorySocialTwitter), | ||
@(ISHPermissionCategorySocialSinaWeibo), | ||
// TODO: alert cannot be presented |
There was a problem hiding this comment.
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)); |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.