Quantcast
Channel: iOS, Mac, tvOS, watchOS Programming
Viewing all articles
Browse latest Browse all 50

Set NSSavePanel Name Field

$
0
0
I have an NSSavePanel with a custom accessoryView in my Mac OS application. The accessory view is a popup menu with a list of file types that the user can use to save the file. I can initialize file name to be saved with a default .type when I am initializing the NSSavePanel, using [savePanel setNameFieldStringValue: (NSString*)fileName]; but not when I run the panel with [savePanel runModal]. The IBAction that is called when the user selects a new file extension creates a file name with the...

Read more

Viewing all articles
Browse latest Browse all 50

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>