mirror of
https://github.com/SoPat712/YTLitePlus.git
synced 2025-08-24 03:26:09 -04:00
28 lines
976 B
Objective-C
28 lines
976 B
Objective-C
//
|
|
// 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
|