git.ithinksw.org
/
MenuTunes.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Some more work on the iTunes remote... I'm starting to require testing,
[MenuTunes.git]
/
iTunesPlaylist.m
diff --git
a/iTunesPlaylist.m
b/iTunesPlaylist.m
index
f571ba7
..
60c01a5
100755
(executable)
--- a/
iTunesPlaylist.m
+++ b/
iTunesPlaylist.m
@@
-11,7
+11,15
@@
@implementation iTunesPlaylist
@implementation iTunesPlaylist
-+ (id)playlistForIndex:(int)index {
++ (id)playlistWithIndex:(int)index {
+ return [[[iTunesPlaylist alloc] initWithIndex:index] autorelease];
+}
+
+- (id)initWithIndex:(int)index {
+ if ( ( self = [super init] ) ) {
+ _index = index;
+ }
+ return self;
}
@end
}
@end