Permalink
Browse files

Added GUI for adding tracks to playlists (currently non-functional)

  • Loading branch information...
1 parent 265d2d6 commit c1533b5b03a3c0ed3a095baed8bee2ff26001ae4 @georgebrock committed Mar 17, 2009
View
4 Lastify.xcodeproj/project.pbxproj
@@ -12,6 +12,7 @@
C6158DB20F56D64C006CE651 /* icon_loading.gif in Resources */ = {isa = PBXBuildFile; fileRef = C6158DB10F56D64C006CE651 /* icon_loading.gif */; };
C6158DB60F56D726006CE651 /* icon_tick.png in Resources */ = {isa = PBXBuildFile; fileRef = C6158DB40F56D726006CE651 /* icon_tick.png */; };
C6158DB70F56D726006CE651 /* icon_error.png in Resources */ = {isa = PBXBuildFile; fileRef = C6158DB50F56D726006CE651 /* icon_error.png */; };
+ C68347C20F70504200132B8E /* icon_list.png in Resources */ = {isa = PBXBuildFile; fileRef = C68347C10F70504200132B8E /* icon_list.png */; };
C6BE8FF10F431AB5004BBEB7 /* icon_tag.png in Resources */ = {isa = PBXBuildFile; fileRef = C6BE8FEE0F431AB5004BBEB7 /* icon_tag.png */; };
C6BE8FF20F431AB5004BBEB7 /* icon_ban.png in Resources */ = {isa = PBXBuildFile; fileRef = C6BE8FEF0F431AB5004BBEB7 /* icon_ban.png */; };
C6BE8FF30F431AB5004BBEB7 /* icon_love.png in Resources */ = {isa = PBXBuildFile; fileRef = C6BE8FF00F431AB5004BBEB7 /* icon_love.png */; };
@@ -38,6 +39,7 @@
C6158DB10F56D64C006CE651 /* icon_loading.gif */ = {isa = PBXFileReference; lastKnownFileType = image.gif; path = icon_loading.gif; sourceTree = "<group>"; };
C6158DB40F56D726006CE651 /* icon_tick.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = icon_tick.png; sourceTree = "<group>"; };
C6158DB50F56D726006CE651 /* icon_error.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = icon_error.png; sourceTree = "<group>"; };
+ C68347C10F70504200132B8E /* icon_list.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = icon_list.png; sourceTree = "<group>"; };
C6BE8FEE0F431AB5004BBEB7 /* icon_tag.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = icon_tag.png; sourceTree = "<group>"; };
C6BE8FEF0F431AB5004BBEB7 /* icon_ban.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = icon_ban.png; sourceTree = "<group>"; };
C6BE8FF00F431AB5004BBEB7 /* icon_love.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = icon_love.png; sourceTree = "<group>"; };
@@ -105,6 +107,7 @@
C6BE8FF00F431AB5004BBEB7 /* icon_love.png */,
C6BE906A0F432D3A004BBEB7 /* icon_key.png */,
C6158DB10F56D64C006CE651 /* icon_loading.gif */,
+ C68347C10F70504200132B8E /* icon_list.png */,
C6D68BF90F21418D000CB3C6 /* lastfm_black.png */,
C6158DB40F56D726006CE651 /* icon_tick.png */,
C6158DB50F56D726006CE651 /* icon_error.png */,
@@ -226,6 +229,7 @@
C6158DB20F56D64C006CE651 /* icon_loading.gif in Resources */,
C6158DB60F56D726006CE651 /* icon_tick.png in Resources */,
C6158DB70F56D726006CE651 /* icon_error.png in Resources */,
+ C68347C20F70504200132B8E /* icon_list.png in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
View
9 LastifyController.h
@@ -15,11 +15,14 @@
IBOutlet NSDrawer *drawer;
IBOutlet NSPanel *tagPanel;
IBOutlet NSTokenField *tagField;
+ IBOutlet NSPanel *playlistPanel;
+ IBOutlet NSArrayController *playlistsController;
LastifyLastfmClient *lastfm;
IBOutlet NSButton *loveButton;
IBOutlet NSButton *banButton;
IBOutlet NSButton *tagButton;
+ IBOutlet NSButton *listButton;
IBOutlet NSButton *loginButton;
IBOutlet NSImageView *statusImage;
@@ -47,11 +50,15 @@
- (IBAction)loveTrack:(id)sender;
- (IBAction)banTrack:(id)sender;
-- (IBAction)tagTrack:(id)sender;
+- (IBAction)tagTrack:(id)sender;
- (IBAction)taggingOK:(id)sender;
- (IBAction)taggingCancel:(id)sender;
+- (IBAction)addTrackToPlaylist:(id)sender;
+- (IBAction)playlistOK:(id)sender;
+- (IBAction)playlistCancel:(id)sender;
+
- (IBAction)auth:(id)sender;
@end
View
21 LastifyController.m
@@ -75,6 +75,7 @@ - (void)loadUserInterface
[banButton setTextColor:[NSColor whiteColor]];
[tagButton setTextColor:[NSColor whiteColor]];
[loginButton setTextColor:[NSColor whiteColor]];
+ [listButton setTextColor:[NSColor whiteColor]];
[drawer setParentWindow:[[SPController sharedController] mainWindow]];
NSSize contentSize = NSMakeSize(71, 200);
@@ -228,6 +229,26 @@ - (IBAction)taggingCancel:(id)sender
[NSApp endSheet:tagPanel];
}
+- (IBAction)addTrackToPlaylist:(id)sender
+{
+ [playlistsController setContent:[lastfm getPlaylists]];
+ [NSApp beginSheet:playlistPanel modalForWindow:[[SPController sharedController] mainWindow] modalDelegate:self didEndSelector:NULL contextInfo:nil];
+}
+
+- (IBAction)playlistOK:(id)sender
+{
+ //TODO:
+
+ [playlistPanel orderOut:nil];
+ [NSApp endSheet:playlistPanel];
+}
+
+- (IBAction)playlistCancel:(id)sender
+{
+ [playlistPanel orderOut:nil];
+ [NSApp endSheet:playlistPanel];
+}
+
- (BOOL)drawerShouldClose:(NSDrawer *)sender
{
return FALSE;
View
617 LastifyInterface.xib
@@ -8,6 +8,7 @@
<string key="IBDocument.HIToolboxVersion">353.00</string>
<object class="NSMutableArray" key="IBDocument.EditedObjectIDs">
<bool key="EncodedWithXMLCoder">YES</bool>
+ <integer value="98"/>
<integer value="14"/>
<integer value="50"/>
</object>
@@ -69,6 +70,30 @@
<int key="NSPeriodicInterval">75</int>
</object>
</object>
+ <object class="NSButton" id="982898163">
+ <reference key="NSNextResponder" ref="443854"/>
+ <int key="NSvFlags">268</int>
+ <string key="NSFrame">{{7, 90}, {65, 27}}</string>
+ <reference key="NSSuperview" ref="443854"/>
+ <bool key="NSEnabled">YES</bool>
+ <object class="NSButtonCell" key="NSCell" id="946013607">
+ <int key="NSCellFlags">-2080244224</int>
+ <int key="NSCellFlags2">0</int>
+ <string key="NSContents">List</string>
+ <reference key="NSSupport" ref="203092924"/>
+ <reference key="NSControlView" ref="982898163"/>
+ <int key="NSButtonFlags">-2042871553</int>
+ <int key="NSButtonFlags2">160</int>
+ <object class="NSCustomResource" key="NSNormalImage">
+ <string key="NSClassName">NSImage</string>
+ <string key="NSResourceName">icon_list</string>
+ </object>
+ <string key="NSAlternateContents"/>
+ <string key="NSKeyEquivalent"/>
+ <int key="NSPeriodicDelay">400</int>
+ <int key="NSPeriodicInterval">75</int>
+ </object>
+ </object>
<object class="NSButton" id="318301501">
<reference key="NSNextResponder" ref="443854"/>
<int key="NSvFlags">268</int>
@@ -128,7 +153,7 @@
<object class="NSButton" id="378669688">
<reference key="NSNextResponder" ref="443854"/>
<int key="NSvFlags">268</int>
- <string key="NSFrame">{{7, 89}, {65, 26}}</string>
+ <string key="NSFrame">{{7, 67}, {65, 26}}</string>
<reference key="NSSuperview" ref="443854"/>
<bool key="NSEnabled">YES</bool>
<object class="NSButtonCell" key="NSCell" id="14814155">
@@ -262,7 +287,7 @@
<int key="NSColorSpace">6</int>
<string key="NSCatalogName">System</string>
<string key="NSColorName">textBackgroundColor</string>
- <object class="NSColor" key="NSColor">
+ <object class="NSColor" key="NSColor" id="447059486">
<int key="NSColorSpace">3</int>
<bytes key="NSWhite">MQA</bytes>
</object>
@@ -334,11 +359,11 @@
<string key="NSContents">Enter your tags separated by commas:</string>
<reference key="NSSupport" ref="203092924"/>
<reference key="NSControlView" ref="494325500"/>
- <object class="NSColor" key="NSBackgroundColor">
+ <object class="NSColor" key="NSBackgroundColor" id="193014155">
<int key="NSColorSpace">6</int>
<string key="NSCatalogName">System</string>
<string key="NSColorName">controlColor</string>
- <object class="NSColor" key="NSColor">
+ <object class="NSColor" key="NSColor" id="489841512">
<int key="NSColorSpace">3</int>
<bytes key="NSWhite">MC42NjY2NjY2OQA</bytes>
</object>
@@ -353,6 +378,218 @@
<string key="NSScreenRect">{{0, 0}, {1680, 1028}}</string>
<string key="NSMaxSize">{3.40282e+38, 3.40282e+38}</string>
</object>
+ <object class="NSWindowTemplate" id="711710026">
+ <int key="NSWindowStyleMask">31</int>
+ <int key="NSWindowBacking">2</int>
+ <string key="NSWindowRect">{{196, 341}, {330, 169}}</string>
+ <int key="NSWTFlags">-1543503872</int>
+ <string key="NSWindowTitle">Add to playlist</string>
+ <string key="NSWindowClass">NSPanel</string>
+ <nil key="NSViewClass"/>
+ <object class="NSView" key="NSWindowView" id="407937057">
+ <reference key="NSNextResponder"/>
+ <int key="NSvFlags">256</int>
+ <object class="NSMutableArray" key="NSSubviews">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSTextField" id="649428120">
+ <reference key="NSNextResponder" ref="407937057"/>
+ <int key="NSvFlags">268</int>
+ <string key="NSFrame">{{17, 141}, {106, 17}}</string>
+ <reference key="NSSuperview" ref="407937057"/>
+ <bool key="NSEnabled">YES</bool>
+ <object class="NSTextFieldCell" key="NSCell" id="235270131">
+ <int key="NSCellFlags">68288064</int>
+ <int key="NSCellFlags2">272630784</int>
+ <string key="NSContents">Select a playlist:</string>
+ <reference key="NSSupport" ref="203092924"/>
+ <reference key="NSControlView" ref="649428120"/>
+ <reference key="NSBackgroundColor" ref="193014155"/>
+ <reference key="NSTextColor" ref="866379845"/>
+ </object>
+ </object>
+ <object class="NSScrollView" id="879827968">
+ <reference key="NSNextResponder" ref="407937057"/>
+ <int key="NSvFlags">268</int>
+ <object class="NSMutableArray" key="NSSubviews">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSClipView" id="681962314">
+ <reference key="NSNextResponder" ref="879827968"/>
+ <int key="NSvFlags">2304</int>
+ <object class="NSMutableArray" key="NSSubviews">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSTableView" id="83285662">
+ <reference key="NSNextResponder" ref="681962314"/>
+ <int key="NSvFlags">256</int>
+ <string key="NSFrameSize">{288, 82}</string>
+ <reference key="NSSuperview" ref="681962314"/>
+ <bool key="NSEnabled">YES</bool>
+ <object class="_NSCornerView" key="NSCornerView">
+ <nil key="NSNextResponder"/>
+ <int key="NSvFlags">-2147483392</int>
+ <string key="NSFrame">{{-26, 0}, {16, 17}}</string>
+ </object>
+ <object class="NSMutableArray" key="NSTableColumns">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSTableColumn" id="182128096">
+ <double key="NSWidth">2.850000e+02</double>
+ <double key="NSMinWidth">4.000000e+01</double>
+ <double key="NSMaxWidth">1.000000e+03</double>
+ <object class="NSTableHeaderCell" key="NSHeaderCell">
+ <int key="NSCellFlags">75628032</int>
+ <int key="NSCellFlags2">0</int>
+ <string key="NSContents">Playlist</string>
+ <object class="NSFont" key="NSSupport">
+ <string key="NSName">LucidaGrande</string>
+ <double key="NSSize">1.100000e+01</double>
+ <int key="NSfFlags">3100</int>
+ </object>
+ <object class="NSColor" key="NSBackgroundColor">
+ <int key="NSColorSpace">3</int>
+ <bytes key="NSWhite">MC4zMzMzMzI5OQA</bytes>
+ </object>
+ <object class="NSColor" key="NSTextColor">
+ <int key="NSColorSpace">6</int>
+ <string key="NSCatalogName">System</string>
+ <string key="NSColorName">headerTextColor</string>
+ <reference key="NSColor" ref="419665806"/>
+ </object>
+ </object>
+ <object class="NSTextFieldCell" key="NSDataCell" id="649297253">
+ <int key="NSCellFlags">337772096</int>
+ <int key="NSCellFlags2">2048</int>
+ <string key="NSContents">Text Cell</string>
+ <reference key="NSSupport" ref="203092924"/>
+ <reference key="NSControlView" ref="83285662"/>
+ <object class="NSColor" key="NSBackgroundColor" id="548051065">
+ <int key="NSColorSpace">6</int>
+ <string key="NSCatalogName">System</string>
+ <string key="NSColorName">controlBackgroundColor</string>
+ <reference key="NSColor" ref="489841512"/>
+ </object>
+ <reference key="NSTextColor" ref="866379845"/>
+ </object>
+ <int key="NSResizingMask">3</int>
+ <bool key="NSIsResizeable">YES</bool>
+ <bool key="NSIsEditable">YES</bool>
+ <reference key="NSTableView" ref="83285662"/>
+ </object>
+ </object>
+ <double key="NSIntercellSpacingWidth">3.000000e+00</double>
+ <double key="NSIntercellSpacingHeight">2.000000e+00</double>
+ <reference key="NSBackgroundColor" ref="447059486"/>
+ <object class="NSColor" key="NSGridColor">
+ <int key="NSColorSpace">6</int>
+ <string key="NSCatalogName">System</string>
+ <string key="NSColorName">gridColor</string>
+ <object class="NSColor" key="NSColor">
+ <int key="NSColorSpace">3</int>
+ <bytes key="NSWhite">MC41AA</bytes>
+ </object>
+ </object>
+ <double key="NSRowHeight">1.700000e+01</double>
+ <int key="NSTvFlags">-700448768</int>
+ <int key="NSColumnAutoresizingStyle">4</int>
+ <int key="NSDraggingSourceMaskForLocal">15</int>
+ <int key="NSDraggingSourceMaskForNonLocal">0</int>
+ <bool key="NSAllowsTypeSelect">YES</bool>
+ </object>
+ </object>
+ <string key="NSFrame">{{1, 1}, {288, 82}}</string>
+ <reference key="NSSuperview" ref="879827968"/>
+ <reference key="NSNextKeyView" ref="83285662"/>
+ <reference key="NSDocView" ref="83285662"/>
+ <reference key="NSBGColor" ref="548051065"/>
+ <int key="NScvFlags">4</int>
+ </object>
+ <object class="NSScroller" id="566716802">
+ <reference key="NSNextResponder" ref="879827968"/>
+ <int key="NSvFlags">-2147483392</int>
+ <string key="NSFrame">{{274, 1}, {15, 82}}</string>
+ <reference key="NSSuperview" ref="879827968"/>
+ <reference key="NSTarget" ref="879827968"/>
+ <string key="NSAction">_doScroller:</string>
+ <double key="NSPercent">9.879518e-01</double>
+ </object>
+ <object class="NSScroller" id="542900096">
+ <reference key="NSNextResponder" ref="879827968"/>
+ <int key="NSvFlags">256</int>
+ <string key="NSFrame">{{-100, -100}, {273, 15}}</string>
+ <reference key="NSSuperview" ref="879827968"/>
+ <int key="NSsFlags">1</int>
+ <reference key="NSTarget" ref="879827968"/>
+ <string key="NSAction">_doScroller:</string>
+ <double key="NSPercent">5.714286e-01</double>
+ </object>
+ </object>
+ <string key="NSFrame">{{20, 49}, {290, 84}}</string>
+ <reference key="NSSuperview" ref="407937057"/>
+ <reference key="NSNextKeyView" ref="681962314"/>
+ <int key="NSsFlags">530</int>
+ <reference key="NSVScroller" ref="566716802"/>
+ <reference key="NSHScroller" ref="542900096"/>
+ <reference key="NSContentView" ref="681962314"/>
+ <bytes key="NSScrollAmts">QSAAAEEgAABBmAAAQZgAAA</bytes>
+ </object>
+ <object class="NSButton" id="586367011">
+ <reference key="NSNextResponder" ref="407937057"/>
+ <int key="NSvFlags">268</int>
+ <string key="NSFrame">{{220, 7}, {96, 32}}</string>
+ <reference key="NSSuperview" ref="407937057"/>
+ <bool key="NSEnabled">YES</bool>
+ <object class="NSButtonCell" key="NSCell" id="897205525">
+ <int key="NSCellFlags">-2080244224</int>
+ <int key="NSCellFlags2">134217728</int>
+ <string key="NSContents">OK</string>
+ <reference key="NSSupport" ref="203092924"/>
+ <reference key="NSControlView" ref="586367011"/>
+ <int key="NSButtonFlags">-2038284033</int>
+ <int key="NSButtonFlags2">129</int>
+ <string key="NSAlternateContents"/>
+ <string type="base64-UTF8" key="NSKeyEquivalent">DQ</string>
+ <int key="NSPeriodicDelay">200</int>
+ <int key="NSPeriodicInterval">25</int>
+ </object>
+ </object>
+ <object class="NSButton" id="215230658">
+ <reference key="NSNextResponder" ref="407937057"/>
+ <int key="NSvFlags">268</int>
+ <string key="NSFrame">{{124, 7}, {96, 32}}</string>
+ <reference key="NSSuperview" ref="407937057"/>
+ <bool key="NSEnabled">YES</bool>
+ <object class="NSButtonCell" key="NSCell" id="868377086">
+ <int key="NSCellFlags">-2080244224</int>
+ <int key="NSCellFlags2">134217728</int>
+ <string key="NSContents">Cancel</string>
+ <reference key="NSSupport" ref="203092924"/>
+ <reference key="NSControlView" ref="215230658"/>
+ <int key="NSButtonFlags">-2038284033</int>
+ <int key="NSButtonFlags2">129</int>
+ <string key="NSAlternateContents"/>
+ <string type="base64-UTF8" key="NSKeyEquivalent">Gw</string>
+ <int key="NSPeriodicDelay">200</int>
+ <int key="NSPeriodicInterval">25</int>
+ </object>
+ </object>
+ </object>
+ <string key="NSFrameSize">{330, 169}</string>
+ <reference key="NSSuperview"/>
+ </object>
+ <string key="NSScreenRect">{{0, 0}, {1280, 778}}</string>
+ <string key="NSMaxSize">{3.40282e+38, 3.40282e+38}</string>
+ </object>
+ <object class="NSArrayController" id="175467292">
+ <object class="NSMutableArray" key="NSDeclaredKeys">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>title</string>
+ </object>
+ <bool key="NSEditable">YES</bool>
+ <object class="_NSManagedProxy" key="_NSManagedProxy"/>
+ <bool key="NSAvoidsEmptySelection">YES</bool>
+ <bool key="NSPreservesSelection">YES</bool>
+ <bool key="NSSelectsInsertedObjects">YES</bool>
+ <bool key="NSFilterRestrictsInsertion">YES</bool>
+ <bool key="NSClearsFilterPredicateOnInsertion">YES</bool>
+ </object>
</object>
<object class="IBObjectContainer" key="IBDocument.Objects">
<object class="NSMutableArray" key="connectionRecords">
@@ -790,6 +1027,191 @@
</object>
<int key="connectionID">91</int>
</object>
+ <object class="IBConnectionRecord">
+ <object class="IBOutletConnection" key="connection">
+ <string key="label">playlistPanel</string>
+ <reference key="source" ref="1001"/>
+ <reference key="destination" ref="711710026"/>
+ </object>
+ <int key="connectionID">111</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBOutletConnection" key="connection">
+ <string key="label">playlistsController</string>
+ <reference key="source" ref="1001"/>
+ <reference key="destination" ref="175467292"/>
+ </object>
+ <int key="connectionID">113</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBOutletConnection" key="connection">
+ <string key="label">listButton</string>
+ <reference key="source" ref="1001"/>
+ <reference key="destination" ref="982898163"/>
+ </object>
+ <int key="connectionID">118</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBBindingConnection" key="connection">
+ <string key="label">content: arrangedObjects</string>
+ <reference key="source" ref="83285662"/>
+ <reference key="destination" ref="175467292"/>
+ <object class="NSNibBindingConnector" key="connector" id="80013101">
+ <reference key="NSSource" ref="83285662"/>
+ <reference key="NSDestination" ref="175467292"/>
+ <string key="NSLabel">content: arrangedObjects</string>
+ <string key="NSBinding">content</string>
+ <string key="NSKeyPath">arrangedObjects</string>
+ <int key="NSNibBindingConnectorVersion">2</int>
+ </object>
+ </object>
+ <int key="connectionID">119</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBBindingConnection" key="connection">
+ <string key="label">value: arrangedObjects.title</string>
+ <reference key="source" ref="182128096"/>
+ <reference key="destination" ref="175467292"/>
+ <object class="NSNibBindingConnector" key="connector">
+ <reference key="NSSource" ref="182128096"/>
+ <reference key="NSDestination" ref="175467292"/>
+ <string key="NSLabel">value: arrangedObjects.title</string>
+ <string key="NSBinding">value</string>
+ <string key="NSKeyPath">arrangedObjects.title</string>
+ <int key="NSNibBindingConnectorVersion">2</int>
+ </object>
+ </object>
+ <int key="connectionID">121</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBActionConnection" key="connection">
+ <string key="label">addTrackToPlaylist:</string>
+ <reference key="source" ref="1001"/>
+ <reference key="destination" ref="982898163"/>
+ </object>
+ <int key="connectionID">122</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBBindingConnection" key="connection">
+ <string key="label">enabled: lastfm.sessionReady</string>
+ <reference key="source" ref="982898163"/>
+ <reference key="destination" ref="1001"/>
+ <object class="NSNibBindingConnector" key="connector" id="655044419">
+ <reference key="NSSource" ref="982898163"/>
+ <reference key="NSDestination" ref="1001"/>
+ <string key="NSLabel">enabled: lastfm.sessionReady</string>
+ <string key="NSBinding">enabled</string>
+ <string key="NSKeyPath">lastfm.sessionReady</string>
+ <int key="NSNibBindingConnectorVersion">2</int>
+ </object>
+ </object>
+ <int key="connectionID">124</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBActionConnection" key="connection">
+ <string key="label">playlistOK:</string>
+ <reference key="source" ref="1001"/>
+ <reference key="destination" ref="586367011"/>
+ </object>
+ <int key="connectionID">129</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBActionConnection" key="connection">
+ <string key="label">playlistCancel:</string>
+ <reference key="source" ref="1001"/>
+ <reference key="destination" ref="215230658"/>
+ </object>
+ <int key="connectionID">130</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBBindingConnection" key="connection">
+ <string key="label">selectionIndexes: selectionIndexes</string>
+ <reference key="source" ref="83285662"/>
+ <reference key="destination" ref="175467292"/>
+ <object class="NSNibBindingConnector" key="connector">
+ <reference key="NSSource" ref="83285662"/>
+ <reference key="NSDestination" ref="175467292"/>
+ <string key="NSLabel">selectionIndexes: selectionIndexes</string>
+ <string key="NSBinding">selectionIndexes</string>
+ <string key="NSKeyPath">selectionIndexes</string>
+ <reference key="NSPreviousConnector" ref="80013101"/>
+ <int key="NSNibBindingConnectorVersion">2</int>
+ </object>
+ </object>
+ <int key="connectionID">132</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBBindingConnection" key="connection">
+ <string key="label">enabled2: currentTrack</string>
+ <reference key="source" ref="982898163"/>
+ <reference key="destination" ref="1001"/>
+ <object class="NSNibBindingConnector" key="connector" id="521130116">
+ <reference key="NSSource" ref="982898163"/>
+ <reference key="NSDestination" ref="1001"/>
+ <string key="NSLabel">enabled2: currentTrack</string>
+ <string key="NSBinding">enabled2</string>
+ <string key="NSKeyPath">currentTrack</string>
+ <object class="NSDictionary" key="NSOptions">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSMutableArray" key="dict.sortedKeys">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>NSMultipleValuesPlaceholder</string>
+ <string>NSNoSelectionPlaceholder</string>
+ <string>NSNotApplicablePlaceholder</string>
+ <string>NSNullPlaceholder</string>
+ <string>NSValueTransformerName</string>
+ </object>
+ <object class="NSMutableArray" key="dict.values">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <reference ref="7"/>
+ <reference ref="7"/>
+ <reference ref="7"/>
+ <reference ref="7"/>
+ <string>NSIsNotNil</string>
+ </object>
+ </object>
+ <reference key="NSPreviousConnector" ref="655044419"/>
+ <int key="NSNibBindingConnectorVersion">2</int>
+ </object>
+ </object>
+ <int key="connectionID">133</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBBindingConnection" key="connection">
+ <string key="label">enabled3: currentArtist</string>
+ <reference key="source" ref="982898163"/>
+ <reference key="destination" ref="1001"/>
+ <object class="NSNibBindingConnector" key="connector">
+ <reference key="NSSource" ref="982898163"/>
+ <reference key="NSDestination" ref="1001"/>
+ <string key="NSLabel">enabled3: currentArtist</string>
+ <string key="NSBinding">enabled3</string>
+ <string key="NSKeyPath">currentArtist</string>
+ <object class="NSDictionary" key="NSOptions">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSMutableArray" key="dict.sortedKeys">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>NSMultipleValuesPlaceholder</string>
+ <string>NSNoSelectionPlaceholder</string>
+ <string>NSNotApplicablePlaceholder</string>
+ <string>NSNullPlaceholder</string>
+ <string>NSValueTransformerName</string>
+ </object>
+ <object class="NSMutableArray" key="dict.values">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <reference ref="7"/>
+ <reference ref="7"/>
+ <reference ref="7"/>
+ <reference ref="7"/>
+ <string>NSIsNotNil</string>
+ </object>
+ </object>
+ <reference key="NSPreviousConnector" ref="521130116"/>
+ <int key="NSNibBindingConnectorVersion">2</int>
+ </object>
+ </object>
+ <int key="connectionID">135</int>
+ </object>
</object>
<object class="IBMutableOrderedSet" key="objectRecords">
<object class="NSArray" key="orderedObjects">
@@ -831,6 +1253,7 @@
<reference ref="378669688"/>
<reference ref="44902116"/>
<reference ref="515740873"/>
+ <reference ref="982898163"/>
</object>
<reference key="parent" ref="1002"/>
</object>
@@ -1000,6 +1423,132 @@
<reference key="object" ref="832773596"/>
<reference key="parent" ref="515740873"/>
</object>
+ <object class="IBObjectRecord">
+ <int key="objectID">94</int>
+ <reference key="object" ref="711710026"/>
+ <object class="NSMutableArray" key="children">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <reference ref="407937057"/>
+ </object>
+ <reference key="parent" ref="1002"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">95</int>
+ <reference key="object" ref="407937057"/>
+ <object class="NSMutableArray" key="children">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <reference ref="649428120"/>
+ <reference ref="879827968"/>
+ <reference ref="586367011"/>
+ <reference ref="215230658"/>
+ </object>
+ <reference key="parent" ref="711710026"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">96</int>
+ <reference key="object" ref="649428120"/>
+ <object class="NSMutableArray" key="children">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <reference ref="235270131"/>
+ </object>
+ <reference key="parent" ref="407937057"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">97</int>
+ <reference key="object" ref="235270131"/>
+ <reference key="parent" ref="649428120"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">98</int>
+ <reference key="object" ref="879827968"/>
+ <object class="NSMutableArray" key="children">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <reference ref="566716802"/>
+ <reference ref="542900096"/>
+ <reference ref="83285662"/>
+ </object>
+ <reference key="parent" ref="407937057"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">99</int>
+ <reference key="object" ref="566716802"/>
+ <reference key="parent" ref="879827968"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">100</int>
+ <reference key="object" ref="542900096"/>
+ <reference key="parent" ref="879827968"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">101</int>
+ <reference key="object" ref="83285662"/>
+ <object class="NSMutableArray" key="children">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <reference ref="182128096"/>
+ </object>
+ <reference key="parent" ref="879827968"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">103</int>
+ <reference key="object" ref="182128096"/>
+ <object class="NSMutableArray" key="children">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <reference ref="649297253"/>
+ </object>
+ <reference key="parent" ref="83285662"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">106</int>
+ <reference key="object" ref="649297253"/>
+ <reference key="parent" ref="182128096"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">107</int>
+ <reference key="object" ref="586367011"/>
+ <object class="NSMutableArray" key="children">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <reference ref="897205525"/>
+ </object>
+ <reference key="parent" ref="407937057"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">108</int>
+ <reference key="object" ref="897205525"/>
+ <reference key="parent" ref="586367011"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">109</int>
+ <reference key="object" ref="215230658"/>
+ <object class="NSMutableArray" key="children">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <reference ref="868377086"/>
+ </object>
+ <reference key="parent" ref="407937057"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">110</int>
+ <reference key="object" ref="868377086"/>
+ <reference key="parent" ref="215230658"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">112</int>
+ <reference key="object" ref="175467292"/>
+ <reference key="parent" ref="1002"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">116</int>
+ <reference key="object" ref="982898163"/>
+ <object class="NSMutableArray" key="children">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <reference ref="946013607"/>
+ </object>
+ <reference key="parent" ref="443854"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">117</int>
+ <reference key="object" ref="946013607"/>
+ <reference key="parent" ref="982898163"/>
+ </object>
</object>
</object>
<object class="NSMutableDictionary" key="flattenedProperties">
@@ -1009,6 +1558,17 @@
<string>-1.IBPluginDependency</string>
<string>-2.IBPluginDependency</string>
<string>-3.IBPluginDependency</string>
+ <string>100.IBPluginDependency</string>
+ <string>101.IBPluginDependency</string>
+ <string>103.IBPluginDependency</string>
+ <string>106.IBPluginDependency</string>
+ <string>107.IBPluginDependency</string>
+ <string>108.IBPluginDependency</string>
+ <string>109.IBPluginDependency</string>
+ <string>110.IBPluginDependency</string>
+ <string>112.IBPluginDependency</string>
+ <string>116.IBPluginDependency</string>
+ <string>117.IBPluginDependency</string>
<string>14.IBEditorWindowLastContentRect</string>
<string>14.IBPluginDependency</string>
<string>14.IBViewIntegration.shadowBlurRadius</string>
@@ -1043,13 +1603,33 @@
<string>63.IBPluginDependency</string>
<string>85.IBPluginDependency</string>
<string>86.IBPluginDependency</string>
+ <string>94.IBEditorWindowLastContentRect</string>
+ <string>94.IBPluginDependency</string>
+ <string>94.IBWindowTemplateEditedContentRect</string>
+ <string>94.NSWindowTemplate.visibleAtLaunch</string>
+ <string>95.IBPluginDependency</string>
+ <string>96.IBPluginDependency</string>
+ <string>97.IBPluginDependency</string>
+ <string>98.IBPluginDependency</string>
+ <string>99.IBPluginDependency</string>
</object>
<object class="NSMutableArray" key="dict.values">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilderKit</string>
<string>com.apple.InterfaceBuilderKit</string>
- <string>{{14, 789}, {71, 195}}</string>
+ <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+ <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+ <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+ <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+ <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+ <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+ <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+ <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+ <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+ <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+ <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+ <string>{{14, 561}, {71, 195}}</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<real value="0.000000e+00" id="686186284"/>
<reference ref="419665806"/>
@@ -1067,9 +1647,9 @@
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <string>{{200, 789}, {330, 164}}</string>
+ <string>{{35, 244}, {330, 164}}</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <string>{{200, 789}, {330, 164}}</string>
+ <string>{{35, 244}, {330, 164}}</string>
<reference ref="686186284"/>
<string>{{998, 261}, {330, 164}}</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
@@ -1083,6 +1663,15 @@
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+ <string>{{278, 175}, {330, 169}}</string>
+ <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+ <string>{{278, 175}, {330, 169}}</string>
+ <boolean value="NO"/>
+ <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+ <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+ <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+ <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+ <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
</object>
</object>
<object class="NSMutableDictionary" key="unlocalizedProperties">
@@ -1105,7 +1694,7 @@
</object>
</object>
<nil key="sourceID"/>
- <int key="maxID">93</int>
+ <int key="maxID">135</int>
</object>
<object class="IBClassDescriber" key="IBDocument.Classes">
<object class="NSMutableArray" key="referencedPartialClassDescriptions">
@@ -1117,10 +1706,12 @@
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="NSMutableArray" key="dict.sortedKeys">
<bool key="EncodedWithXMLCoder">YES</bool>
+ <string>addTrackToPlaylist:</string>
<string>auth:</string>
<string>banTrack:</string>
<string>loveTrack:</string>
- <string>resultIconClicked:</string>
+ <string>playlistCancel:</string>
+ <string>playlistOK:</string>
<string>tagTrack:</string>
<string>taggingCancel:</string>
<string>taggingOK:</string>
@@ -1134,6 +1725,8 @@
<string>id</string>
<string>id</string>
<string>id</string>
+ <string>id</string>
+ <string>id</string>
</object>
</object>
<object class="NSMutableDictionary" key="outlets">
@@ -1142,8 +1735,11 @@
<bool key="EncodedWithXMLCoder">YES</bool>
<string>banButton</string>
<string>drawer</string>
+ <string>listButton</string>
<string>loginButton</string>
<string>loveButton</string>
+ <string>playlistPanel</string>
+ <string>playlistsController</string>
<string>statusImage</string>
<string>tagButton</string>
<string>tagField</string>
@@ -1155,6 +1751,9 @@
<string>NSDrawer</string>
<string>NSButton</string>
<string>NSButton</string>
+ <string>NSButton</string>
+ <string>NSPanel</string>
+ <string>NSArrayController</string>
<string>NSImageView</string>
<string>NSButton</string>
<string>NSTokenField</string>
View
4 build/Release/Lastify.bundle.dSYM/Contents/Info.plist
@@ -19,9 +19,9 @@
<key>dSYM_UUID</key>
<dict>
<key>ppc</key>
- <string>FCED82A6-D9F9-D1DE-4754-48F865F0D314</string>
+ <string>208E8C20-B40B-89A3-CA25-E6DD56098C72</string>
<key>i386</key>
- <string>8AF96EE4-0BC7-70C2-D8E8-5040C383BE8E</string>
+ <string>BF42C59D-4FE9-C850-9F5F-C92034B0005B</string>
</dict>
</dict>
</plist>
View
BIN build/Release/Lastify.bundle.dSYM/Contents/Resources/DWARF/Lastify
Binary file not shown.
View
BIN build/Release/Lastify.bundle/Contents/MacOS/Lastify
Binary file not shown.
View
BIN build/Release/Lastify.bundle/Contents/Resources/LastifyInterface.nib
Binary file not shown.
View
BIN build/Release/Lastify.bundle/Contents/Resources/icon_list.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN icon_list.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit c1533b5

Please sign in to comment.