I am from the background of iOS dev and am recording my first MacOS application in Swift.
In iOS, if I want to remove the NSUserdefaults application, I would press / hold the application icon on my device and delete it.
On MacOS, however, I do not see the application icon in the application folder. What am I missing?
Note. My application appears only in the status bar (I have an application - agent (..) = YES in my info.plist)
reset, defaults. MacOS , Apple . :
defaults
defaults delete your.app.bundle.id
.
, , . , .
, ~/Library/Containers/your.app.bundle.id.
~/Library/Containers/your.app.bundle.id
, , , ~/Library/Application Support ..
~/Library/Application Support
name.app.
name.app
, Finder. Finder ( SpotLight Search ), .
Delete /Users/<yourUsername>/Library/Preferences/<yourAppBundleID>.plist.
/Users/<yourUsername>/Library/Preferences/<yourAppBundleID>.plist
You do not need to remove the application only in the settings file.
In iOS, everything for the application is stored in one container, while on MacOS things are organized differently, since the user has access to the underlying file system.
Source: https://habr.com/ru/post/1668666/More articles:Как использовать ожидание в обратных вызовах активности Xamarin Android - androidNullPointerException in TextInputLayout.passwordVisibilityToggleRequested - androidWordpress sets custom title on custom page - phpMerge JSON arrays - jsonHow to search only in open files in vscode? - searchhttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1668667/scenekit-drops-to-40-fps&usg=ALkJrhi0GB7zxnI6J-NU2a8cXjjV-uCVnAHow to search all files in the current open folder / workspace? - visual-studio-codeDeconvolution with metal shaders - tensorflowСцена SpriteKit с низким fps при запуске - swiftNo iOS Distribution Signature Certificate - iosAll Articles