Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Open more actions menu

Repository files navigation

AAActivityAction build

AAActivityAction is Reeder 3 like ActionSheet. Method architecture is inspired by UIActivity and UIActivityViewController.

AAActivityAction Reeder 3

Installation

CocoaPods

Add pod 'AAActivityAction' to your Podfile.

Manually

  1. Link QuartzCore framework.
  2. Drag the AAActivityAction folder to your project.

Requirement

  • iOS 11 or higher.
  • QuartzCore framework.
  • ARC.

Usage

AAActivity *activity = [[AAActivity alloc] initWithTitle:@"Safari"
                                                   image:[UIImage imageNamed:@"Safari.png"]
                                             actionBlock:^(AAActivity *activity, NSArray *activityItems) {
    // do something...
}];
AAActivityAction *activityAction = [[AAActivityAction alloc] initWithActivityItems:@[@"http://www.apple.com/"]
                                                             applicationActivities:@[activity]
                                                                         imageSize:AAImageSizeSmall];
activityAction.title = @"sample title";
activityAction.directActionEnabled = YES; // If available only one activity, directly invoke its activity action. default is NO.
[activityAction show];
// or showInView
// [activityAction showInView:view];

License

MIT License.

About

Reeder 3 like ActionSheet.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.