Using the framework
Contents
How to use
ID3Panel to call a tag editor panel
Step 1.
Include the header file ID3Panel.h into your file by using #import <ID3Panel/ID3Panel.h>
Step 2.
Create and display a modal Panel using the following code fragment
ID3Panel
*Panel;
NSArray FileList = [NSArray arrayWithObjects: @"absolute file path for
file 1",
@"absolute file path for file 2", ... ,
nil];
NSMutableDictionary
* GenreList
=
NULL; // see ID3Tag.framework documentation for an explaination
Panel = [[ID3Panel alloc]
initWithArray:FileList genreList:GenreList];
[panel release];
You will then get the window
below. If you have a genre plist (see ID3Tag documentation for an
explaination) you can pass it to the panel using the genreList:
argument to make panel use it a user modifiable genre list. Have
fun!