i'm trying to figure out a way to automatically load images into the image browser from a specific datasource path on launch using Apple's ImageBrowser sample (download link).
i'd like to add any image i drop into the image browser to it's own folder using the NSFileManager on the performDragOperation method, so that this folder would act as the image broswer's init data source on launch. but:
A) im not sure how to tell the image broswer to load a folder on launch and display the images (but this is probably easy... maybe?).
B) i'm concerned it will not maintain the saved order of the images that the user has placed these images in the image browser (this is where i would assume user defaults would come in?)
any help would be great.
i'd like to add any image i drop into the image browser to it's own folder using the NSFileManager on the performDragOperation method, so that this folder would act as the image broswer's init data source on launch. but:
A) im not sure how to tell the image broswer to load a folder on launch and display the images (but this is probably easy... maybe?).
B) i'm concerned it will not maintain the saved order of the images that the user has placed these images in the image browser (this is where i would assume user defaults would come in?)
any help would be great.