About "NSUserDefaultsController"

Asked 2 years ago, Updated 2 years ago, 38 views

I am reading the Objective-C programming overview documentation.
Among them, a controller called "NSUserDefaultsController" appeared.

In what kind of situations will this be used?

I am writing to ask you a question because I cannot find anything specific about it.

Thank you for your cooperation.

https://developer.apple.com/jp/documentation/CocoaEncyclopedia.pdf

objective-c xcode macos

2022-09-29 21:34

1 Answers

I'm not familiar with it at all, but I'd like to tell you what I know.
Cocoa (OSX) and Cocoa touch (iOS) have a framework called Cocoa Binding that handles databases.

Core Data Programming Guide (PDF Documents)

There is an explanation on page 118 of this.NSObjectController and NArrayController are detailed objects used with Cocoa Binding, and NSUserDefaultsController is one of them.
Because Cocoa Binding cannot be used on iOS, the NSUserDefaultsController is not available on iOS either.


2022-09-29 21:34

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.