diff --git a/app/_views/album_art_view.rb b/app/_views/album_art_view.rb index e372981..d279b0b 100644 --- a/app/_views/album_art_view.rb +++ b/app/_views/album_art_view.rb @@ -10,29 +10,42 @@ def init v.addSubview(@vote_view) @vote_slider_in_progress = false - + @vote_toggle_state_active = always_show_votes? slidein_vote_view + + @update_observer = App.notification_center.observe JB_TOGGLE_VOTE_SLIDER do |n| + state = n.userInfo[:state] + @vote_toggle_state_active = state + handle_vote_toggle_update + end end end + def handle_vote_toggle_update + vote_toggle_state_active? ? slidein_vote_view : slideout_vote_view + end + def slidein_vote_view - return if @vote_slider_in_progress + return if vote_slider_in_progress? new_frame = @vote_view.frame - new_frame.origin.x += VOTE_VIEW_W + new_frame.origin.x = 0 @vote_slider_in_progress = true + NSAnimationContext.beginGrouping NSAnimationContext.currentContext.setCompletionHandler( lambda do - timer = NSTimer.scheduledTimerWithTimeInterval( - 5.0, - target:self, - selector:'slideout_vote_view', - userInfo:nil, - repeats: false - ) - NSRunLoop.mainRunLoop.addTimer(timer, forMode:NSRunLoopCommonModes) + if !vote_toggle_state_active? + timer = NSTimer.scheduledTimerWithTimeInterval( + 5.0, + target:self, + selector:'slideout_vote_view', + userInfo:nil, + repeats: false + ) + NSRunLoop.mainRunLoop.addTimer(timer, forMode:NSRunLoopCommonModes) + end end ) NSAnimationContext.currentContext.setDuration(0.5) @@ -42,12 +55,13 @@ def slidein_vote_view def slideout_vote_view new_frame = @vote_view.frame - new_frame.origin.x -= VOTE_VIEW_W + new_frame.origin.x = -VOTE_VIEW_W NSAnimationContext.beginGrouping NSAnimationContext.currentContext.setCompletionHandler( lambda do @vote_slider_in_progress = false + slidein_vote_view if vote_toggle_state_active? end ) NSAnimationContext.currentContext.setDuration(0.5) @@ -57,7 +71,6 @@ def slideout_vote_view def handle_vote(score, rating) @vote_view.do_vote(score, rating) - make_turd if !score.nil? && score < -6 slidein_vote_view @@ -94,4 +107,24 @@ def make_turd setImage(turd) end + def always_show_votes? + Persistence.get("alwaysShowVotes") == true ? 1 : 0 + end + + def vote_slider_in_progress? + @vote_slider_in_progress + end + + def vote_toggle_state_active? + @vote_toggle_state_active == 1 ? true : false + end + + def ok_to_slide_vote_in? + !vote_slider_in_progress? && @vote_toggle_state_active + end + + def ok_to_slide_vote_out? + vote_slider_in_progress? && @vote_toggle_state_active + end + end \ No newline at end of file diff --git a/app/_views/nowplaying_view.rb b/app/_views/nowplaying_view.rb index 8ece9a4..637799a 100644 --- a/app/_views/nowplaying_view.rb +++ b/app/_views/nowplaying_view.rb @@ -122,6 +122,11 @@ def draw_title_box v.setDrawsBackground(false) v.setSelectable(false) v.setTranslatesAutoresizingMaskIntoConstraints(false) + v.setContentCompressionResistancePriority( + NSLayoutPriorityDefaultLow, + forOrientation:NSLayoutConstraintOrientationHorizontal + ) + v.cell.setBackgroundStyle(NSBackgroundStyleRaised) end end @@ -132,6 +137,11 @@ def draw_artist_box v.setDrawsBackground(false) v.setSelectable(false) v.setTranslatesAutoresizingMaskIntoConstraints(false) + v.setContentCompressionResistancePriority( + NSLayoutPriorityDefaultLow, + forOrientation:NSLayoutConstraintOrientationHorizontal + ) + v.cell.setBackgroundStyle(NSBackgroundStyleRaised) end end @@ -142,6 +152,11 @@ def draw_album_box v.setDrawsBackground(false) v.setSelectable(false) v.setTranslatesAutoresizingMaskIntoConstraints(false) + v.setContentCompressionResistancePriority( + NSLayoutPriorityDefaultLow, + forOrientation:NSLayoutConstraintOrientationHorizontal + ) + v.cell.setBackgroundStyle(NSBackgroundStyleRaised) end end @@ -156,6 +171,11 @@ def draw_addedby_box v.setDrawsBackground(false) v.setSelectable(false) v.setTranslatesAutoresizingMaskIntoConstraints(false) + v.setContentCompressionResistancePriority( + NSLayoutPriorityDefaultLow, + forOrientation:NSLayoutConstraintOrientationHorizontal + ) + v.cell.setBackgroundStyle(NSBackgroundStyleRaised) end end @@ -169,7 +189,6 @@ def update_title 'NSParagraphStyle' => paragraph }) unless track.title.nil? @title.setAttributedStringValue(txt) - @title.invalidateIntrinsicContentSize @title.setToolTip(track.title) end @@ -184,15 +203,6 @@ def update_artist }) unless track.artist.nil? @artist.setAttributedStringValue(txt) @artist.invalidateIntrinsicContentSize - # @artistsetContentHuggingPriority( - # NSLayoutPriorityFittingSizeCompression-1.0, - # forOrientation:NSLayoutConstraintOrientationVertical - # ) - - # Think You Can Wait (from the Film Win Win) - # The National - # Think You Can Wait (from the Film Win Win) / The National - @artist.setToolTip(track.artist) end diff --git a/app/_views/vote_view.rb b/app/_views/vote_view.rb index 65c04bb..386c441 100644 --- a/app/_views/vote_view.rb +++ b/app/_views/vote_view.rb @@ -11,6 +11,7 @@ def init txt.setBezeled(false) txt.setDrawsBackground(false) txt.setAlignment(NSCenterTextAlignment) + txt.cell.setBackgroundStyle(NSBackgroundStyleRaised) end v.addSubview(@label) diff --git a/app/_windows/jukebox_control_window.rb b/app/_windows/jukebox_control_window.rb index 27f26f5..66249d7 100644 --- a/app/_windows/jukebox_control_window.rb +++ b/app/_windows/jukebox_control_window.rb @@ -21,11 +21,7 @@ def canBecomeMainWindow end def register_vote(button) - if VoteHandler.register(button.vote) - puts "vote registered" - else - puts "vote registerinf failed!" - end + VoteHandler.register(button.vote) end def build_views @@ -39,7 +35,8 @@ def build_views metrics_dict = { "padding" => 10, - "default_width" => 200 + "default_width" => 200, + "max_width" => 350 } views_dictionary.each do |key, view| @@ -60,7 +57,7 @@ def build_views views:views_dictionary ) constraints += NSLayoutConstraint.constraintsWithVisualFormat( - "H:|[now_playing(==default_width@750)]-5-[vote_buttons]-padding-|", + "H:|[now_playing(>=default_width,<=max_width)]-5-[vote_buttons]-padding-|", options:0, metrics:metrics_dict, views:views_dictionary diff --git a/app/config/constants.rb b/app/config/constants.rb index d254b8f..e2d39dd 100644 --- a/app/config/constants.rb +++ b/app/config/constants.rb @@ -21,5 +21,6 @@ JB_MESSAGE_RECEIVED="JukeboxMessageReceived" JB_UPDATED="JukeboxUpdated" JB_DO_VOTE="JukeboxDoVote" +JB_TOGGLE_VOTE_SLIDER="ToggleVoteSlider" CHOSEN_BY_TXT="Chosen by" \ No newline at end of file diff --git a/app/controllers/preferences_controller.rb b/app/controllers/preferences_controller.rb index b8ad779..6ccec8e 100644 --- a/app/controllers/preferences_controller.rb +++ b/app/controllers/preferences_controller.rb @@ -29,4 +29,8 @@ def awakeFromNib ) end + def toggle_always_show_votes(button) + App.notification_center.post(JB_TOGGLE_VOTE_SLIDER, nil, {state:button.state}) + end + end \ No newline at end of file diff --git a/ib.xcodeproj/Stubs.h b/ib.xcodeproj/Stubs.h index cd9b932..8d0e14d 100644 --- a/ib.xcodeproj/Stubs.h +++ b/ib.xcodeproj/Stubs.h @@ -103,6 +103,7 @@ -(IBAction) init; -(IBAction) awakeFromNib; +-(IBAction) toggle_always_show_votes:(id) button; @end diff --git a/ib.xcodeproj/project.pbxproj b/ib.xcodeproj/project.pbxproj index dee6938..26361bf 100644 --- a/ib.xcodeproj/project.pbxproj +++ b/ib.xcodeproj/project.pbxproj @@ -10,55 +10,103 @@ 46 objects - 00342BDD299C426BA0F09701 + 066CDA4D8EB6449F855F02AC - includeInIndex - 1 + fileRef + DF56046E7B574D818CFAED05 isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc + PBXBuildFile + + 09B29B12FE48426FB71A0948 + + children + + BBD77DA643A64CA1BC9837EA + 4854758623124BE0AC9BBAE1 + 83B64533F4CF496DA81E7988 + 79BFF00DF07B432F91659B67 + 95E21A00F98A40B18B3876CA + C170F2448BDF464AA752D1A9 + C21009BE7FD641899FDBA080 + AEAAE51D8A8047BABCA6091E + 61367EE7640A43A28E282577 + DCC2DD151C034A288A0A3B7D + 3A9910DDC9714432A49AFCA5 + + isa + PBXGroup + name + Pods path - Stubs.m + vendor/Pods/Headers sourceTree <group> - 00E9851F8AFA4BB9A7EFB67C + 111D6DA4C2F6477CAC141E69 includeInIndex 1 isa PBXFileReference + lastKnownFileType + sourcecode.c.objc path - k_logo_col_18x18.png + Stubs.m sourceTree <group> - 126EB380B69F4FAC9DD1A74B + 1F414271A3EC4AE0B4E0CE78 includeInIndex 1 isa PBXFileReference - lastKnownFileType - sourcecode.c.h path - ____Pods-environment.h + turd.png sourceTree <group> - 144B8815E2BF4417B582EC8A + 2D4B95107FAD4D3189BD308B + + buildActionMask + 2147483647 + files + + 9B2CD2FC02BB4A68A8F12484 + + isa + PBXSourcesBuildPhase + runOnlyForDeploymentPostprocessing + 0 + + 2E32826FCE3C4444B0E47CD4 + + buildConfigurations + + 4C7BBDBBE08C43A59A6F3D85 + BF264D44E3484F00BF6C546B + + defaultConfigurationIsVisible + 0 + defaultConfigurationName + Release + isa + XCConfigurationList + + 38D70B184CFD4CAF97DECB04 - includeInIndex - 1 isa PBXFileReference + lastKnownFileType + wrapper.framework + name + CoreData.framework path - jukebox.png + Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/CoreData.framework sourceTree - <group> + DEVELOPER_DIR - 19AB52072B4B4F45AED62762 + 3A9910DDC9714432A49AFCA5 includeInIndex 1 @@ -67,26 +115,39 @@ lastKnownFileType sourcecode.c.h name - MASShortcutView+UserDefaults.h + SRWebSocket.h path - MASShortcut/MASShortcutView+UserDefaults.h + SocketRocket/SRWebSocket.h sourceTree <group> - 19BC4353BC2244BB9297E060 + 3C65871CCA0A4C73AE5F2ADB isa PBXFileReference lastKnownFileType wrapper.framework name - QuartzCore.framework + CoreGraphics.framework path - Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/QuartzCore.framework + Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/CoreGraphics.framework sourceTree DEVELOPER_DIR - 1B51A59743864149ABE2B623 + 4854758623124BE0AC9BBAE1 + + includeInIndex + 1 + isa + PBXFileReference + lastKnownFileType + sourcecode.c.h + path + ____Pods-MASShortcut-prefix.h + sourceTree + <group> + + 4C7BBDBBE08C43A59A6F3D85 buildSettings @@ -115,11 +176,20 @@ CLANG_WARN_OBJC_ROOT_CLASS YES_ERROR COPY_PHASE_STRIP - NO - ENABLE_NS_ASSERTIONS - NO + YES GCC_C_LANGUAGE_STANDARD gnu99 + GCC_DYNAMIC_NO_PIC + NO + GCC_OPTIMIZATION_LEVEL + 0 + GCC_PREPROCESSOR_DEFINITIONS + + DEBUG=1 + $(inherited) + + GCC_SYMBOLS_PRIVATE_EXTERN + NO GCC_WARN_64_TO_32_BIT_CONVERSION YES GCC_WARN_ABOUT_RETURN_TYPE @@ -132,118 +202,138 @@ YES GCC_WARN_UNUSED_VARIABLE YES - VALIDATE_PRODUCT + ONLY_ACTIVE_ARCH YES isa XCBuildConfiguration name - Release + Debug - 22ABEBFBFE394517B7EF3512 + 50D5D6571FDD4AAEA2A8DF91 - buildConfigurationList - 456957EFF0C04667B0B587A0 - buildPhases + children - 3A627F5D75964FE697F29C07 - C6024F8B5B054506A84DC672 + 5B598451874F4A7AA70690A1 - buildRules - - dependencies - isa - PBXNativeTarget + PBXGroup name - ib - productName - ib - productReference - A325410144A84DECAA89626B - productType - com.apple.product-type.library.static + Products + sourceTree + <group> + + 5771BB1904E34DACBD5ACB57 + + buildActionMask + 2147483647 + files + + 066CDA4D8EB6449F855F02AC + 7A906E8B37CB499E89FB9E45 + 6366E66F93E642058D9E009A + 83375796C851483F940C53E5 + + isa + PBXFrameworksBuildPhase + runOnlyForDeploymentPostprocessing + 0 - 24B88BFF53DD450797C75E79 + 5B598451874F4A7AA70690A1 + explicitFileType + archive.ar includeInIndex - 1 + 0 isa PBXFileReference path - support.png + libib.a sourceTree - <group> + BUILT_PRODUCTS_DIR - 28AF8D3E96D64976BCBBB1A4 + 61367EE7640A43A28E282577 + includeInIndex + 1 isa PBXFileReference lastKnownFileType - wrapper.framework + sourcecode.c.h name - Cocoa.framework + base64.h path - Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/Cocoa.framework + SocketRocket/base64.h sourceTree - DEVELOPER_DIR + <group> - 294C923CA8B342E884DB19CD + 6366E66F93E642058D9E009A + + fileRef + 3C65871CCA0A4C73AE5F2ADB + isa + PBXBuildFile + + 653FC7C4F82742C892B58275 includeInIndex 1 isa PBXFileReference - lastKnownFileType - sourcecode.c.h - name - base64.h path - SocketRocket/base64.h + holiday.png + sourceTree + <group> + + 66C3E590A78E410D852801F1 + + children + + 50D5D6571FDD4AAEA2A8DF91 + A0503A8F6CBA4A45B7F8D2DD + AC376AE042EF425BB99D473E + 8DF050F49A944EB5A4213379 + 09B29B12FE48426FB71A0948 + + isa + PBXGroup sourceTree <group> - 2B5D235A63634D89AEC5F8EC + 6E155C4E4D834C018845FC6C includeInIndex 1 isa PBXFileReference path - missing_artwork.png + k_logo_col_18x18.png sourceTree <group> - 2D95D1C623F2417CA56280F9 + 700DD7B596CA40EEA7B55EAD + includeInIndex + 1 isa PBXFileReference - lastKnownFileType - wrapper.framework - name - CoreGraphics.framework path - Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/CoreGraphics.framework + campfire.png sourceTree - DEVELOPER_DIR + <group> - 329131F71AE24BCDA7449A0E + 70E469314A7F4D0794491D9A - children - - 28AF8D3E96D64976BCBBB1A4 - 19BC4353BC2244BB9297E060 - 2D95D1C623F2417CA56280F9 - C7D50B78258E41AAA181DA6A - + includeInIndex + 1 isa - PBXGroup - name - OS X + PBXFileReference + path + timesheet.png sourceTree <group> - 36E352D0962A4D5C8DBCB85C + 79BFF00DF07B432F91659B67 includeInIndex 1 @@ -252,40 +342,27 @@ lastKnownFileType sourcecode.c.h name - SRWebSocket.h + MASShortcut+Monitoring.h path - SocketRocket/SRWebSocket.h + MASShortcut/MASShortcut+Monitoring.h sourceTree <group> - 37913342793D4201B20F4E2E + 7A906E8B37CB499E89FB9E45 fileRef - 19BC4353BC2244BB9297E060 + 989C742BF6424874A7F6777F isa PBXBuildFile - 3A627F5D75964FE697F29C07 - - buildActionMask - 2147483647 - files - - 82AC034C233A4FCA8EB78AB0 - - isa - PBXSourcesBuildPhase - runOnlyForDeploymentPostprocessing - 0 - - 3B1EDEDBC70340E99D1877FA + 83375796C851483F940C53E5 fileRef - 2D95D1C623F2417CA56280F9 + 38D70B184CFD4CAF97DECB04 isa PBXBuildFile - 43A9C901422042E1B5DD3BDE + 83B64533F4CF496DA81E7988 includeInIndex 1 @@ -298,36 +375,49 @@ sourceTree <group> - 444137A6874745E6AFE1D082 + 899BE913B1BC4AA69CE36CFF includeInIndex 1 isa PBXFileReference - lastKnownFileType - sourcecode.c.h - name - MASShortcut+UserDefaults.h path - MASShortcut/MASShortcut+UserDefaults.h + pivotal.png sourceTree <group> - 456957EFF0C04667B0B587A0 + 8DF050F49A944EB5A4213379 - buildConfigurations + children - E7D17D17B624404B9404C6A0 - B37CF06DE41245438497A010 + D7343AD423A9430A8416FE6A + 111D6DA4C2F6477CAC141E69 - defaultConfigurationIsVisible - 0 - defaultConfigurationName - Release isa - XCConfigurationList + PBXGroup + name + Supporting Files + path + ib.xcodeproj + sourceTree + <group> + + 95E21A00F98A40B18B3876CA + + includeInIndex + 1 + isa + PBXFileReference + lastKnownFileType + sourcecode.c.h + name + MASShortcut+UserDefaults.h + path + MASShortcut/MASShortcut+UserDefaults.h + sourceTree + <group> - 504E8CA0ECEF4255931EEA51 + 968666874E754B108B3A850F attributes @@ -335,7 +425,7 @@ 0500 buildConfigurationList - D47CA397F144400C9BDB0060 + 2E32826FCE3C4444B0E47CD4 compatibilityVersion Xcode 3.2 developmentRegion @@ -349,9 +439,9 @@ en mainGroup - D5444D7854F14F82B69A94F0 + 66C3E590A78E410D852801F1 productRefGroup - BB447D4202E74DF794444E33 + 50D5D6571FDD4AAEA2A8DF91 projectDirPath projectReferences @@ -360,144 +450,128 @@ targets - 22ABEBFBFE394517B7EF3512 + 9BC03126A2C04CEDA11D674B - 5FA2582996EA48EB927C5F30 + 989C742BF6424874A7F6777F - includeInIndex - 1 isa PBXFileReference + lastKnownFileType + wrapper.framework + name + QuartzCore.framework path - pivotal.png + Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/QuartzCore.framework sourceTree - <group> + DEVELOPER_DIR - 70E3BEC285E24226A41ABAA1 + 9954B7D74B544D1BA8122FD8 includeInIndex 1 isa PBXFileReference path - k_logo_bw_18x18.png + support.png sourceTree <group> - 73C70C59707D402E9C35BAE1 + 9B2CD2FC02BB4A68A8F12484 - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - file.xib - path - Preferences.xib - sourceTree - <group> - - 760CAEC75D3D4D25B45FAE46 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - path - Stubs.h - sourceTree - <group> - - 82AC034C233A4FCA8EB78AB0 - - fileRef - 00342BDD299C426BA0F09701 + fileRef + 111D6DA4C2F6477CAC141E69 isa PBXBuildFile - 91E30869F54A44F183460124 + 9BC03126A2C04CEDA11D674B - includeInIndex - 1 + buildConfigurationList + AB376703AC374D0A9976DEED + buildPhases + + 2D4B95107FAD4D3189BD308B + 5771BB1904E34DACBD5ACB57 + + buildRules + + dependencies + isa - PBXFileReference - path - timesheet.png - sourceTree - <group> + PBXNativeTarget + name + ib + productName + ib + productReference + 5B598451874F4A7AA70690A1 + productType + com.apple.product-type.library.static - 93484FC2184C4E96953BF9B0 + 9E9B75DDF12F4D679B645AB4 includeInIndex 1 isa PBXFileReference path - turd.png + k_logo_bw_18x18.png sourceTree <group> - 953161F0478144E99AA953F2 + A0503A8F6CBA4A45B7F8D2DD children - 760CAEC75D3D4D25B45FAE46 - 00342BDD299C426BA0F09701 + EFC446AF6B3E46E88F074DE7 isa PBXGroup name - Supporting Files - path - ib.xcodeproj + Frameworks sourceTree <group> - 98D7C6E3D7AF416EB2034D80 + AB376703AC374D0A9976DEED - includeInIndex - 1 + buildConfigurations + + D76258F2641C4FC4B03DF27F + CE0DDBB1F0F9472F9FA7C88B + + defaultConfigurationIsVisible + 0 + defaultConfigurationName + Release isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - name - NSData+SRB64Additions.h - path - SocketRocket/NSData+SRB64Additions.h - sourceTree - <group> + XCConfigurationList - 993C800D1B7A47398DD1E760 + AC376AE042EF425BB99D473E - includeInIndex - 1 + children + + 700DD7B596CA40EEA7B55EAD + 653FC7C4F82742C892B58275 + E995FACC38FA4B19ABFA8394 + 9E9B75DDF12F4D679B645AB4 + 6E155C4E4D834C018845FC6C + F72B49FFB30F4C3CB5F2F4C7 + 899BE913B1BC4AA69CE36CFF + 9954B7D74B544D1BA8122FD8 + 70E469314A7F4D0794491D9A + 1F414271A3EC4AE0B4E0CE78 + EDE3AE35122D41FD8DA5EF18 + isa - PBXFileReference - lastKnownFileType - sourcecode.c.h + PBXGroup + name + Resources path - ____Pods-MASShortcut-prefix.h + resources sourceTree <group> - A325410144A84DECAA89626B - - explicitFileType - archive.ar - includeInIndex - 0 - isa - PBXFileReference - path - libib.a - sourceTree - BUILT_PRODUCTS_DIR - - AB604D9B24524C7C9968B1E9 + AEAAE51D8A8047BABCA6091E includeInIndex 1 @@ -506,24 +580,26 @@ lastKnownFileType sourcecode.c.h name - MASShortcut+Monitoring.h + MASShortcutView.h path - MASShortcut/MASShortcut+Monitoring.h + MASShortcut/MASShortcutView.h sourceTree <group> - AC704A8A2CB041B285854C48 + BBD77DA643A64CA1BC9837EA includeInIndex 1 isa PBXFileReference + lastKnownFileType + sourcecode.c.h path - campfire.png + ____Pods-environment.h sourceTree <group> - B1D6AADAA4B24932AB1B3BB3 + BF264D44E3484F00BF6C546B buildSettings @@ -552,20 +628,11 @@ CLANG_WARN_OBJC_ROOT_CLASS YES_ERROR COPY_PHASE_STRIP - YES - GCC_C_LANGUAGE_STANDARD - gnu99 - GCC_DYNAMIC_NO_PIC NO - GCC_OPTIMIZATION_LEVEL - 0 - GCC_PREPROCESSOR_DEFINITIONS - - DEBUG=1 - $(inherited) - - GCC_SYMBOLS_PRIVATE_EXTERN + ENABLE_NS_ASSERTIONS NO + GCC_C_LANGUAGE_STANDARD + gnu99 GCC_WARN_64_TO_32_BIT_CONVERSION YES GCC_WARN_ABOUT_RETURN_TYPE @@ -578,26 +645,45 @@ YES GCC_WARN_UNUSED_VARIABLE YES - ONLY_ACTIVE_ARCH + VALIDATE_PRODUCT YES isa XCBuildConfiguration name - Debug + Release - B24B1E9AF8A646A6BF6FE9A4 + C170F2448BDF464AA752D1A9 includeInIndex 1 isa PBXFileReference + lastKnownFileType + sourcecode.c.h + name + MASShortcut.h path - holiday.png + MASShortcut/MASShortcut.h sourceTree <group> - B37CF06DE41245438497A010 + C21009BE7FD641899FDBA080 + + includeInIndex + 1 + isa + PBXFileReference + lastKnownFileType + sourcecode.c.h + name + MASShortcutView+UserDefaults.h + path + MASShortcut/MASShortcutView+UserDefaults.h + sourceTree + <group> + + CE0DDBB1F0F9472F9FA7C88B buildSettings @@ -646,49 +732,7 @@ name Debug - BB447D4202E74DF794444E33 - - children - - A325410144A84DECAA89626B - - isa - PBXGroup - name - Products - sourceTree - <group> - - C6024F8B5B054506A84DC672 - - buildActionMask - 2147483647 - files - - CA4B343B93574EEEAE26111A - 37913342793D4201B20F4E2E - 3B1EDEDBC70340E99D1877FA - F3B5D4E20F2F471B8E56544B - - isa - PBXFrameworksBuildPhase - runOnlyForDeploymentPostprocessing - 0 - - C7D50B78258E41AAA181DA6A - - isa - PBXFileReference - lastKnownFileType - wrapper.framework - name - CoreData.framework - path - Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/CoreData.framework - sourceTree - DEVELOPER_DIR - - C84DD76396C44DA685862D38 + D7343AD423A9430A8416FE6A includeInIndex 1 @@ -696,103 +740,12 @@ PBXFileReference lastKnownFileType sourcecode.c.h - name - MASShortcutView.h - path - MASShortcut/MASShortcutView.h - sourceTree - <group> - - CA4B343B93574EEEAE26111A - - fileRef - 28AF8D3E96D64976BCBBB1A4 - isa - PBXBuildFile - - D47CA397F144400C9BDB0060 - - buildConfigurations - - B1D6AADAA4B24932AB1B3BB3 - 1B51A59743864149ABE2B623 - - defaultConfigurationIsVisible - 0 - defaultConfigurationName - Release - isa - XCConfigurationList - - D5444D7854F14F82B69A94F0 - - children - - BB447D4202E74DF794444E33 - DE9B582D690545F88599083D - E94F94F174344016AF3AEE6D - 953161F0478144E99AA953F2 - D601E0235F39494ABD6BB4BC - - isa - PBXGroup - sourceTree - <group> - - D601E0235F39494ABD6BB4BC - - children - - 126EB380B69F4FAC9DD1A74B - 993C800D1B7A47398DD1E760 - 43A9C901422042E1B5DD3BDE - AB604D9B24524C7C9968B1E9 - 444137A6874745E6AFE1D082 - DD7BC784920F400B91AFB4C3 - 19AB52072B4B4F45AED62762 - C84DD76396C44DA685862D38 - 294C923CA8B342E884DB19CD - 98D7C6E3D7AF416EB2034D80 - 36E352D0962A4D5C8DBCB85C - - isa - PBXGroup - name - Pods - path - vendor/Pods/Headers - sourceTree - <group> - - DD7BC784920F400B91AFB4C3 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - name - MASShortcut.h path - MASShortcut/MASShortcut.h - sourceTree - <group> - - DE9B582D690545F88599083D - - children - - 329131F71AE24BCDA7449A0E - - isa - PBXGroup - name - Frameworks + Stubs.h sourceTree <group> - E7D17D17B624404B9404C6A0 + D76258F2641C4FC4B03DF27F buildSettings @@ -842,40 +795,87 @@ name Release - E94F94F174344016AF3AEE6D + DCC2DD151C034A288A0A3B7D + + includeInIndex + 1 + isa + PBXFileReference + lastKnownFileType + sourcecode.c.h + name + NSData+SRB64Additions.h + path + SocketRocket/NSData+SRB64Additions.h + sourceTree + <group> + + DF56046E7B574D818CFAED05 + + isa + PBXFileReference + lastKnownFileType + wrapper.framework + name + Cocoa.framework + path + Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/Cocoa.framework + sourceTree + DEVELOPER_DIR + + E995FACC38FA4B19ABFA8394 + + includeInIndex + 1 + isa + PBXFileReference + path + jukebox.png + sourceTree + <group> + + EDE3AE35122D41FD8DA5EF18 + + includeInIndex + 1 + isa + PBXFileReference + lastKnownFileType + file.xib + path + Preferences.xib + sourceTree + <group> + + EFC446AF6B3E46E88F074DE7 children - AC704A8A2CB041B285854C48 - B24B1E9AF8A646A6BF6FE9A4 - 144B8815E2BF4417B582EC8A - 70E3BEC285E24226A41ABAA1 - 00E9851F8AFA4BB9A7EFB67C - 2B5D235A63634D89AEC5F8EC - 5FA2582996EA48EB927C5F30 - 24B88BFF53DD450797C75E79 - 91E30869F54A44F183460124 - 93484FC2184C4E96953BF9B0 - 73C70C59707D402E9C35BAE1 + DF56046E7B574D818CFAED05 + 989C742BF6424874A7F6777F + 3C65871CCA0A4C73AE5F2ADB + 38D70B184CFD4CAF97DECB04 isa PBXGroup name - Resources - path - resources + OS X sourceTree <group> - F3B5D4E20F2F471B8E56544B + F72B49FFB30F4C3CB5F2F4C7 - fileRef - C7D50B78258E41AAA181DA6A + includeInIndex + 1 isa - PBXBuildFile + PBXFileReference + path + missing_artwork.png + sourceTree + <group> rootObject - 504E8CA0ECEF4255931EEA51 + 968666874E754B108B3A850F diff --git a/ib.xcodeproj/project.xcworkspace/xcuserdata/duncan.xcuserdatad/UserInterfaceState.xcuserstate b/ib.xcodeproj/project.xcworkspace/xcuserdata/duncan.xcuserdatad/UserInterfaceState.xcuserstate index 439b0e8..8f0db72 100644 Binary files a/ib.xcodeproj/project.xcworkspace/xcuserdata/duncan.xcuserdatad/UserInterfaceState.xcuserstate and b/ib.xcodeproj/project.xcworkspace/xcuserdata/duncan.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/ib.xcodeproj/xcuserdata/duncan.xcuserdatad/xcschemes/xcschememanagement.plist b/ib.xcodeproj/xcuserdata/duncan.xcuserdatad/xcschemes/xcschememanagement.plist index 6a1eb39..f8f7924 100644 --- a/ib.xcodeproj/xcuserdata/duncan.xcuserdatad/xcschemes/xcschememanagement.plist +++ b/ib.xcodeproj/xcuserdata/duncan.xcuserdatad/xcschemes/xcschememanagement.plist @@ -27,6 +27,36 @@ primary + 7712566F02B8460BAAB92966 + + primary + + + 83493AEE5C0D45A7884E3E8E + + primary + + + 9BC03126A2C04CEDA11D674B + + primary + + + C3900FF4548F4EE483480675 + + primary + + + EA05158828C240349470CD36 + + primary + + + F8A5EC05FD584912B241FD91 + + primary + + diff --git a/resources/Preferences.xib b/resources/Preferences.xib index de4d234..d79343a 100644 --- a/resources/Preferences.xib +++ b/resources/Preferences.xib @@ -15,14 +15,14 @@ - + - + - + @@ -53,7 +53,7 @@ - + @@ -69,7 +69,7 @@ - + @@ -78,7 +78,7 @@ - + @@ -87,7 +87,7 @@ - + @@ -96,7 +96,7 @@ - + @@ -105,7 +105,7 @@ - + @@ -114,7 +114,7 @@ - + @@ -133,7 +133,7 @@ + - + - + @@ -162,7 +179,7 @@ - +