@@ -27,13 +27,6 @@ NS_ASSUME_NONNULL_BEGIN
2727@class TORoundedButton;
2828@class UICornerConfiguration;
2929
30- // / The types of static/dynamic visual styles that can be applied to the background.
31- typedef NS_ENUM (NSInteger , TORoundedButtonBackgroundStyle) {
32- TORoundedButtonBackgroundStyleSolid,
33- TORoundedButtonBackgroundStyleBlur,
34- TORoundedButtonBackgroundStyleGlass
35- };
36-
3730NS_SWIFT_NAME (RoundedButtonDelegate)
3831@protocol TORoundedButtonDelegate <NSObject>
3932
@@ -71,15 +64,12 @@ IB_DESIGNABLE @interface TORoundedButton : UIControl
7164// / (Default value is 15 points inset from each edge).
7265@property (nonatomic, assign) UIEdgeInsets contentInset;
7366
74- // / The style, whether static or dynamic of the button's background view.
75- @property (nonatomic, assign) TORoundedButtonBackgroundStyle backgroundStyle ;
67+ // / Replaces the solid color background with a blur view. (Default is NO)
68+ @property (nonatomic, assign) BOOL isTranslucent ;
7669
77- // / When `backgroundStyle ` is set to `.blur `, the specific blur style to apply .
70+ // / When `isTranslucent ` is `YES `, the amount of blur the background view has .
7871@property (nonatomic, assign) UIBlurEffectStyle blurStyle;
7972
80- // / When `backgroundStyle` is set to `.blur`, the specific blur style to apply.
81- @property (nonatomic, assign) UIGlassEffectStyle glassStyle API_AVAILABLE (ios(26.0 ));
82-
8373// / The text that is displayed in center of the button (Default is nil).
8474// / This adds an internally controlled label view to the main content view.
8575@property (nonatomic, copy, nullable) IBInspectable NSString *text;
0 commit comments