Creates a user defaults object initialized with the defaults for the app and current user.
SDKs
- iOS 2.0+
- macOS 10.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
Framework
- Foundation
Declaration
- (instancetype)init;
Discussion
This initializer is equivalent to passing nil
to the init
initializer.
Use this initializer only if you're not using the shared standard
user defaults.