mirror of
https://github.com/SoPat712/YTLitePlus.git
synced 2025-08-24 19:38:54 -04:00
added files via upload
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
//
|
||||
// FLEXDefaultsContentSection.h
|
||||
// FLEX
|
||||
//
|
||||
// Created by Tanner Bennett on 8/28/19.
|
||||
// Copyright © 2020 FLEX Team. All rights reserved.
|
||||
//
|
||||
|
||||
#import "FLEXCollectionContentSection.h"
|
||||
#import "FLEXObjectInfoSection.h"
|
||||
|
||||
@interface FLEXDefaultsContentSection : FLEXCollectionContentSection <FLEXObjectInfoSection>
|
||||
|
||||
/// Uses \c NSUserDefaults.standardUserDefaults
|
||||
+ (instancetype)standard;
|
||||
+ (instancetype)forDefaults:(NSUserDefaults *)userDefaults;
|
||||
|
||||
/// Whether or not to filter out keys not present in the app's user defaults file.
|
||||
///
|
||||
/// This is useful for filtering out some useless keys that seem to appear
|
||||
/// in every app's defaults but are never actually used or touched by the app.
|
||||
/// Only applies to instances using \c NSUserDefaults.standardUserDefaults.
|
||||
/// This is the default for any instance using \c standardUserDefaults, so
|
||||
/// you must opt-out in those instances if you don't want this behavior.
|
||||
@property (nonatomic) BOOL onlyShowKeysForAppPrefs;
|
||||
|
||||
@end
|
Reference in New Issue
Block a user