PTFeatureGateDelegate
@protocol PTFeatureGateDelegate <NSObject>
-(BOOL)featureGate:(PTFeatureGate*)featureGate isAvailable:(NSString*)featureID;
-(void)featureGate:(PTFeatureGate *)featureGate handleFeature:(NSString *)featureID onController:(UIViewController*)controller;
- (UIImageView *)featureGateProImageView:(PTFeatureGate *)featureGate WithTintColor:(nullable UIColor *)tintColor;
- (NSString *)featureGate:(PTFeatureGate*)featureGate proButtonTitleForTitle:(NSString *)title forFeature:(NSString *)featureID;
- (UIImage *)featureGateUnavailableIndicatorImage:(PTFeatureGate*)featureGate;
- (UIImage *)featureGateUnavailableIconImage:(PTFeatureGate*)featureGate;
@end
Undocumented
-
Undocumented
Declaration
Objective-C
-(BOOL)featureGate:(PTFeatureGate*)featureGate isAvailable:(NSString*)featureID;
Swift
func featureGate(_ featureGate: PTFeatureGate, isAvailable featureID: String) -> Bool
-
Undocumented
Declaration
Objective-C
-(void)featureGate:(PTFeatureGate *)featureGate handleFeature:(NSString *)featureID onController:(UIViewController*)controller;
Swift
func featureGate(_ featureGate: PTFeatureGate, handleFeature featureID: String, on controller: UIViewController)
-
Undocumented
Declaration
Objective-C
- (UIImageView *)featureGateProImageView:(PTFeatureGate *)featureGate WithTintColor:(nullable UIColor *)tintColor;
Swift
func featureGateProImageView(_ featureGate: PTFeatureGate, withTintColor tintColor: UIColor?) -> UIImageView
-
Undocumented
Declaration
Objective-C
- (NSString *)featureGate:(PTFeatureGate*)featureGate proButtonTitleForTitle:(NSString *)title forFeature:(NSString *)featureID;
Swift
func featureGate(_ featureGate: PTFeatureGate, proButtonTitleForTitle title: String, forFeature featureID: String) -> String
-
Undocumented
Declaration
Objective-C
- (UIImage *)featureGateUnavailableIndicatorImage:(PTFeatureGate*)featureGate;
Swift
func featureGateUnavailableIndicatorImage(_ featureGate: PTFeatureGate) -> UIImage
-
Undocumented
Declaration
Objective-C
- (UIImage *)featureGateUnavailableIconImage:(PTFeatureGate*)featureGate;
Swift
func featureGateUnavailableIconImage(_ featureGate: PTFeatureGate) -> UIImage