mirror of
https://github.com/XITRIX/NXKit.git
synced 2026-05-30 11:46:52 +00:00
21 lines
433 B
C++
21 lines
433 B
C++
#pragma once
|
|
|
|
#include <UIViewAnimationOptions.h>
|
|
#include <optional>
|
|
#include <functional>
|
|
|
|
namespace NXKit {
|
|
|
|
class UIViewAnimationGroup {
|
|
public:
|
|
std::optional<std::function<void(bool)>> completion;
|
|
int queuedAnimations = 0;
|
|
UIViewAnimationOptions options;
|
|
|
|
UIViewAnimationGroup(UIViewAnimationOptions options, std::optional<std::function<void(bool)>> completion);
|
|
|
|
void animationDidStop(bool finished);
|
|
};
|
|
|
|
}
|