├── .gitignore ├── .travis.yml ├── MyMusicPlayer.xcodeproj ├── project.pbxproj ├── project.xcworkspace │ ├── contents.xcworkspacedata │ └── xcuserdata │ │ └── isaced.xcuserdatad │ │ └── UserInterfaceState.xcuserstate ├── xcshareddata │ └── xcschemes │ │ └── MyMusicPlayer.xcscheme └── xcuserdata │ └── isaced.xcuserdatad │ ├── xcdebugger │ └── Breakpoints.xcbkptlist │ └── xcschemes │ ├── MyMusicPlayer.xcscheme │ └── xcschememanagement.plist ├── MyMusicPlayer ├── AppDelegate.h ├── AppDelegate.m ├── MainWindowController.h ├── MainWindowController.m ├── MainWindowController.xib ├── Models │ ├── Music.h │ └── Music.m ├── MusicTools.h ├── MusicTools.m ├── MyMusicPlayer-Info.plist ├── MyMusicPlayer-Prefix.pch ├── Resources │ └── Asssets.xcassets │ │ ├── AppIcon.appiconset │ │ ├── Contents.json │ │ └── icon512@2x.png │ │ ├── Contents.json │ │ ├── bg.imageset │ │ ├── Contents.json │ │ └── bg.png │ │ ├── drag.imageset │ │ ├── Contents.json │ │ └── drag@2x.png │ │ ├── next.imageset │ │ ├── Contents.json │ │ └── next@2x.png │ │ ├── pause.imageset │ │ ├── Contents.json │ │ └── pause@2x.png │ │ ├── play.imageset │ │ ├── Contents.json │ │ └── play@2x.png │ │ └── prev.imageset │ │ ├── Contents.json │ │ └── prev@2x.png ├── Views │ ├── ProgressSliderCell.h │ └── ProgressSliderCell.m ├── en.lproj │ ├── Credits.rtf │ ├── InfoPlist.strings │ └── MainMenu.xib └── main.m ├── README.md ├── icons.sketch └── preview.png /.gitignore: -------------------------------------------------------------------------------- 1 | # Xcode 2 | # 3 | # gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore 4 | 5 | ## Build generated 6 | build/ 7 | DerivedData/ 8 | 9 | ## Various settings 10 | *.pbxuser 11 | !default.pbxuser 12 | *.mode1v3 13 | !default.mode1v3 14 | *.mode2v3 15 | !default.mode2v3 16 | *.perspectivev3 17 | !default.perspectivev3 18 | xcuserdata/ 19 | 20 | ## Other 21 | *.moved-aside 22 | *.xcuserstate 23 | 24 | ## Obj-C/Swift specific 25 | *.hmap 26 | *.ipa 27 | *.dSYM.zip 28 | *.dSYM 29 | 30 | # CocoaPods 31 | # 32 | # We recommend against adding the Pods directory to your .gitignore. However 33 | # you should judge for yourself, the pros and cons are mentioned at: 34 | # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control 35 | # 36 | # Pods/ 37 | 38 | # Carthage 39 | # 40 | # Add this line if you want to avoid checking in source code from Carthage dependencies. 41 | # Carthage/Checkouts 42 | 43 | Carthage/Build 44 | 45 | # fastlane 46 | # 47 | # It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the 48 | # screenshots whenever they are needed. 49 | # For more information about the recommended setup visit: 50 | # https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Gitignore.md 51 | 52 | fastlane/report.xml 53 | fastlane/screenshots 54 | 55 | #Code Injection 56 | # 57 | # After new code Injection tools there's a generated folder /iOSInjectionProject 58 | # https://github.com/johnno1962/injectionforxcode 59 | 60 | iOSInjectionProject/ 61 | 62 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: objective-c 2 | 3 | osx_image: xcode7.3 4 | 5 | xcode_project: MyMusicPlayer.xcodeproj 6 | xcode_scheme: MyMusicPlayer 7 | -------------------------------------------------------------------------------- /MyMusicPlayer.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 0B5DA6951E55487E009340E6 /* Asssets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 0B5DA6941E55487E009340E6 /* Asssets.xcassets */; }; 11 | 0B5DA6991E554AC0009340E6 /* ProgressSliderCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 0B5DA6981E554AC0009340E6 /* ProgressSliderCell.m */; }; 12 | 0D069249179BB87E00D51C41 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0D069248179BB87E00D51C41 /* Cocoa.framework */; }; 13 | 0D069253179BB87E00D51C41 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 0D069251179BB87E00D51C41 /* InfoPlist.strings */; }; 14 | 0D069255179BB87E00D51C41 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 0D069254179BB87E00D51C41 /* main.m */; }; 15 | 0D069259179BB87E00D51C41 /* Credits.rtf in Resources */ = {isa = PBXBuildFile; fileRef = 0D069257179BB87E00D51C41 /* Credits.rtf */; }; 16 | 0D06925C179BB87E00D51C41 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 0D06925B179BB87E00D51C41 /* AppDelegate.m */; }; 17 | 0D06925F179BB87E00D51C41 /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = 0D06925D179BB87E00D51C41 /* MainMenu.xib */; }; 18 | 0D06926D179BB8B000D51C41 /* AVFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0D06926C179BB8B000D51C41 /* AVFoundation.framework */; }; 19 | 0D069271179BBA8D00D51C41 /* MainWindowController.m in Sources */ = {isa = PBXBuildFile; fileRef = 0D06926F179BBA8D00D51C41 /* MainWindowController.m */; }; 20 | 0D069272179BBA8D00D51C41 /* MainWindowController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 0D069270179BBA8D00D51C41 /* MainWindowController.xib */; }; 21 | 0D069278179BCDA700D51C41 /* AudioToolbox.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0D069277179BCDA700D51C41 /* AudioToolbox.framework */; }; 22 | 0D06927B179BCEA500D51C41 /* MusicTools.m in Sources */ = {isa = PBXBuildFile; fileRef = 0D06927A179BCEA500D51C41 /* MusicTools.m */; }; 23 | 0D2868B41E754E0500184E89 /* Music.m in Sources */ = {isa = PBXBuildFile; fileRef = 0D2868B31E754E0500184E89 /* Music.m */; }; 24 | /* End PBXBuildFile section */ 25 | 26 | /* Begin PBXFileReference section */ 27 | 0B5DA6941E55487E009340E6 /* Asssets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Asssets.xcassets; sourceTree = ""; }; 28 | 0B5DA6971E554AC0009340E6 /* ProgressSliderCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ProgressSliderCell.h; sourceTree = ""; }; 29 | 0B5DA6981E554AC0009340E6 /* ProgressSliderCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ProgressSliderCell.m; sourceTree = ""; }; 30 | 0D069245179BB87E00D51C41 /* MyMusicPlayer.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = MyMusicPlayer.app; sourceTree = BUILT_PRODUCTS_DIR; }; 31 | 0D069248179BB87E00D51C41 /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = System/Library/Frameworks/Cocoa.framework; sourceTree = SDKROOT; }; 32 | 0D06924B179BB87E00D51C41 /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = System/Library/Frameworks/AppKit.framework; sourceTree = SDKROOT; }; 33 | 0D06924C179BB87E00D51C41 /* CoreData.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreData.framework; path = System/Library/Frameworks/CoreData.framework; sourceTree = SDKROOT; }; 34 | 0D06924D179BB87E00D51C41 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; 35 | 0D069250179BB87E00D51C41 /* MyMusicPlayer-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "MyMusicPlayer-Info.plist"; sourceTree = ""; }; 36 | 0D069252179BB87E00D51C41 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; 37 | 0D069254179BB87E00D51C41 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; 38 | 0D069256179BB87E00D51C41 /* MyMusicPlayer-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "MyMusicPlayer-Prefix.pch"; sourceTree = ""; }; 39 | 0D069258179BB87E00D51C41 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.rtf; name = en; path = en.lproj/Credits.rtf; sourceTree = ""; }; 40 | 0D06925A179BB87E00D51C41 /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; }; 41 | 0D06925B179BB87E00D51C41 /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; }; 42 | 0D06925E179BB87E00D51C41 /* en */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = en; path = en.lproj/MainMenu.xib; sourceTree = ""; }; 43 | 0D06926C179BB8B000D51C41 /* AVFoundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AVFoundation.framework; path = System/Library/Frameworks/AVFoundation.framework; sourceTree = SDKROOT; }; 44 | 0D06926E179BBA8D00D51C41 /* MainWindowController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MainWindowController.h; sourceTree = ""; }; 45 | 0D06926F179BBA8D00D51C41 /* MainWindowController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MainWindowController.m; sourceTree = ""; }; 46 | 0D069270179BBA8D00D51C41 /* MainWindowController.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = MainWindowController.xib; sourceTree = ""; }; 47 | 0D069277179BCDA700D51C41 /* AudioToolbox.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AudioToolbox.framework; path = System/Library/Frameworks/AudioToolbox.framework; sourceTree = SDKROOT; }; 48 | 0D069279179BCEA500D51C41 /* MusicTools.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MusicTools.h; sourceTree = ""; }; 49 | 0D06927A179BCEA500D51C41 /* MusicTools.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MusicTools.m; sourceTree = ""; }; 50 | 0D2868B21E754E0500184E89 /* Music.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Music.h; sourceTree = ""; }; 51 | 0D2868B31E754E0500184E89 /* Music.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = Music.m; sourceTree = ""; }; 52 | /* End PBXFileReference section */ 53 | 54 | /* Begin PBXFrameworksBuildPhase section */ 55 | 0D069242179BB87E00D51C41 /* Frameworks */ = { 56 | isa = PBXFrameworksBuildPhase; 57 | buildActionMask = 2147483647; 58 | files = ( 59 | 0D069278179BCDA700D51C41 /* AudioToolbox.framework in Frameworks */, 60 | 0D06926D179BB8B000D51C41 /* AVFoundation.framework in Frameworks */, 61 | 0D069249179BB87E00D51C41 /* Cocoa.framework in Frameworks */, 62 | ); 63 | runOnlyForDeploymentPostprocessing = 0; 64 | }; 65 | /* End PBXFrameworksBuildPhase section */ 66 | 67 | /* Begin PBXGroup section */ 68 | 0B5DA6961E554AAA009340E6 /* Views */ = { 69 | isa = PBXGroup; 70 | children = ( 71 | 0B5DA6971E554AC0009340E6 /* ProgressSliderCell.h */, 72 | 0B5DA6981E554AC0009340E6 /* ProgressSliderCell.m */, 73 | ); 74 | path = Views; 75 | sourceTree = ""; 76 | }; 77 | 0BFF8F671E54605D0072DB2A /* Resources */ = { 78 | isa = PBXGroup; 79 | children = ( 80 | 0B5DA6941E55487E009340E6 /* Asssets.xcassets */, 81 | ); 82 | path = Resources; 83 | sourceTree = ""; 84 | }; 85 | 0D06923C179BB87E00D51C41 = { 86 | isa = PBXGroup; 87 | children = ( 88 | 0D06924E179BB87E00D51C41 /* MyMusicPlayer */, 89 | 0D069247179BB87E00D51C41 /* Frameworks */, 90 | 0D069246179BB87E00D51C41 /* Products */, 91 | ); 92 | sourceTree = ""; 93 | }; 94 | 0D069246179BB87E00D51C41 /* Products */ = { 95 | isa = PBXGroup; 96 | children = ( 97 | 0D069245179BB87E00D51C41 /* MyMusicPlayer.app */, 98 | ); 99 | name = Products; 100 | sourceTree = ""; 101 | }; 102 | 0D069247179BB87E00D51C41 /* Frameworks */ = { 103 | isa = PBXGroup; 104 | children = ( 105 | 0D069277179BCDA700D51C41 /* AudioToolbox.framework */, 106 | 0D06926C179BB8B000D51C41 /* AVFoundation.framework */, 107 | 0D069248179BB87E00D51C41 /* Cocoa.framework */, 108 | 0D06924A179BB87E00D51C41 /* Other Frameworks */, 109 | ); 110 | name = Frameworks; 111 | sourceTree = ""; 112 | }; 113 | 0D06924A179BB87E00D51C41 /* Other Frameworks */ = { 114 | isa = PBXGroup; 115 | children = ( 116 | 0D06924B179BB87E00D51C41 /* AppKit.framework */, 117 | 0D06924C179BB87E00D51C41 /* CoreData.framework */, 118 | 0D06924D179BB87E00D51C41 /* Foundation.framework */, 119 | ); 120 | name = "Other Frameworks"; 121 | sourceTree = ""; 122 | }; 123 | 0D06924E179BB87E00D51C41 /* MyMusicPlayer */ = { 124 | isa = PBXGroup; 125 | children = ( 126 | 0D2868B11E754DF600184E89 /* Models */, 127 | 0B5DA6961E554AAA009340E6 /* Views */, 128 | 0BFF8F671E54605D0072DB2A /* Resources */, 129 | 0D06925A179BB87E00D51C41 /* AppDelegate.h */, 130 | 0D06925B179BB87E00D51C41 /* AppDelegate.m */, 131 | 0D06925D179BB87E00D51C41 /* MainMenu.xib */, 132 | 0D06926E179BBA8D00D51C41 /* MainWindowController.h */, 133 | 0D06926F179BBA8D00D51C41 /* MainWindowController.m */, 134 | 0D069270179BBA8D00D51C41 /* MainWindowController.xib */, 135 | 0D06924F179BB87E00D51C41 /* Supporting Files */, 136 | 0D069279179BCEA500D51C41 /* MusicTools.h */, 137 | 0D06927A179BCEA500D51C41 /* MusicTools.m */, 138 | ); 139 | path = MyMusicPlayer; 140 | sourceTree = ""; 141 | }; 142 | 0D06924F179BB87E00D51C41 /* Supporting Files */ = { 143 | isa = PBXGroup; 144 | children = ( 145 | 0D069250179BB87E00D51C41 /* MyMusicPlayer-Info.plist */, 146 | 0D069251179BB87E00D51C41 /* InfoPlist.strings */, 147 | 0D069254179BB87E00D51C41 /* main.m */, 148 | 0D069256179BB87E00D51C41 /* MyMusicPlayer-Prefix.pch */, 149 | 0D069257179BB87E00D51C41 /* Credits.rtf */, 150 | ); 151 | name = "Supporting Files"; 152 | sourceTree = ""; 153 | }; 154 | 0D2868B11E754DF600184E89 /* Models */ = { 155 | isa = PBXGroup; 156 | children = ( 157 | 0D2868B21E754E0500184E89 /* Music.h */, 158 | 0D2868B31E754E0500184E89 /* Music.m */, 159 | ); 160 | path = Models; 161 | sourceTree = ""; 162 | }; 163 | /* End PBXGroup section */ 164 | 165 | /* Begin PBXNativeTarget section */ 166 | 0D069244179BB87E00D51C41 /* MyMusicPlayer */ = { 167 | isa = PBXNativeTarget; 168 | buildConfigurationList = 0D069262179BB87E00D51C41 /* Build configuration list for PBXNativeTarget "MyMusicPlayer" */; 169 | buildPhases = ( 170 | 0D069241179BB87E00D51C41 /* Sources */, 171 | 0D069242179BB87E00D51C41 /* Frameworks */, 172 | 0D069243179BB87E00D51C41 /* Resources */, 173 | ); 174 | buildRules = ( 175 | ); 176 | dependencies = ( 177 | ); 178 | name = MyMusicPlayer; 179 | productName = MyMusicPlayer; 180 | productReference = 0D069245179BB87E00D51C41 /* MyMusicPlayer.app */; 181 | productType = "com.apple.product-type.application"; 182 | }; 183 | /* End PBXNativeTarget section */ 184 | 185 | /* Begin PBXProject section */ 186 | 0D06923D179BB87E00D51C41 /* Project object */ = { 187 | isa = PBXProject; 188 | attributes = { 189 | LastUpgradeCheck = 0820; 190 | ORGANIZATIONNAME = isaced; 191 | }; 192 | buildConfigurationList = 0D069240179BB87E00D51C41 /* Build configuration list for PBXProject "MyMusicPlayer" */; 193 | compatibilityVersion = "Xcode 3.2"; 194 | developmentRegion = English; 195 | hasScannedForEncodings = 0; 196 | knownRegions = ( 197 | en, 198 | ); 199 | mainGroup = 0D06923C179BB87E00D51C41; 200 | productRefGroup = 0D069246179BB87E00D51C41 /* Products */; 201 | projectDirPath = ""; 202 | projectRoot = ""; 203 | targets = ( 204 | 0D069244179BB87E00D51C41 /* MyMusicPlayer */, 205 | ); 206 | }; 207 | /* End PBXProject section */ 208 | 209 | /* Begin PBXResourcesBuildPhase section */ 210 | 0D069243179BB87E00D51C41 /* Resources */ = { 211 | isa = PBXResourcesBuildPhase; 212 | buildActionMask = 2147483647; 213 | files = ( 214 | 0D069253179BB87E00D51C41 /* InfoPlist.strings in Resources */, 215 | 0D069259179BB87E00D51C41 /* Credits.rtf in Resources */, 216 | 0B5DA6951E55487E009340E6 /* Asssets.xcassets in Resources */, 217 | 0D06925F179BB87E00D51C41 /* MainMenu.xib in Resources */, 218 | 0D069272179BBA8D00D51C41 /* MainWindowController.xib in Resources */, 219 | ); 220 | runOnlyForDeploymentPostprocessing = 0; 221 | }; 222 | /* End PBXResourcesBuildPhase section */ 223 | 224 | /* Begin PBXSourcesBuildPhase section */ 225 | 0D069241179BB87E00D51C41 /* Sources */ = { 226 | isa = PBXSourcesBuildPhase; 227 | buildActionMask = 2147483647; 228 | files = ( 229 | 0D069255179BB87E00D51C41 /* main.m in Sources */, 230 | 0D06925C179BB87E00D51C41 /* AppDelegate.m in Sources */, 231 | 0B5DA6991E554AC0009340E6 /* ProgressSliderCell.m in Sources */, 232 | 0D2868B41E754E0500184E89 /* Music.m in Sources */, 233 | 0D069271179BBA8D00D51C41 /* MainWindowController.m in Sources */, 234 | 0D06927B179BCEA500D51C41 /* MusicTools.m in Sources */, 235 | ); 236 | runOnlyForDeploymentPostprocessing = 0; 237 | }; 238 | /* End PBXSourcesBuildPhase section */ 239 | 240 | /* Begin PBXVariantGroup section */ 241 | 0D069251179BB87E00D51C41 /* InfoPlist.strings */ = { 242 | isa = PBXVariantGroup; 243 | children = ( 244 | 0D069252179BB87E00D51C41 /* en */, 245 | ); 246 | name = InfoPlist.strings; 247 | sourceTree = ""; 248 | }; 249 | 0D069257179BB87E00D51C41 /* Credits.rtf */ = { 250 | isa = PBXVariantGroup; 251 | children = ( 252 | 0D069258179BB87E00D51C41 /* en */, 253 | ); 254 | name = Credits.rtf; 255 | sourceTree = ""; 256 | }; 257 | 0D06925D179BB87E00D51C41 /* MainMenu.xib */ = { 258 | isa = PBXVariantGroup; 259 | children = ( 260 | 0D06925E179BB87E00D51C41 /* en */, 261 | ); 262 | name = MainMenu.xib; 263 | sourceTree = ""; 264 | }; 265 | /* End PBXVariantGroup section */ 266 | 267 | /* Begin XCBuildConfiguration section */ 268 | 0D069260179BB87E00D51C41 /* Debug */ = { 269 | isa = XCBuildConfiguration; 270 | buildSettings = { 271 | ALWAYS_SEARCH_USER_PATHS = NO; 272 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 273 | CLANG_CXX_LIBRARY = "libc++"; 274 | CLANG_ENABLE_OBJC_ARC = YES; 275 | CLANG_WARN_BOOL_CONVERSION = YES; 276 | CLANG_WARN_CONSTANT_CONVERSION = YES; 277 | CLANG_WARN_EMPTY_BODY = YES; 278 | CLANG_WARN_ENUM_CONVERSION = YES; 279 | CLANG_WARN_INFINITE_RECURSION = YES; 280 | CLANG_WARN_INT_CONVERSION = YES; 281 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 282 | CLANG_WARN_UNREACHABLE_CODE = YES; 283 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 284 | COPY_PHASE_STRIP = NO; 285 | ENABLE_STRICT_OBJC_MSGSEND = YES; 286 | ENABLE_TESTABILITY = YES; 287 | GCC_C_LANGUAGE_STANDARD = gnu99; 288 | GCC_DYNAMIC_NO_PIC = NO; 289 | GCC_ENABLE_OBJC_EXCEPTIONS = YES; 290 | GCC_NO_COMMON_BLOCKS = YES; 291 | GCC_OPTIMIZATION_LEVEL = 0; 292 | GCC_PREPROCESSOR_DEFINITIONS = ( 293 | "DEBUG=1", 294 | "$(inherited)", 295 | ); 296 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 297 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 298 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 299 | GCC_WARN_UNDECLARED_SELECTOR = YES; 300 | GCC_WARN_UNINITIALIZED_AUTOS = YES; 301 | GCC_WARN_UNUSED_FUNCTION = YES; 302 | GCC_WARN_UNUSED_VARIABLE = YES; 303 | MACOSX_DEPLOYMENT_TARGET = 10.8; 304 | ONLY_ACTIVE_ARCH = YES; 305 | SDKROOT = macosx; 306 | }; 307 | name = Debug; 308 | }; 309 | 0D069261179BB87E00D51C41 /* Release */ = { 310 | isa = XCBuildConfiguration; 311 | buildSettings = { 312 | ALWAYS_SEARCH_USER_PATHS = NO; 313 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 314 | CLANG_CXX_LIBRARY = "libc++"; 315 | CLANG_ENABLE_OBJC_ARC = YES; 316 | CLANG_WARN_BOOL_CONVERSION = YES; 317 | CLANG_WARN_CONSTANT_CONVERSION = YES; 318 | CLANG_WARN_EMPTY_BODY = YES; 319 | CLANG_WARN_ENUM_CONVERSION = YES; 320 | CLANG_WARN_INFINITE_RECURSION = YES; 321 | CLANG_WARN_INT_CONVERSION = YES; 322 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 323 | CLANG_WARN_UNREACHABLE_CODE = YES; 324 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 325 | COPY_PHASE_STRIP = YES; 326 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 327 | ENABLE_STRICT_OBJC_MSGSEND = YES; 328 | GCC_C_LANGUAGE_STANDARD = gnu99; 329 | GCC_ENABLE_OBJC_EXCEPTIONS = YES; 330 | GCC_NO_COMMON_BLOCKS = YES; 331 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 332 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 333 | GCC_WARN_UNDECLARED_SELECTOR = YES; 334 | GCC_WARN_UNINITIALIZED_AUTOS = YES; 335 | GCC_WARN_UNUSED_FUNCTION = YES; 336 | GCC_WARN_UNUSED_VARIABLE = YES; 337 | MACOSX_DEPLOYMENT_TARGET = 10.8; 338 | SDKROOT = macosx; 339 | }; 340 | name = Release; 341 | }; 342 | 0D069263179BB87E00D51C41 /* Debug */ = { 343 | isa = XCBuildConfiguration; 344 | buildSettings = { 345 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 346 | COMBINE_HIDPI_IMAGES = YES; 347 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 348 | GCC_PREFIX_HEADER = "MyMusicPlayer/MyMusicPlayer-Prefix.pch"; 349 | INFOPLIST_FILE = "MyMusicPlayer/MyMusicPlayer-Info.plist"; 350 | PRODUCT_BUNDLE_IDENTIFIER = "com.${PRODUCT_NAME:rfc1034identifier}"; 351 | PRODUCT_NAME = "$(TARGET_NAME)"; 352 | WRAPPER_EXTENSION = app; 353 | }; 354 | name = Debug; 355 | }; 356 | 0D069264179BB87E00D51C41 /* Release */ = { 357 | isa = XCBuildConfiguration; 358 | buildSettings = { 359 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 360 | COMBINE_HIDPI_IMAGES = YES; 361 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 362 | GCC_PREFIX_HEADER = "MyMusicPlayer/MyMusicPlayer-Prefix.pch"; 363 | INFOPLIST_FILE = "MyMusicPlayer/MyMusicPlayer-Info.plist"; 364 | PRODUCT_BUNDLE_IDENTIFIER = "com.${PRODUCT_NAME:rfc1034identifier}"; 365 | PRODUCT_NAME = "$(TARGET_NAME)"; 366 | WRAPPER_EXTENSION = app; 367 | }; 368 | name = Release; 369 | }; 370 | /* End XCBuildConfiguration section */ 371 | 372 | /* Begin XCConfigurationList section */ 373 | 0D069240179BB87E00D51C41 /* Build configuration list for PBXProject "MyMusicPlayer" */ = { 374 | isa = XCConfigurationList; 375 | buildConfigurations = ( 376 | 0D069260179BB87E00D51C41 /* Debug */, 377 | 0D069261179BB87E00D51C41 /* Release */, 378 | ); 379 | defaultConfigurationIsVisible = 0; 380 | defaultConfigurationName = Release; 381 | }; 382 | 0D069262179BB87E00D51C41 /* Build configuration list for PBXNativeTarget "MyMusicPlayer" */ = { 383 | isa = XCConfigurationList; 384 | buildConfigurations = ( 385 | 0D069263179BB87E00D51C41 /* Debug */, 386 | 0D069264179BB87E00D51C41 /* Release */, 387 | ); 388 | defaultConfigurationIsVisible = 0; 389 | defaultConfigurationName = Release; 390 | }; 391 | /* End XCConfigurationList section */ 392 | }; 393 | rootObject = 0D06923D179BB87E00D51C41 /* Project object */; 394 | } 395 | -------------------------------------------------------------------------------- /MyMusicPlayer.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /MyMusicPlayer.xcodeproj/project.xcworkspace/xcuserdata/isaced.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/isaced/MyMacMusicPlayer/3f3b07cbf4c81e1144047ca0c619f46db016e820/MyMusicPlayer.xcodeproj/project.xcworkspace/xcuserdata/isaced.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /MyMusicPlayer.xcodeproj/xcshareddata/xcschemes/MyMusicPlayer.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 39 | 40 | 41 | 42 | 43 | 44 | 54 | 56 | 62 | 63 | 64 | 65 | 66 | 67 | 73 | 75 | 81 | 82 | 83 | 84 | 86 | 87 | 90 | 91 | 92 | -------------------------------------------------------------------------------- /MyMusicPlayer.xcodeproj/xcuserdata/isaced.xcuserdatad/xcdebugger/Breakpoints.xcbkptlist: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /MyMusicPlayer.xcodeproj/xcuserdata/isaced.xcuserdatad/xcschemes/MyMusicPlayer.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 39 | 40 | 41 | 42 | 51 | 52 | 58 | 59 | 60 | 61 | 62 | 63 | 69 | 70 | 76 | 77 | 78 | 79 | 81 | 82 | 85 | 86 | 87 | -------------------------------------------------------------------------------- /MyMusicPlayer.xcodeproj/xcuserdata/isaced.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | MyMusicPlayer.xcscheme 8 | 9 | orderHint 10 | 0 11 | 12 | 13 | SuppressBuildableAutocreation 14 | 15 | 0D069244179BB87E00D51C41 16 | 17 | primary 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /MyMusicPlayer/AppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.h 3 | // MyMusicPlayer 4 | // 5 | // Created by isaced on 13-7-21. 6 | // Copyright (c) 2013年 isaced. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface AppDelegate : NSObject 12 | 13 | @property (assign) IBOutlet NSWindow *window; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /MyMusicPlayer/AppDelegate.m: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.m 3 | // MyMusicPlayer 4 | // 5 | // Created by isaced on 13-7-21. 6 | // Copyright (c) 2013年 isaced. All rights reserved. 7 | // 8 | 9 | #import "AppDelegate.h" 10 | #import "MainWindowController.h" 11 | 12 | @interface AppDelegate() 13 | 14 | @property (nonatomic,strong) IBOutlet MainWindowController *mainWindowController; 15 | 16 | @end 17 | 18 | @implementation AppDelegate 19 | 20 | - (void)applicationDidFinishLaunching:(NSNotification *)aNotification 21 | { 22 | self.mainWindowController = [[MainWindowController alloc] initWithWindowNibName:@"MainWindowController"]; 23 | [self setWindow:self.mainWindowController.window]; 24 | } 25 | 26 | @end 27 | -------------------------------------------------------------------------------- /MyMusicPlayer/MainWindowController.h: -------------------------------------------------------------------------------- 1 | // 2 | // MainWindowController.h 3 | // MyMusicPlayer 4 | // 5 | // Created by isaced on 13-7-21. 6 | // Copyright (c) 2013年 isaced. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface MainWindowController : NSWindowController 12 | 13 | - (IBAction)previousAction:(id)sender; 14 | - (IBAction)nextAction:(id)sender; 15 | - (IBAction)playAction:(id)sender; 16 | 17 | @property (weak) IBOutlet NSTextField *TitleTextField; 18 | 19 | @end 20 | -------------------------------------------------------------------------------- /MyMusicPlayer/MainWindowController.m: -------------------------------------------------------------------------------- 1 | // 2 | // MainWindowController.m 3 | // MyMusicPlayer 4 | // 5 | // Created by isaced on 13-7-21. 6 | // Copyright (c) 2013年 isaced. All rights reserved. 7 | // 8 | 9 | #import "MainWindowController.h" 10 | #import 11 | #import 12 | #import "Music.h" 13 | 14 | @interface MainWindowController () 15 | 16 | @property (weak) IBOutlet NSImageView *backgroundImageView; 17 | @property (weak) IBOutlet NSSlider *progressSlider; 18 | @property (weak) IBOutlet NSButton *playButton; 19 | @property (weak) IBOutlet NSImageView *dragImageView; 20 | 21 | @property (strong) NSTimer *playingTimer; 22 | @property (strong) AVAudioPlayer* player; 23 | @property (strong) NSMutableArray *musicList; 24 | 25 | @end 26 | 27 | @implementation MainWindowController 28 | 29 | - (id)initWithWindow:(NSWindow *)window 30 | { 31 | self = [super initWithWindow:window]; 32 | if (self) { 33 | // Initialization code here. 34 | } 35 | 36 | return self; 37 | } 38 | 39 | - (void)windowDidLoad 40 | { 41 | [super windowDidLoad]; 42 | 43 | // Title Bar 44 | self.window.titlebarAppearsTransparent = YES; 45 | self.window.titleVisibility = NSWindowTitleHidden; 46 | self.window.styleMask |= NSFullSizeContentViewWindowMask; 47 | 48 | // Window Style 49 | NSColor *windowBackgroundColor = [NSColor colorWithRed:30/255.0 green:30/255.0 blue:30/255.0 alpha:1.0]; 50 | [self.window setBackgroundColor: windowBackgroundColor]; 51 | self.window.movableByWindowBackground = YES; 52 | 53 | // Drag and drop 54 | [self.window registerForDraggedTypes:@[NSFilenamesPboardType]]; 55 | [self.backgroundImageView unregisterDraggedTypes]; 56 | 57 | // init Array 58 | self.musicList = [[NSMutableArray alloc] init]; 59 | 60 | // default volume 61 | [self.player setVolume: 0.5]; 62 | 63 | self.playingTimer = [NSTimer scheduledTimerWithTimeInterval:1 target:self selector:@selector(playingTimerHandle:) userInfo:nil repeats:YES]; 64 | 65 | // KVO AVAudioPlayer playing status 66 | [self.player addObserver:self forKeyPath:@"playing" options:NSKeyValueObservingOptionNew|NSKeyValueObservingOptionOld context:nil]; 67 | } 68 | 69 | - (Music *)loadMusicWithFileURL:(NSURL *)url { 70 | [self.player stop]; 71 | 72 | // 从文件读取音频信息 73 | Music *music = [[Music alloc] initWithFile:url]; 74 | 75 | // 将音乐加载到 AVAudioPlayer 76 | self.player = [[AVAudioPlayer alloc] initWithContentsOfURL:music.fileURL error:nil]; 77 | 78 | return music; 79 | } 80 | 81 | - (void)playingTimerHandle:(NSTimer *)timer { 82 | self.progressSlider.doubleValue = self.player.currentTime / self.player.duration; 83 | } 84 | 85 | // 上一首 86 | - (IBAction)previousAction:(id)sender { 87 | 88 | } 89 | 90 | // 下一首 91 | - (IBAction)nextAction:(id)sender { 92 | 93 | } 94 | 95 | // 播放 & 暂停 96 | - (IBAction)playAction:(id)sender { 97 | if (self.player.url) { 98 | if (self.player.playing) { 99 | [self.player pause]; 100 | }else{ 101 | [self.player play]; 102 | } 103 | }else{ 104 | [self openMusicWithDialog]; 105 | } 106 | 107 | [self.playButton setImage:[NSImage imageNamed:self.player.playing ? @"pause" : @"play"]]; 108 | } 109 | - (IBAction)progressSliderAction:(NSSlider *)sender { 110 | NSTimeInterval time = self.progressSlider.doubleValue * self.player.duration; 111 | self.player.currentTime = time; 112 | } 113 | 114 | 115 | - (void)openMusicWithDialog { 116 | 117 | //初始化 NSOpenPanel 118 | NSOpenPanel* openDlg = [NSOpenPanel openPanel]; 119 | 120 | //只能选择文件 121 | [openDlg setCanChooseFiles:YES]; 122 | [openDlg setCanChooseDirectories:NO]; 123 | 124 | //允许多选 125 | [openDlg setAllowsMultipleSelection:NO]; 126 | 127 | NSArray *urlArray; 128 | 129 | //打开 130 | if ([openDlg runModal] == NSOKButton) { 131 | urlArray = [openDlg URLs]; 132 | } 133 | 134 | //分析 135 | for (NSURL *url in urlArray) { 136 | [self loadMusicWithFileURL:url]; 137 | [self.player play]; 138 | return; 139 | } 140 | } 141 | 142 | //音量调节 - Slider 143 | - (IBAction)soundVolumeSliderChangeAction:(id)sender { 144 | NSSlider *slider = (NSSlider *)sender; 145 | [self.player setVolume:slider.doubleValue]; 146 | } 147 | 148 | //Tableview 149 | - (NSView *)tableView:(NSTableView *)tableView viewForTableColumn:(NSTableColumn *)tableColumn row:(NSInteger)row { 150 | 151 | NSTableCellView *cellView = [tableView makeViewWithIdentifier:tableColumn.identifier owner:self]; 152 | 153 | Music *music = self.musicList[row]; 154 | 155 | if( [tableColumn.identifier isEqualToString:@"number"] ){ 156 | cellView.textField.stringValue = [NSString stringWithFormat:@"%ld",row]; 157 | }else if ([tableColumn.identifier isEqualToString:@"name"]){ 158 | cellView.textField.stringValue = music.title; 159 | }else if ([tableColumn.identifier isEqualToString:@"time"]){ 160 | cellView.textField.stringValue = [NSString stringWithFormat:@"%d:%.2d",(int)music.duration / 60, (int)music.duration % 60]; 161 | } 162 | 163 | return cellView; 164 | } 165 | 166 | 167 | - (NSInteger)numberOfRowsInTableView:(NSTableView *)tableView { 168 | return [self.musicList count]; 169 | } 170 | 171 | #pragma mark 172 | 173 | -(NSDragOperation)draggingEntered:(id)sender{ 174 | self.dragImageView.hidden = NO; 175 | return NSDragOperationGeneric; 176 | } 177 | 178 | -(void)draggingExited:(id)sender{ 179 | self.dragImageView.hidden = YES; 180 | } 181 | 182 | -(BOOL)prepareForDragOperation:(id)sender{ 183 | BOOL canAccept = NO; 184 | NSPasteboard *pasteBoard = [sender draggingPasteboard]; 185 | if ([pasteBoard canReadObjectForClasses:@[[NSURL class]] options:nil]) { 186 | NSArray *urls = [pasteBoard readObjectsForClasses:@[[NSURL class]] options:nil]; 187 | for (NSURL *url in urls) { 188 | if ([[url pathExtension] isEqualToString:@"mp3"]) { // type check 189 | canAccept = YES; 190 | break; 191 | } 192 | } 193 | } 194 | 195 | self.dragImageView.hidden = YES; 196 | return canAccept; 197 | } 198 | 199 | -(BOOL)performDragOperation:(id)sender{ 200 | NSPasteboard *pasteBoard = [sender draggingPasteboard]; 201 | NSArray *urls = [pasteBoard readObjectsForClasses:@[[NSURL class]] options:nil]; 202 | NSLog(@"Drag and drop : %@",urls); 203 | 204 | NSURL *url = [urls firstObject]; 205 | if ([[url pathExtension] isEqualToString:@"mp3"]) { 206 | Music *music = [self loadMusicWithFileURL:url]; 207 | self.TitleTextField.stringValue = [NSString stringWithFormat:@"%@ - %@",music.title,music.artist]; 208 | [self.player play]; 209 | } 210 | 211 | return YES; 212 | } 213 | 214 | @end 215 | -------------------------------------------------------------------------------- /MyMusicPlayer/MainWindowController.xib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 50 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 162 | -------------------------------------------------------------------------------- /MyMusicPlayer/Models/Music.h: -------------------------------------------------------------------------------- 1 | // 2 | // Music.h 3 | // MyMusicPlayer 4 | // 5 | // Created by isaced on 2017/3/12. 6 | // Copyright © 2017年 isaced. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface Music : NSObject 12 | 13 | @property (nonatomic, copy) NSString *title; 14 | @property (nonatomic, copy) NSString *artist; 15 | @property (nonatomic, assign) NSTimeInterval duration; 16 | @property (nonatomic, strong) NSURL *fileURL; 17 | 18 | - (instancetype)initWithFile:(NSURL *)url; 19 | 20 | - (NSData *)readData; 21 | 22 | @end 23 | -------------------------------------------------------------------------------- /MyMusicPlayer/Models/Music.m: -------------------------------------------------------------------------------- 1 | // 2 | // Music.m 3 | // MyMusicPlayer 4 | // 5 | // Created by isaced on 2017/3/12. 6 | // Copyright © 2017年 isaced. All rights reserved. 7 | // 8 | 9 | #import "Music.h" 10 | #import "MusicTools.h" 11 | 12 | @implementation Music 13 | 14 | -(instancetype)initWithFile:(NSURL *)url { 15 | if (self=[super init]) { 16 | 17 | self.fileURL = url; 18 | 19 | NSDictionary *ID3Dic = [MusicTools readMusicInfoForFile:url]; 20 | 21 | self.title = ID3Dic[@"title"]; 22 | self.artist = ID3Dic[@"artist"]; 23 | self.duration = [ID3Dic[@"approximate duration in seconds"] doubleValue]; 24 | } 25 | return self; 26 | } 27 | 28 | - (NSData *)readData { 29 | return [NSData dataWithContentsOfURL:self.fileURL]; 30 | } 31 | 32 | @end 33 | -------------------------------------------------------------------------------- /MyMusicPlayer/MusicTools.h: -------------------------------------------------------------------------------- 1 | // 2 | // MusicTools.h 3 | // MyMusicPlayer 4 | // 5 | // Created by isaced on 13-7-21. 6 | // Copyright (c) 2013年 isaced. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface MusicTools : NSObject 12 | 13 | //读取文件信息(ID3) 14 | + (NSDictionary *)readMusicInfoForFile:(NSURL *)fileName; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /MyMusicPlayer/MusicTools.m: -------------------------------------------------------------------------------- 1 | // 2 | // MusicTools.m 3 | // MyMusicPlayer 4 | // 5 | // Created by isaced on 13-7-21. 6 | // Copyright (c) 2013年 isaced. All rights reserved. 7 | // 8 | 9 | #import "MusicTools.h" 10 | #import 11 | 12 | @implementation MusicTools 13 | 14 | +(NSDictionary *)readMusicInfoForFile:(NSURL *)fileName{ 15 | 16 | NSDictionary *resultDic; 17 | 18 | //---- 19 | 20 | // NSURL *audioURL = [NSURL fileURLWithPath:fileName]; 21 | AudioFileID audioFile; 22 | OSStatus theErr = noErr; 23 | theErr = AudioFileOpenURL((__bridge CFURLRef)fileName, 24 | kAudioFileReadPermission, 25 | 0, 26 | &audioFile); 27 | assert (theErr == noErr); 28 | UInt32 dictionarySize = 0; 29 | theErr = AudioFileGetPropertyInfo (audioFile, 30 | kAudioFilePropertyInfoDictionary, 31 | &dictionarySize, 32 | 0); 33 | assert (theErr == noErr); 34 | CFDictionaryRef dictionary; 35 | theErr = AudioFileGetProperty (audioFile, 36 | kAudioFilePropertyInfoDictionary, 37 | &dictionarySize, 38 | &dictionary); 39 | assert (theErr == noErr); 40 | resultDic = (__bridge NSDictionary *)(dictionary); //Convert 41 | CFRelease (dictionary); 42 | theErr = AudioFileClose (audioFile); 43 | assert (theErr == noErr); 44 | 45 | // NSLog (@"dictionary: %@", resultDic); 46 | 47 | return resultDic; 48 | } 49 | 50 | @end 51 | -------------------------------------------------------------------------------- /MyMusicPlayer/MyMusicPlayer-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | APPL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | LSMinimumSystemVersion 24 | ${MACOSX_DEPLOYMENT_TARGET} 25 | NSHumanReadableCopyright 26 | Copyright © 2013年 isaced. All rights reserved. 27 | NSMainNibFile 28 | MainMenu 29 | NSPrincipalClass 30 | NSApplication 31 | 32 | 33 | -------------------------------------------------------------------------------- /MyMusicPlayer/MyMusicPlayer-Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header for all source files of the 'MyMusicPlayer' target in the 'MyMusicPlayer' project 3 | // 4 | 5 | #ifdef __OBJC__ 6 | #import 7 | #endif 8 | -------------------------------------------------------------------------------- /MyMusicPlayer/Resources/Asssets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "mac", 5 | "size" : "16x16", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "mac", 10 | "size" : "16x16", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "mac", 15 | "size" : "32x32", 16 | "scale" : "1x" 17 | }, 18 | { 19 | "idiom" : "mac", 20 | "size" : "32x32", 21 | "scale" : "2x" 22 | }, 23 | { 24 | "idiom" : "mac", 25 | "size" : "128x128", 26 | "scale" : "1x" 27 | }, 28 | { 29 | "idiom" : "mac", 30 | "size" : "128x128", 31 | "scale" : "2x" 32 | }, 33 | { 34 | "idiom" : "mac", 35 | "size" : "256x256", 36 | "scale" : "1x" 37 | }, 38 | { 39 | "idiom" : "mac", 40 | "size" : "256x256", 41 | "scale" : "2x" 42 | }, 43 | { 44 | "idiom" : "mac", 45 | "size" : "512x512", 46 | "scale" : "1x" 47 | }, 48 | { 49 | "size" : "512x512", 50 | "idiom" : "mac", 51 | "filename" : "icon512@2x.png", 52 | "scale" : "2x" 53 | } 54 | ], 55 | "info" : { 56 | "version" : 1, 57 | "author" : "xcode" 58 | } 59 | } -------------------------------------------------------------------------------- /MyMusicPlayer/Resources/Asssets.xcassets/AppIcon.appiconset/icon512@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/isaced/MyMacMusicPlayer/3f3b07cbf4c81e1144047ca0c619f46db016e820/MyMusicPlayer/Resources/Asssets.xcassets/AppIcon.appiconset/icon512@2x.png -------------------------------------------------------------------------------- /MyMusicPlayer/Resources/Asssets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /MyMusicPlayer/Resources/Asssets.xcassets/bg.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "bg.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /MyMusicPlayer/Resources/Asssets.xcassets/bg.imageset/bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/isaced/MyMacMusicPlayer/3f3b07cbf4c81e1144047ca0c619f46db016e820/MyMusicPlayer/Resources/Asssets.xcassets/bg.imageset/bg.png -------------------------------------------------------------------------------- /MyMusicPlayer/Resources/Asssets.xcassets/drag.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "drag@2x.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /MyMusicPlayer/Resources/Asssets.xcassets/drag.imageset/drag@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/isaced/MyMacMusicPlayer/3f3b07cbf4c81e1144047ca0c619f46db016e820/MyMusicPlayer/Resources/Asssets.xcassets/drag.imageset/drag@2x.png -------------------------------------------------------------------------------- /MyMusicPlayer/Resources/Asssets.xcassets/next.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "next@2x.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /MyMusicPlayer/Resources/Asssets.xcassets/next.imageset/next@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/isaced/MyMacMusicPlayer/3f3b07cbf4c81e1144047ca0c619f46db016e820/MyMusicPlayer/Resources/Asssets.xcassets/next.imageset/next@2x.png -------------------------------------------------------------------------------- /MyMusicPlayer/Resources/Asssets.xcassets/pause.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "pause@2x.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /MyMusicPlayer/Resources/Asssets.xcassets/pause.imageset/pause@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/isaced/MyMacMusicPlayer/3f3b07cbf4c81e1144047ca0c619f46db016e820/MyMusicPlayer/Resources/Asssets.xcassets/pause.imageset/pause@2x.png -------------------------------------------------------------------------------- /MyMusicPlayer/Resources/Asssets.xcassets/play.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "play@2x.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /MyMusicPlayer/Resources/Asssets.xcassets/play.imageset/play@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/isaced/MyMacMusicPlayer/3f3b07cbf4c81e1144047ca0c619f46db016e820/MyMusicPlayer/Resources/Asssets.xcassets/play.imageset/play@2x.png -------------------------------------------------------------------------------- /MyMusicPlayer/Resources/Asssets.xcassets/prev.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "prev@2x.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /MyMusicPlayer/Resources/Asssets.xcassets/prev.imageset/prev@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/isaced/MyMacMusicPlayer/3f3b07cbf4c81e1144047ca0c619f46db016e820/MyMusicPlayer/Resources/Asssets.xcassets/prev.imageset/prev@2x.png -------------------------------------------------------------------------------- /MyMusicPlayer/Views/ProgressSliderCell.h: -------------------------------------------------------------------------------- 1 | // 2 | // ProgressSliderCell.h 3 | // MyMusicPlayer 4 | // 5 | // Created by isaced on 2017/2/16. 6 | // Copyright © 2017年 isaced. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface ProgressSliderCell : NSSliderCell 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /MyMusicPlayer/Views/ProgressSliderCell.m: -------------------------------------------------------------------------------- 1 | // 2 | // ProgressSlider.m 3 | // MyMusicPlayer 4 | // 5 | // Created by feeling on 2017/2/16. 6 | // Copyright © 2017年 isaced. All rights reserved. 7 | // 8 | 9 | #import "ProgressSliderCell.h" 10 | 11 | @implementation ProgressSliderCell 12 | 13 | 14 | - (void)drawBarInside:(NSRect)rect flipped:(BOOL)flipped { 15 | 16 | // [super drawBarInside:rect flipped:flipped]; 17 | 18 | rect.size.height = 5.0; 19 | 20 | // Bar radius 21 | CGFloat barRadius = 2.5; 22 | 23 | // Knob position depending on control min/max value and current control value. 24 | CGFloat value = ([self doubleValue] - [self minValue]) / ([self maxValue] - [self minValue]); 25 | 26 | // Final Left Part Width 27 | CGFloat finalWidth = value * ([[self controlView] frame].size.width - 8); 28 | 29 | // Left Part Rect 30 | NSRect leftRect = rect; 31 | leftRect.size.width = finalWidth; 32 | 33 | // NSLog(@"- Current Rect:%@ \n- Value:%f \n- Final Width:%f", NSStringFromRect(rect), value, finalWidth); 34 | 35 | // Draw Left Part 36 | NSBezierPath* bg = [NSBezierPath bezierPathWithRoundedRect: rect xRadius: barRadius yRadius: barRadius]; 37 | [[NSColor colorWithRed:75/255.0 green:76/255.0 blue:76/255.0 alpha:1.0] setFill]; 38 | [bg fill]; 39 | 40 | // Draw Right Part 41 | NSBezierPath* active = [NSBezierPath bezierPathWithRoundedRect: leftRect xRadius: barRadius yRadius: barRadius]; 42 | [[NSColor colorWithRed:60/255.0 green:137/255.0 blue:139/255.0 alpha:1.0] setFill]; 43 | [active fill]; 44 | 45 | 46 | } 47 | @end 48 | -------------------------------------------------------------------------------- /MyMusicPlayer/en.lproj/Credits.rtf: -------------------------------------------------------------------------------- 1 | {\rtf0\ansi{\fonttbl\f0\fswiss Helvetica;} 2 | {\colortbl;\red255\green255\blue255;} 3 | \paperw9840\paperh8400 4 | \pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural 5 | 6 | \f0\b\fs24 \cf0 Engineering: 7 | \b0 \ 8 | Some people\ 9 | \ 10 | 11 | \b Human Interface Design: 12 | \b0 \ 13 | Some other people\ 14 | \ 15 | 16 | \b Testing: 17 | \b0 \ 18 | Hopefully not nobody\ 19 | \ 20 | 21 | \b Documentation: 22 | \b0 \ 23 | Whoever\ 24 | \ 25 | 26 | \b With special thanks to: 27 | \b0 \ 28 | Mom\ 29 | } 30 | -------------------------------------------------------------------------------- /MyMusicPlayer/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /MyMusicPlayer/en.lproj/MainMenu.xib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 1080 5 | 12C54 6 | 3084 7 | 1187.34 8 | 625.00 9 | 10 | com.apple.InterfaceBuilder.CocoaPlugin 11 | 3084 12 | 13 | 14 | NSCustomObject 15 | NSMenu 16 | NSMenuItem 17 | 18 | 19 | com.apple.InterfaceBuilder.CocoaPlugin 20 | 21 | 22 | PluginDependencyRecalculationVersion 23 | 24 | 25 | 26 | 27 | NSApplication 28 | 29 | 30 | FirstResponder 31 | 32 | 33 | NSApplication 34 | 35 | 36 | AMainMenu 37 | 38 | 39 | 40 | MyMusicPlayer 41 | 42 | 1048576 43 | 2147483647 44 | 45 | NSImage 46 | NSMenuCheckmark 47 | 48 | 49 | NSImage 50 | NSMenuMixedState 51 | 52 | submenuAction: 53 | 54 | MyMusicPlayer 55 | 56 | 57 | 58 | About MyMusicPlayer 59 | 60 | 2147483647 61 | 62 | 63 | 64 | 65 | 66 | YES 67 | YES 68 | 69 | 70 | 1048576 71 | 2147483647 72 | 73 | 74 | 75 | 76 | 77 | Preferences… 78 | , 79 | 1048576 80 | 2147483647 81 | 82 | 83 | 84 | 85 | 86 | YES 87 | YES 88 | 89 | 90 | 1048576 91 | 2147483647 92 | 93 | 94 | 95 | 96 | 97 | Services 98 | 99 | 1048576 100 | 2147483647 101 | 102 | 103 | submenuAction: 104 | 105 | Services 106 | 107 | _NSServicesMenu 108 | 109 | 110 | 111 | 112 | YES 113 | YES 114 | 115 | 116 | 1048576 117 | 2147483647 118 | 119 | 120 | 121 | 122 | 123 | Hide MyMusicPlayer 124 | h 125 | 1048576 126 | 2147483647 127 | 128 | 129 | 130 | 131 | 132 | Hide Others 133 | h 134 | 1572864 135 | 2147483647 136 | 137 | 138 | 139 | 140 | 141 | Show All 142 | 143 | 1048576 144 | 2147483647 145 | 146 | 147 | 148 | 149 | 150 | YES 151 | YES 152 | 153 | 154 | 1048576 155 | 2147483647 156 | 157 | 158 | 159 | 160 | 161 | Quit MyMusicPlayer 162 | q 163 | 1048576 164 | 2147483647 165 | 166 | 167 | 168 | 169 | _NSAppleMenu 170 | 171 | 172 | 173 | 174 | File 175 | 176 | 1048576 177 | 2147483647 178 | 179 | 180 | submenuAction: 181 | 182 | File 183 | 184 | 185 | 186 | New 187 | n 188 | 1048576 189 | 2147483647 190 | 191 | 192 | 193 | 194 | 195 | Open… 196 | o 197 | 1048576 198 | 2147483647 199 | 200 | 201 | 202 | 203 | 204 | Open Recent 205 | 206 | 1048576 207 | 2147483647 208 | 209 | 210 | submenuAction: 211 | 212 | Open Recent 213 | 214 | 215 | 216 | Clear Menu 217 | 218 | 1048576 219 | 2147483647 220 | 221 | 222 | 223 | 224 | _NSRecentDocumentsMenu 225 | 226 | 227 | 228 | 229 | YES 230 | YES 231 | 232 | 233 | 1048576 234 | 2147483647 235 | 236 | 237 | 238 | 239 | 240 | Close 241 | w 242 | 1048576 243 | 2147483647 244 | 245 | 246 | 247 | 248 | 249 | Save… 250 | s 251 | 1048576 252 | 2147483647 253 | 254 | 255 | 256 | 257 | 258 | Revert to Saved 259 | 260 | 2147483647 261 | 262 | 263 | 264 | 265 | 266 | YES 267 | YES 268 | 269 | 270 | 1048576 271 | 2147483647 272 | 273 | 274 | 275 | 276 | 277 | Page Setup... 278 | P 279 | 1179648 280 | 2147483647 281 | 282 | 283 | 284 | 285 | 286 | 287 | Print… 288 | p 289 | 1048576 290 | 2147483647 291 | 292 | 293 | 294 | 295 | 296 | 297 | 298 | 299 | Edit 300 | 301 | 1048576 302 | 2147483647 303 | 304 | 305 | submenuAction: 306 | 307 | Edit 308 | 309 | 310 | 311 | Undo 312 | z 313 | 1048576 314 | 2147483647 315 | 316 | 317 | 318 | 319 | 320 | Redo 321 | Z 322 | 1179648 323 | 2147483647 324 | 325 | 326 | 327 | 328 | 329 | YES 330 | YES 331 | 332 | 333 | 1048576 334 | 2147483647 335 | 336 | 337 | 338 | 339 | 340 | Cut 341 | x 342 | 1048576 343 | 2147483647 344 | 345 | 346 | 347 | 348 | 349 | Copy 350 | c 351 | 1048576 352 | 2147483647 353 | 354 | 355 | 356 | 357 | 358 | Paste 359 | v 360 | 1048576 361 | 2147483647 362 | 363 | 364 | 365 | 366 | 367 | Paste and Match Style 368 | V 369 | 1572864 370 | 2147483647 371 | 372 | 373 | 374 | 375 | 376 | Delete 377 | 378 | 1048576 379 | 2147483647 380 | 381 | 382 | 383 | 384 | 385 | Select All 386 | a 387 | 1048576 388 | 2147483647 389 | 390 | 391 | 392 | 393 | 394 | YES 395 | YES 396 | 397 | 398 | 1048576 399 | 2147483647 400 | 401 | 402 | 403 | 404 | 405 | Find 406 | 407 | 1048576 408 | 2147483647 409 | 410 | 411 | submenuAction: 412 | 413 | Find 414 | 415 | 416 | 417 | Find… 418 | f 419 | 1048576 420 | 2147483647 421 | 422 | 423 | 1 424 | 425 | 426 | 427 | Find and Replace… 428 | f 429 | 1572864 430 | 2147483647 431 | 432 | 433 | 12 434 | 435 | 436 | 437 | Find Next 438 | g 439 | 1048576 440 | 2147483647 441 | 442 | 443 | 2 444 | 445 | 446 | 447 | Find Previous 448 | G 449 | 1179648 450 | 2147483647 451 | 452 | 453 | 3 454 | 455 | 456 | 457 | Use Selection for Find 458 | e 459 | 1048576 460 | 2147483647 461 | 462 | 463 | 7 464 | 465 | 466 | 467 | Jump to Selection 468 | j 469 | 1048576 470 | 2147483647 471 | 472 | 473 | 474 | 475 | 476 | 477 | 478 | 479 | Spelling and Grammar 480 | 481 | 1048576 482 | 2147483647 483 | 484 | 485 | submenuAction: 486 | 487 | Spelling and Grammar 488 | 489 | 490 | 491 | Show Spelling and Grammar 492 | : 493 | 1048576 494 | 2147483647 495 | 496 | 497 | 498 | 499 | 500 | Check Document Now 501 | ; 502 | 1048576 503 | 2147483647 504 | 505 | 506 | 507 | 508 | 509 | YES 510 | YES 511 | 512 | 513 | 2147483647 514 | 515 | 516 | 517 | 518 | 519 | Check Spelling While Typing 520 | 521 | 1048576 522 | 2147483647 523 | 524 | 525 | 526 | 527 | 528 | Check Grammar With Spelling 529 | 530 | 1048576 531 | 2147483647 532 | 533 | 534 | 535 | 536 | 537 | Correct Spelling Automatically 538 | 539 | 2147483647 540 | 541 | 542 | 543 | 544 | 545 | 546 | 547 | 548 | Substitutions 549 | 550 | 1048576 551 | 2147483647 552 | 553 | 554 | submenuAction: 555 | 556 | Substitutions 557 | 558 | 559 | 560 | Show Substitutions 561 | 562 | 2147483647 563 | 564 | 565 | 566 | 567 | 568 | YES 569 | YES 570 | 571 | 572 | 2147483647 573 | 574 | 575 | 576 | 577 | 578 | Smart Copy/Paste 579 | f 580 | 1048576 581 | 2147483647 582 | 583 | 584 | 1 585 | 586 | 587 | 588 | Smart Quotes 589 | g 590 | 1048576 591 | 2147483647 592 | 593 | 594 | 2 595 | 596 | 597 | 598 | Smart Dashes 599 | 600 | 2147483647 601 | 602 | 603 | 604 | 605 | 606 | Smart Links 607 | G 608 | 1179648 609 | 2147483647 610 | 611 | 612 | 3 613 | 614 | 615 | 616 | Text Replacement 617 | 618 | 2147483647 619 | 620 | 621 | 622 | 623 | 624 | 625 | 626 | 627 | Transformations 628 | 629 | 2147483647 630 | 631 | 632 | submenuAction: 633 | 634 | Transformations 635 | 636 | 637 | 638 | Make Upper Case 639 | 640 | 2147483647 641 | 642 | 643 | 644 | 645 | 646 | Make Lower Case 647 | 648 | 2147483647 649 | 650 | 651 | 652 | 653 | 654 | Capitalize 655 | 656 | 2147483647 657 | 658 | 659 | 660 | 661 | 662 | 663 | 664 | 665 | Speech 666 | 667 | 1048576 668 | 2147483647 669 | 670 | 671 | submenuAction: 672 | 673 | Speech 674 | 675 | 676 | 677 | Start Speaking 678 | 679 | 1048576 680 | 2147483647 681 | 682 | 683 | 684 | 685 | 686 | Stop Speaking 687 | 688 | 1048576 689 | 2147483647 690 | 691 | 692 | 693 | 694 | 695 | 696 | 697 | 698 | 699 | 700 | 701 | Format 702 | 703 | 2147483647 704 | 705 | 706 | submenuAction: 707 | 708 | Format 709 | 710 | 711 | 712 | Font 713 | 714 | 2147483647 715 | 716 | 717 | submenuAction: 718 | 719 | Font 720 | 721 | 722 | 723 | Show Fonts 724 | t 725 | 1048576 726 | 2147483647 727 | 728 | 729 | 730 | 731 | 732 | Bold 733 | b 734 | 1048576 735 | 2147483647 736 | 737 | 738 | 2 739 | 740 | 741 | 742 | Italic 743 | i 744 | 1048576 745 | 2147483647 746 | 747 | 748 | 1 749 | 750 | 751 | 752 | Underline 753 | u 754 | 1048576 755 | 2147483647 756 | 757 | 758 | 759 | 760 | 761 | YES 762 | YES 763 | 764 | 765 | 2147483647 766 | 767 | 768 | 769 | 770 | 771 | Bigger 772 | + 773 | 1048576 774 | 2147483647 775 | 776 | 777 | 3 778 | 779 | 780 | 781 | Smaller 782 | - 783 | 1048576 784 | 2147483647 785 | 786 | 787 | 4 788 | 789 | 790 | 791 | YES 792 | YES 793 | 794 | 795 | 2147483647 796 | 797 | 798 | 799 | 800 | 801 | Kern 802 | 803 | 2147483647 804 | 805 | 806 | submenuAction: 807 | 808 | Kern 809 | 810 | 811 | 812 | Use Default 813 | 814 | 2147483647 815 | 816 | 817 | 818 | 819 | 820 | Use None 821 | 822 | 2147483647 823 | 824 | 825 | 826 | 827 | 828 | Tighten 829 | 830 | 2147483647 831 | 832 | 833 | 834 | 835 | 836 | Loosen 837 | 838 | 2147483647 839 | 840 | 841 | 842 | 843 | 844 | 845 | 846 | 847 | Ligatures 848 | 849 | 2147483647 850 | 851 | 852 | submenuAction: 853 | 854 | Ligatures 855 | 856 | 857 | 858 | Use Default 859 | 860 | 2147483647 861 | 862 | 863 | 864 | 865 | 866 | Use None 867 | 868 | 2147483647 869 | 870 | 871 | 872 | 873 | 874 | Use All 875 | 876 | 2147483647 877 | 878 | 879 | 880 | 881 | 882 | 883 | 884 | 885 | Baseline 886 | 887 | 2147483647 888 | 889 | 890 | submenuAction: 891 | 892 | Baseline 893 | 894 | 895 | 896 | Use Default 897 | 898 | 2147483647 899 | 900 | 901 | 902 | 903 | 904 | Superscript 905 | 906 | 2147483647 907 | 908 | 909 | 910 | 911 | 912 | Subscript 913 | 914 | 2147483647 915 | 916 | 917 | 918 | 919 | 920 | Raise 921 | 922 | 2147483647 923 | 924 | 925 | 926 | 927 | 928 | Lower 929 | 930 | 2147483647 931 | 932 | 933 | 934 | 935 | 936 | 937 | 938 | 939 | YES 940 | YES 941 | 942 | 943 | 2147483647 944 | 945 | 946 | 947 | 948 | 949 | Show Colors 950 | C 951 | 1048576 952 | 2147483647 953 | 954 | 955 | 956 | 957 | 958 | YES 959 | YES 960 | 961 | 962 | 2147483647 963 | 964 | 965 | 966 | 967 | 968 | Copy Style 969 | c 970 | 1572864 971 | 2147483647 972 | 973 | 974 | 975 | 976 | 977 | Paste Style 978 | v 979 | 1572864 980 | 2147483647 981 | 982 | 983 | 984 | 985 | _NSFontMenu 986 | 987 | 988 | 989 | 990 | Text 991 | 992 | 2147483647 993 | 994 | 995 | submenuAction: 996 | 997 | Text 998 | 999 | 1000 | 1001 | Align Left 1002 | { 1003 | 1048576 1004 | 2147483647 1005 | 1006 | 1007 | 1008 | 1009 | 1010 | Center 1011 | | 1012 | 1048576 1013 | 2147483647 1014 | 1015 | 1016 | 1017 | 1018 | 1019 | Justify 1020 | 1021 | 2147483647 1022 | 1023 | 1024 | 1025 | 1026 | 1027 | Align Right 1028 | } 1029 | 1048576 1030 | 2147483647 1031 | 1032 | 1033 | 1034 | 1035 | 1036 | YES 1037 | YES 1038 | 1039 | 1040 | 2147483647 1041 | 1042 | 1043 | 1044 | 1045 | 1046 | Writing Direction 1047 | 1048 | 2147483647 1049 | 1050 | 1051 | submenuAction: 1052 | 1053 | Writing Direction 1054 | 1055 | 1056 | 1057 | YES 1058 | Paragraph 1059 | 1060 | 2147483647 1061 | 1062 | 1063 | 1064 | 1065 | 1066 | CURlZmF1bHQ 1067 | 1068 | 2147483647 1069 | 1070 | 1071 | 1072 | 1073 | 1074 | CUxlZnQgdG8gUmlnaHQ 1075 | 1076 | 2147483647 1077 | 1078 | 1079 | 1080 | 1081 | 1082 | CVJpZ2h0IHRvIExlZnQ 1083 | 1084 | 2147483647 1085 | 1086 | 1087 | 1088 | 1089 | 1090 | YES 1091 | YES 1092 | 1093 | 1094 | 2147483647 1095 | 1096 | 1097 | 1098 | 1099 | 1100 | YES 1101 | Selection 1102 | 1103 | 2147483647 1104 | 1105 | 1106 | 1107 | 1108 | 1109 | CURlZmF1bHQ 1110 | 1111 | 2147483647 1112 | 1113 | 1114 | 1115 | 1116 | 1117 | CUxlZnQgdG8gUmlnaHQ 1118 | 1119 | 2147483647 1120 | 1121 | 1122 | 1123 | 1124 | 1125 | CVJpZ2h0IHRvIExlZnQ 1126 | 1127 | 2147483647 1128 | 1129 | 1130 | 1131 | 1132 | 1133 | 1134 | 1135 | 1136 | YES 1137 | YES 1138 | 1139 | 1140 | 2147483647 1141 | 1142 | 1143 | 1144 | 1145 | 1146 | Show Ruler 1147 | 1148 | 2147483647 1149 | 1150 | 1151 | 1152 | 1153 | 1154 | Copy Ruler 1155 | c 1156 | 1310720 1157 | 2147483647 1158 | 1159 | 1160 | 1161 | 1162 | 1163 | Paste Ruler 1164 | v 1165 | 1310720 1166 | 2147483647 1167 | 1168 | 1169 | 1170 | 1171 | 1172 | 1173 | 1174 | 1175 | 1176 | 1177 | 1178 | View 1179 | 1180 | 1048576 1181 | 2147483647 1182 | 1183 | 1184 | submenuAction: 1185 | 1186 | View 1187 | 1188 | 1189 | 1190 | Show Toolbar 1191 | t 1192 | 1572864 1193 | 2147483647 1194 | 1195 | 1196 | 1197 | 1198 | 1199 | Customize Toolbar… 1200 | 1201 | 1048576 1202 | 2147483647 1203 | 1204 | 1205 | 1206 | 1207 | 1208 | 1209 | 1210 | 1211 | Window 1212 | 1213 | 1048576 1214 | 2147483647 1215 | 1216 | 1217 | submenuAction: 1218 | 1219 | Window 1220 | 1221 | 1222 | 1223 | Minimize 1224 | m 1225 | 1048576 1226 | 2147483647 1227 | 1228 | 1229 | 1230 | 1231 | 1232 | Zoom 1233 | 1234 | 1048576 1235 | 2147483647 1236 | 1237 | 1238 | 1239 | 1240 | 1241 | YES 1242 | YES 1243 | 1244 | 1245 | 1048576 1246 | 2147483647 1247 | 1248 | 1249 | 1250 | 1251 | 1252 | Bring All to Front 1253 | 1254 | 1048576 1255 | 2147483647 1256 | 1257 | 1258 | 1259 | 1260 | _NSWindowsMenu 1261 | 1262 | 1263 | 1264 | 1265 | Help 1266 | 1267 | 2147483647 1268 | 1269 | 1270 | submenuAction: 1271 | 1272 | Help 1273 | 1274 | 1275 | 1276 | MyMusicPlayer Help 1277 | ? 1278 | 1048576 1279 | 2147483647 1280 | 1281 | 1282 | 1283 | 1284 | _NSHelpMenu 1285 | 1286 | 1287 | 1288 | _NSMainMenu 1289 | 1290 | 1291 | AppDelegate 1292 | 1293 | 1294 | NSFontManager 1295 | 1296 | 1297 | 1298 | 1299 | 1300 | 1301 | terminate: 1302 | 1303 | 1304 | 1305 | 449 1306 | 1307 | 1308 | 1309 | orderFrontStandardAboutPanel: 1310 | 1311 | 1312 | 1313 | 142 1314 | 1315 | 1316 | 1317 | delegate 1318 | 1319 | 1320 | 1321 | 495 1322 | 1323 | 1324 | 1325 | performMiniaturize: 1326 | 1327 | 1328 | 1329 | 37 1330 | 1331 | 1332 | 1333 | arrangeInFront: 1334 | 1335 | 1336 | 1337 | 39 1338 | 1339 | 1340 | 1341 | print: 1342 | 1343 | 1344 | 1345 | 86 1346 | 1347 | 1348 | 1349 | runPageLayout: 1350 | 1351 | 1352 | 1353 | 87 1354 | 1355 | 1356 | 1357 | clearRecentDocuments: 1358 | 1359 | 1360 | 1361 | 127 1362 | 1363 | 1364 | 1365 | performClose: 1366 | 1367 | 1368 | 1369 | 193 1370 | 1371 | 1372 | 1373 | toggleContinuousSpellChecking: 1374 | 1375 | 1376 | 1377 | 222 1378 | 1379 | 1380 | 1381 | undo: 1382 | 1383 | 1384 | 1385 | 223 1386 | 1387 | 1388 | 1389 | copy: 1390 | 1391 | 1392 | 1393 | 224 1394 | 1395 | 1396 | 1397 | checkSpelling: 1398 | 1399 | 1400 | 1401 | 225 1402 | 1403 | 1404 | 1405 | paste: 1406 | 1407 | 1408 | 1409 | 226 1410 | 1411 | 1412 | 1413 | stopSpeaking: 1414 | 1415 | 1416 | 1417 | 227 1418 | 1419 | 1420 | 1421 | cut: 1422 | 1423 | 1424 | 1425 | 228 1426 | 1427 | 1428 | 1429 | showGuessPanel: 1430 | 1431 | 1432 | 1433 | 230 1434 | 1435 | 1436 | 1437 | redo: 1438 | 1439 | 1440 | 1441 | 231 1442 | 1443 | 1444 | 1445 | selectAll: 1446 | 1447 | 1448 | 1449 | 232 1450 | 1451 | 1452 | 1453 | startSpeaking: 1454 | 1455 | 1456 | 1457 | 233 1458 | 1459 | 1460 | 1461 | delete: 1462 | 1463 | 1464 | 1465 | 235 1466 | 1467 | 1468 | 1469 | performZoom: 1470 | 1471 | 1472 | 1473 | 240 1474 | 1475 | 1476 | 1477 | performFindPanelAction: 1478 | 1479 | 1480 | 1481 | 241 1482 | 1483 | 1484 | 1485 | centerSelectionInVisibleArea: 1486 | 1487 | 1488 | 1489 | 245 1490 | 1491 | 1492 | 1493 | toggleGrammarChecking: 1494 | 1495 | 1496 | 1497 | 347 1498 | 1499 | 1500 | 1501 | toggleSmartInsertDelete: 1502 | 1503 | 1504 | 1505 | 355 1506 | 1507 | 1508 | 1509 | toggleAutomaticQuoteSubstitution: 1510 | 1511 | 1512 | 1513 | 356 1514 | 1515 | 1516 | 1517 | toggleAutomaticLinkDetection: 1518 | 1519 | 1520 | 1521 | 357 1522 | 1523 | 1524 | 1525 | saveDocument: 1526 | 1527 | 1528 | 1529 | 362 1530 | 1531 | 1532 | 1533 | revertDocumentToSaved: 1534 | 1535 | 1536 | 1537 | 364 1538 | 1539 | 1540 | 1541 | runToolbarCustomizationPalette: 1542 | 1543 | 1544 | 1545 | 365 1546 | 1547 | 1548 | 1549 | toggleToolbarShown: 1550 | 1551 | 1552 | 1553 | 366 1554 | 1555 | 1556 | 1557 | hide: 1558 | 1559 | 1560 | 1561 | 367 1562 | 1563 | 1564 | 1565 | hideOtherApplications: 1566 | 1567 | 1568 | 1569 | 368 1570 | 1571 | 1572 | 1573 | unhideAllApplications: 1574 | 1575 | 1576 | 1577 | 370 1578 | 1579 | 1580 | 1581 | newDocument: 1582 | 1583 | 1584 | 1585 | 373 1586 | 1587 | 1588 | 1589 | openDocument: 1590 | 1591 | 1592 | 1593 | 374 1594 | 1595 | 1596 | 1597 | raiseBaseline: 1598 | 1599 | 1600 | 1601 | 426 1602 | 1603 | 1604 | 1605 | lowerBaseline: 1606 | 1607 | 1608 | 1609 | 427 1610 | 1611 | 1612 | 1613 | copyFont: 1614 | 1615 | 1616 | 1617 | 428 1618 | 1619 | 1620 | 1621 | subscript: 1622 | 1623 | 1624 | 1625 | 429 1626 | 1627 | 1628 | 1629 | superscript: 1630 | 1631 | 1632 | 1633 | 430 1634 | 1635 | 1636 | 1637 | tightenKerning: 1638 | 1639 | 1640 | 1641 | 431 1642 | 1643 | 1644 | 1645 | underline: 1646 | 1647 | 1648 | 1649 | 432 1650 | 1651 | 1652 | 1653 | orderFrontColorPanel: 1654 | 1655 | 1656 | 1657 | 433 1658 | 1659 | 1660 | 1661 | useAllLigatures: 1662 | 1663 | 1664 | 1665 | 434 1666 | 1667 | 1668 | 1669 | loosenKerning: 1670 | 1671 | 1672 | 1673 | 435 1674 | 1675 | 1676 | 1677 | pasteFont: 1678 | 1679 | 1680 | 1681 | 436 1682 | 1683 | 1684 | 1685 | unscript: 1686 | 1687 | 1688 | 1689 | 437 1690 | 1691 | 1692 | 1693 | useStandardKerning: 1694 | 1695 | 1696 | 1697 | 438 1698 | 1699 | 1700 | 1701 | useStandardLigatures: 1702 | 1703 | 1704 | 1705 | 439 1706 | 1707 | 1708 | 1709 | turnOffLigatures: 1710 | 1711 | 1712 | 1713 | 440 1714 | 1715 | 1716 | 1717 | turnOffKerning: 1718 | 1719 | 1720 | 1721 | 441 1722 | 1723 | 1724 | 1725 | toggleAutomaticSpellingCorrection: 1726 | 1727 | 1728 | 1729 | 456 1730 | 1731 | 1732 | 1733 | orderFrontSubstitutionsPanel: 1734 | 1735 | 1736 | 1737 | 458 1738 | 1739 | 1740 | 1741 | toggleAutomaticDashSubstitution: 1742 | 1743 | 1744 | 1745 | 461 1746 | 1747 | 1748 | 1749 | toggleAutomaticTextReplacement: 1750 | 1751 | 1752 | 1753 | 463 1754 | 1755 | 1756 | 1757 | uppercaseWord: 1758 | 1759 | 1760 | 1761 | 464 1762 | 1763 | 1764 | 1765 | capitalizeWord: 1766 | 1767 | 1768 | 1769 | 467 1770 | 1771 | 1772 | 1773 | lowercaseWord: 1774 | 1775 | 1776 | 1777 | 468 1778 | 1779 | 1780 | 1781 | pasteAsPlainText: 1782 | 1783 | 1784 | 1785 | 486 1786 | 1787 | 1788 | 1789 | performFindPanelAction: 1790 | 1791 | 1792 | 1793 | 487 1794 | 1795 | 1796 | 1797 | performFindPanelAction: 1798 | 1799 | 1800 | 1801 | 488 1802 | 1803 | 1804 | 1805 | performFindPanelAction: 1806 | 1807 | 1808 | 1809 | 489 1810 | 1811 | 1812 | 1813 | showHelp: 1814 | 1815 | 1816 | 1817 | 493 1818 | 1819 | 1820 | 1821 | alignCenter: 1822 | 1823 | 1824 | 1825 | 518 1826 | 1827 | 1828 | 1829 | pasteRuler: 1830 | 1831 | 1832 | 1833 | 519 1834 | 1835 | 1836 | 1837 | toggleRuler: 1838 | 1839 | 1840 | 1841 | 520 1842 | 1843 | 1844 | 1845 | alignRight: 1846 | 1847 | 1848 | 1849 | 521 1850 | 1851 | 1852 | 1853 | copyRuler: 1854 | 1855 | 1856 | 1857 | 522 1858 | 1859 | 1860 | 1861 | alignJustified: 1862 | 1863 | 1864 | 1865 | 523 1866 | 1867 | 1868 | 1869 | alignLeft: 1870 | 1871 | 1872 | 1873 | 524 1874 | 1875 | 1876 | 1877 | makeBaseWritingDirectionNatural: 1878 | 1879 | 1880 | 1881 | 525 1882 | 1883 | 1884 | 1885 | makeBaseWritingDirectionLeftToRight: 1886 | 1887 | 1888 | 1889 | 526 1890 | 1891 | 1892 | 1893 | makeBaseWritingDirectionRightToLeft: 1894 | 1895 | 1896 | 1897 | 527 1898 | 1899 | 1900 | 1901 | makeTextWritingDirectionNatural: 1902 | 1903 | 1904 | 1905 | 528 1906 | 1907 | 1908 | 1909 | makeTextWritingDirectionLeftToRight: 1910 | 1911 | 1912 | 1913 | 529 1914 | 1915 | 1916 | 1917 | makeTextWritingDirectionRightToLeft: 1918 | 1919 | 1920 | 1921 | 530 1922 | 1923 | 1924 | 1925 | performFindPanelAction: 1926 | 1927 | 1928 | 1929 | 535 1930 | 1931 | 1932 | 1933 | addFontTrait: 1934 | 1935 | 1936 | 1937 | 421 1938 | 1939 | 1940 | 1941 | addFontTrait: 1942 | 1943 | 1944 | 1945 | 422 1946 | 1947 | 1948 | 1949 | modifyFont: 1950 | 1951 | 1952 | 1953 | 423 1954 | 1955 | 1956 | 1957 | orderFrontFontPanel: 1958 | 1959 | 1960 | 1961 | 424 1962 | 1963 | 1964 | 1965 | modifyFont: 1966 | 1967 | 1968 | 1969 | 425 1970 | 1971 | 1972 | 1973 | 1974 | 1975 | 0 1976 | 1977 | 1978 | 1979 | 1980 | 1981 | -2 1982 | 1983 | 1984 | File's Owner 1985 | 1986 | 1987 | -1 1988 | 1989 | 1990 | First Responder 1991 | 1992 | 1993 | -3 1994 | 1995 | 1996 | Application 1997 | 1998 | 1999 | 29 2000 | 2001 | 2002 | 2003 | 2004 | 2005 | 2006 | 2007 | 2008 | 2009 | 2010 | 2011 | 2012 | 2013 | 19 2014 | 2015 | 2016 | 2017 | 2018 | 2019 | 2020 | 2021 | 56 2022 | 2023 | 2024 | 2025 | 2026 | 2027 | 2028 | 2029 | 217 2030 | 2031 | 2032 | 2033 | 2034 | 2035 | 2036 | 2037 | 83 2038 | 2039 | 2040 | 2041 | 2042 | 2043 | 2044 | 2045 | 81 2046 | 2047 | 2048 | 2049 | 2050 | 2051 | 2052 | 2053 | 2054 | 2055 | 2056 | 2057 | 2058 | 2059 | 2060 | 2061 | 2062 | 75 2063 | 2064 | 2065 | 2066 | 2067 | 78 2068 | 2069 | 2070 | 2071 | 2072 | 72 2073 | 2074 | 2075 | 2076 | 2077 | 82 2078 | 2079 | 2080 | 2081 | 2082 | 124 2083 | 2084 | 2085 | 2086 | 2087 | 2088 | 2089 | 2090 | 77 2091 | 2092 | 2093 | 2094 | 2095 | 73 2096 | 2097 | 2098 | 2099 | 2100 | 79 2101 | 2102 | 2103 | 2104 | 2105 | 112 2106 | 2107 | 2108 | 2109 | 2110 | 74 2111 | 2112 | 2113 | 2114 | 2115 | 125 2116 | 2117 | 2118 | 2119 | 2120 | 2121 | 2122 | 2123 | 126 2124 | 2125 | 2126 | 2127 | 2128 | 205 2129 | 2130 | 2131 | 2132 | 2133 | 2134 | 2135 | 2136 | 2137 | 2138 | 2139 | 2140 | 2141 | 2142 | 2143 | 2144 | 2145 | 2146 | 2147 | 2148 | 2149 | 2150 | 202 2151 | 2152 | 2153 | 2154 | 2155 | 198 2156 | 2157 | 2158 | 2159 | 2160 | 207 2161 | 2162 | 2163 | 2164 | 2165 | 214 2166 | 2167 | 2168 | 2169 | 2170 | 199 2171 | 2172 | 2173 | 2174 | 2175 | 203 2176 | 2177 | 2178 | 2179 | 2180 | 197 2181 | 2182 | 2183 | 2184 | 2185 | 206 2186 | 2187 | 2188 | 2189 | 2190 | 215 2191 | 2192 | 2193 | 2194 | 2195 | 218 2196 | 2197 | 2198 | 2199 | 2200 | 2201 | 2202 | 2203 | 216 2204 | 2205 | 2206 | 2207 | 2208 | 2209 | 2210 | 2211 | 200 2212 | 2213 | 2214 | 2215 | 2216 | 2217 | 2218 | 2219 | 2220 | 2221 | 2222 | 2223 | 2224 | 219 2225 | 2226 | 2227 | 2228 | 2229 | 201 2230 | 2231 | 2232 | 2233 | 2234 | 204 2235 | 2236 | 2237 | 2238 | 2239 | 220 2240 | 2241 | 2242 | 2243 | 2244 | 2245 | 2246 | 2247 | 2248 | 2249 | 2250 | 2251 | 2252 | 213 2253 | 2254 | 2255 | 2256 | 2257 | 210 2258 | 2259 | 2260 | 2261 | 2262 | 221 2263 | 2264 | 2265 | 2266 | 2267 | 208 2268 | 2269 | 2270 | 2271 | 2272 | 209 2273 | 2274 | 2275 | 2276 | 2277 | 57 2278 | 2279 | 2280 | 2281 | 2282 | 2283 | 2284 | 2285 | 2286 | 2287 | 2288 | 2289 | 2290 | 2291 | 2292 | 2293 | 2294 | 2295 | 58 2296 | 2297 | 2298 | 2299 | 2300 | 134 2301 | 2302 | 2303 | 2304 | 2305 | 150 2306 | 2307 | 2308 | 2309 | 2310 | 136 2311 | 2312 | 2313 | 2314 | 2315 | 144 2316 | 2317 | 2318 | 2319 | 2320 | 129 2321 | 2322 | 2323 | 2324 | 2325 | 143 2326 | 2327 | 2328 | 2329 | 2330 | 236 2331 | 2332 | 2333 | 2334 | 2335 | 131 2336 | 2337 | 2338 | 2339 | 2340 | 2341 | 2342 | 2343 | 149 2344 | 2345 | 2346 | 2347 | 2348 | 145 2349 | 2350 | 2351 | 2352 | 2353 | 130 2354 | 2355 | 2356 | 2357 | 2358 | 24 2359 | 2360 | 2361 | 2362 | 2363 | 2364 | 2365 | 2366 | 2367 | 2368 | 2369 | 92 2370 | 2371 | 2372 | 2373 | 2374 | 5 2375 | 2376 | 2377 | 2378 | 2379 | 239 2380 | 2381 | 2382 | 2383 | 2384 | 23 2385 | 2386 | 2387 | 2388 | 2389 | 295 2390 | 2391 | 2392 | 2393 | 2394 | 2395 | 2396 | 2397 | 296 2398 | 2399 | 2400 | 2401 | 2402 | 2403 | 2404 | 2405 | 2406 | 297 2407 | 2408 | 2409 | 2410 | 2411 | 298 2412 | 2413 | 2414 | 2415 | 2416 | 211 2417 | 2418 | 2419 | 2420 | 2421 | 2422 | 2423 | 2424 | 212 2425 | 2426 | 2427 | 2428 | 2429 | 2430 | 2431 | 2432 | 2433 | 195 2434 | 2435 | 2436 | 2437 | 2438 | 196 2439 | 2440 | 2441 | 2442 | 2443 | 346 2444 | 2445 | 2446 | 2447 | 2448 | 348 2449 | 2450 | 2451 | 2452 | 2453 | 2454 | 2455 | 2456 | 349 2457 | 2458 | 2459 | 2460 | 2461 | 2462 | 2463 | 2464 | 2465 | 2466 | 2467 | 2468 | 2469 | 2470 | 350 2471 | 2472 | 2473 | 2474 | 2475 | 351 2476 | 2477 | 2478 | 2479 | 2480 | 354 2481 | 2482 | 2483 | 2484 | 2485 | 375 2486 | 2487 | 2488 | 2489 | 2490 | 2491 | 2492 | 2493 | 376 2494 | 2495 | 2496 | 2497 | 2498 | 2499 | 2500 | 2501 | 2502 | 377 2503 | 2504 | 2505 | 2506 | 2507 | 2508 | 2509 | 2510 | 388 2511 | 2512 | 2513 | 2514 | 2515 | 2516 | 2517 | 2518 | 2519 | 2520 | 2521 | 2522 | 2523 | 2524 | 2525 | 2526 | 2527 | 2528 | 2529 | 2530 | 2531 | 2532 | 2533 | 389 2534 | 2535 | 2536 | 2537 | 2538 | 390 2539 | 2540 | 2541 | 2542 | 2543 | 391 2544 | 2545 | 2546 | 2547 | 2548 | 392 2549 | 2550 | 2551 | 2552 | 2553 | 393 2554 | 2555 | 2556 | 2557 | 2558 | 394 2559 | 2560 | 2561 | 2562 | 2563 | 395 2564 | 2565 | 2566 | 2567 | 2568 | 396 2569 | 2570 | 2571 | 2572 | 2573 | 397 2574 | 2575 | 2576 | 2577 | 2578 | 2579 | 2580 | 2581 | 398 2582 | 2583 | 2584 | 2585 | 2586 | 2587 | 2588 | 2589 | 399 2590 | 2591 | 2592 | 2593 | 2594 | 2595 | 2596 | 2597 | 400 2598 | 2599 | 2600 | 2601 | 2602 | 401 2603 | 2604 | 2605 | 2606 | 2607 | 402 2608 | 2609 | 2610 | 2611 | 2612 | 403 2613 | 2614 | 2615 | 2616 | 2617 | 404 2618 | 2619 | 2620 | 2621 | 2622 | 405 2623 | 2624 | 2625 | 2626 | 2627 | 2628 | 2629 | 2630 | 2631 | 2632 | 2633 | 2634 | 406 2635 | 2636 | 2637 | 2638 | 2639 | 407 2640 | 2641 | 2642 | 2643 | 2644 | 408 2645 | 2646 | 2647 | 2648 | 2649 | 409 2650 | 2651 | 2652 | 2653 | 2654 | 410 2655 | 2656 | 2657 | 2658 | 2659 | 411 2660 | 2661 | 2662 | 2663 | 2664 | 2665 | 2666 | 2667 | 2668 | 2669 | 412 2670 | 2671 | 2672 | 2673 | 2674 | 413 2675 | 2676 | 2677 | 2678 | 2679 | 414 2680 | 2681 | 2682 | 2683 | 2684 | 415 2685 | 2686 | 2687 | 2688 | 2689 | 2690 | 2691 | 2692 | 2693 | 2694 | 2695 | 416 2696 | 2697 | 2698 | 2699 | 2700 | 417 2701 | 2702 | 2703 | 2704 | 2705 | 418 2706 | 2707 | 2708 | 2709 | 2710 | 419 2711 | 2712 | 2713 | 2714 | 2715 | 420 2716 | 2717 | 2718 | 2719 | 2720 | 450 2721 | 2722 | 2723 | 2724 | 2725 | 2726 | 2727 | 2728 | 451 2729 | 2730 | 2731 | 2732 | 2733 | 2734 | 2735 | 2736 | 2737 | 2738 | 452 2739 | 2740 | 2741 | 2742 | 2743 | 453 2744 | 2745 | 2746 | 2747 | 2748 | 454 2749 | 2750 | 2751 | 2752 | 2753 | 457 2754 | 2755 | 2756 | 2757 | 2758 | 459 2759 | 2760 | 2761 | 2762 | 2763 | 460 2764 | 2765 | 2766 | 2767 | 2768 | 462 2769 | 2770 | 2771 | 2772 | 2773 | 465 2774 | 2775 | 2776 | 2777 | 2778 | 466 2779 | 2780 | 2781 | 2782 | 2783 | 485 2784 | 2785 | 2786 | 2787 | 2788 | 490 2789 | 2790 | 2791 | 2792 | 2793 | 2794 | 2795 | 2796 | 491 2797 | 2798 | 2799 | 2800 | 2801 | 2802 | 2803 | 2804 | 492 2805 | 2806 | 2807 | 2808 | 2809 | 494 2810 | 2811 | 2812 | 2813 | 2814 | 496 2815 | 2816 | 2817 | 2818 | 2819 | 2820 | 2821 | 2822 | 497 2823 | 2824 | 2825 | 2826 | 2827 | 2828 | 2829 | 2830 | 2831 | 2832 | 2833 | 2834 | 2835 | 2836 | 2837 | 2838 | 2839 | 498 2840 | 2841 | 2842 | 2843 | 2844 | 499 2845 | 2846 | 2847 | 2848 | 2849 | 500 2850 | 2851 | 2852 | 2853 | 2854 | 501 2855 | 2856 | 2857 | 2858 | 2859 | 502 2860 | 2861 | 2862 | 2863 | 2864 | 503 2865 | 2866 | 2867 | 2868 | 2869 | 2870 | 2871 | 2872 | 504 2873 | 2874 | 2875 | 2876 | 2877 | 505 2878 | 2879 | 2880 | 2881 | 2882 | 506 2883 | 2884 | 2885 | 2886 | 2887 | 507 2888 | 2889 | 2890 | 2891 | 2892 | 508 2893 | 2894 | 2895 | 2896 | 2897 | 2898 | 2899 | 2900 | 2901 | 2902 | 2903 | 2904 | 2905 | 2906 | 2907 | 2908 | 509 2909 | 2910 | 2911 | 2912 | 2913 | 510 2914 | 2915 | 2916 | 2917 | 2918 | 511 2919 | 2920 | 2921 | 2922 | 2923 | 512 2924 | 2925 | 2926 | 2927 | 2928 | 513 2929 | 2930 | 2931 | 2932 | 2933 | 514 2934 | 2935 | 2936 | 2937 | 2938 | 515 2939 | 2940 | 2941 | 2942 | 2943 | 516 2944 | 2945 | 2946 | 2947 | 2948 | 517 2949 | 2950 | 2951 | 2952 | 2953 | 534 2954 | 2955 | 2956 | 2957 | 2958 | 2959 | 2960 | com.apple.InterfaceBuilder.CocoaPlugin 2961 | com.apple.InterfaceBuilder.CocoaPlugin 2962 | com.apple.InterfaceBuilder.CocoaPlugin 2963 | com.apple.InterfaceBuilder.CocoaPlugin 2964 | com.apple.InterfaceBuilder.CocoaPlugin 2965 | com.apple.InterfaceBuilder.CocoaPlugin 2966 | com.apple.InterfaceBuilder.CocoaPlugin 2967 | com.apple.InterfaceBuilder.CocoaPlugin 2968 | com.apple.InterfaceBuilder.CocoaPlugin 2969 | com.apple.InterfaceBuilder.CocoaPlugin 2970 | com.apple.InterfaceBuilder.CocoaPlugin 2971 | com.apple.InterfaceBuilder.CocoaPlugin 2972 | com.apple.InterfaceBuilder.CocoaPlugin 2973 | com.apple.InterfaceBuilder.CocoaPlugin 2974 | com.apple.InterfaceBuilder.CocoaPlugin 2975 | com.apple.InterfaceBuilder.CocoaPlugin 2976 | com.apple.InterfaceBuilder.CocoaPlugin 2977 | com.apple.InterfaceBuilder.CocoaPlugin 2978 | com.apple.InterfaceBuilder.CocoaPlugin 2979 | com.apple.InterfaceBuilder.CocoaPlugin 2980 | com.apple.InterfaceBuilder.CocoaPlugin 2981 | com.apple.InterfaceBuilder.CocoaPlugin 2982 | com.apple.InterfaceBuilder.CocoaPlugin 2983 | com.apple.InterfaceBuilder.CocoaPlugin 2984 | com.apple.InterfaceBuilder.CocoaPlugin 2985 | com.apple.InterfaceBuilder.CocoaPlugin 2986 | com.apple.InterfaceBuilder.CocoaPlugin 2987 | com.apple.InterfaceBuilder.CocoaPlugin 2988 | com.apple.InterfaceBuilder.CocoaPlugin 2989 | com.apple.InterfaceBuilder.CocoaPlugin 2990 | com.apple.InterfaceBuilder.CocoaPlugin 2991 | com.apple.InterfaceBuilder.CocoaPlugin 2992 | com.apple.InterfaceBuilder.CocoaPlugin 2993 | com.apple.InterfaceBuilder.CocoaPlugin 2994 | com.apple.InterfaceBuilder.CocoaPlugin 2995 | com.apple.InterfaceBuilder.CocoaPlugin 2996 | com.apple.InterfaceBuilder.CocoaPlugin 2997 | com.apple.InterfaceBuilder.CocoaPlugin 2998 | com.apple.InterfaceBuilder.CocoaPlugin 2999 | com.apple.InterfaceBuilder.CocoaPlugin 3000 | com.apple.InterfaceBuilder.CocoaPlugin 3001 | com.apple.InterfaceBuilder.CocoaPlugin 3002 | com.apple.InterfaceBuilder.CocoaPlugin 3003 | com.apple.InterfaceBuilder.CocoaPlugin 3004 | com.apple.InterfaceBuilder.CocoaPlugin 3005 | com.apple.InterfaceBuilder.CocoaPlugin 3006 | com.apple.InterfaceBuilder.CocoaPlugin 3007 | com.apple.InterfaceBuilder.CocoaPlugin 3008 | com.apple.InterfaceBuilder.CocoaPlugin 3009 | com.apple.InterfaceBuilder.CocoaPlugin 3010 | com.apple.InterfaceBuilder.CocoaPlugin 3011 | com.apple.InterfaceBuilder.CocoaPlugin 3012 | com.apple.InterfaceBuilder.CocoaPlugin 3013 | com.apple.InterfaceBuilder.CocoaPlugin 3014 | com.apple.InterfaceBuilder.CocoaPlugin 3015 | com.apple.InterfaceBuilder.CocoaPlugin 3016 | com.apple.InterfaceBuilder.CocoaPlugin 3017 | com.apple.InterfaceBuilder.CocoaPlugin 3018 | com.apple.InterfaceBuilder.CocoaPlugin 3019 | com.apple.InterfaceBuilder.CocoaPlugin 3020 | com.apple.InterfaceBuilder.CocoaPlugin 3021 | com.apple.InterfaceBuilder.CocoaPlugin 3022 | com.apple.InterfaceBuilder.CocoaPlugin 3023 | com.apple.InterfaceBuilder.CocoaPlugin 3024 | com.apple.InterfaceBuilder.CocoaPlugin 3025 | com.apple.InterfaceBuilder.CocoaPlugin 3026 | com.apple.InterfaceBuilder.CocoaPlugin 3027 | com.apple.InterfaceBuilder.CocoaPlugin 3028 | com.apple.InterfaceBuilder.CocoaPlugin 3029 | com.apple.InterfaceBuilder.CocoaPlugin 3030 | com.apple.InterfaceBuilder.CocoaPlugin 3031 | com.apple.InterfaceBuilder.CocoaPlugin 3032 | com.apple.InterfaceBuilder.CocoaPlugin 3033 | com.apple.InterfaceBuilder.CocoaPlugin 3034 | com.apple.InterfaceBuilder.CocoaPlugin 3035 | com.apple.InterfaceBuilder.CocoaPlugin 3036 | com.apple.InterfaceBuilder.CocoaPlugin 3037 | com.apple.InterfaceBuilder.CocoaPlugin 3038 | com.apple.InterfaceBuilder.CocoaPlugin 3039 | com.apple.InterfaceBuilder.CocoaPlugin 3040 | com.apple.InterfaceBuilder.CocoaPlugin 3041 | com.apple.InterfaceBuilder.CocoaPlugin 3042 | com.apple.InterfaceBuilder.CocoaPlugin 3043 | com.apple.InterfaceBuilder.CocoaPlugin 3044 | com.apple.InterfaceBuilder.CocoaPlugin 3045 | com.apple.InterfaceBuilder.CocoaPlugin 3046 | com.apple.InterfaceBuilder.CocoaPlugin 3047 | com.apple.InterfaceBuilder.CocoaPlugin 3048 | com.apple.InterfaceBuilder.CocoaPlugin 3049 | com.apple.InterfaceBuilder.CocoaPlugin 3050 | com.apple.InterfaceBuilder.CocoaPlugin 3051 | com.apple.InterfaceBuilder.CocoaPlugin 3052 | com.apple.InterfaceBuilder.CocoaPlugin 3053 | com.apple.InterfaceBuilder.CocoaPlugin 3054 | com.apple.InterfaceBuilder.CocoaPlugin 3055 | com.apple.InterfaceBuilder.CocoaPlugin 3056 | com.apple.InterfaceBuilder.CocoaPlugin 3057 | com.apple.InterfaceBuilder.CocoaPlugin 3058 | com.apple.InterfaceBuilder.CocoaPlugin 3059 | com.apple.InterfaceBuilder.CocoaPlugin 3060 | com.apple.InterfaceBuilder.CocoaPlugin 3061 | com.apple.InterfaceBuilder.CocoaPlugin 3062 | com.apple.InterfaceBuilder.CocoaPlugin 3063 | com.apple.InterfaceBuilder.CocoaPlugin 3064 | com.apple.InterfaceBuilder.CocoaPlugin 3065 | com.apple.InterfaceBuilder.CocoaPlugin 3066 | com.apple.InterfaceBuilder.CocoaPlugin 3067 | com.apple.InterfaceBuilder.CocoaPlugin 3068 | com.apple.InterfaceBuilder.CocoaPlugin 3069 | com.apple.InterfaceBuilder.CocoaPlugin 3070 | com.apple.InterfaceBuilder.CocoaPlugin 3071 | com.apple.InterfaceBuilder.CocoaPlugin 3072 | com.apple.InterfaceBuilder.CocoaPlugin 3073 | com.apple.InterfaceBuilder.CocoaPlugin 3074 | com.apple.InterfaceBuilder.CocoaPlugin 3075 | com.apple.InterfaceBuilder.CocoaPlugin 3076 | com.apple.InterfaceBuilder.CocoaPlugin 3077 | com.apple.InterfaceBuilder.CocoaPlugin 3078 | com.apple.InterfaceBuilder.CocoaPlugin 3079 | com.apple.InterfaceBuilder.CocoaPlugin 3080 | com.apple.InterfaceBuilder.CocoaPlugin 3081 | com.apple.InterfaceBuilder.CocoaPlugin 3082 | com.apple.InterfaceBuilder.CocoaPlugin 3083 | com.apple.InterfaceBuilder.CocoaPlugin 3084 | com.apple.InterfaceBuilder.CocoaPlugin 3085 | com.apple.InterfaceBuilder.CocoaPlugin 3086 | com.apple.InterfaceBuilder.CocoaPlugin 3087 | com.apple.InterfaceBuilder.CocoaPlugin 3088 | com.apple.InterfaceBuilder.CocoaPlugin 3089 | com.apple.InterfaceBuilder.CocoaPlugin 3090 | com.apple.InterfaceBuilder.CocoaPlugin 3091 | com.apple.InterfaceBuilder.CocoaPlugin 3092 | com.apple.InterfaceBuilder.CocoaPlugin 3093 | com.apple.InterfaceBuilder.CocoaPlugin 3094 | com.apple.InterfaceBuilder.CocoaPlugin 3095 | com.apple.InterfaceBuilder.CocoaPlugin 3096 | com.apple.InterfaceBuilder.CocoaPlugin 3097 | com.apple.InterfaceBuilder.CocoaPlugin 3098 | com.apple.InterfaceBuilder.CocoaPlugin 3099 | com.apple.InterfaceBuilder.CocoaPlugin 3100 | com.apple.InterfaceBuilder.CocoaPlugin 3101 | com.apple.InterfaceBuilder.CocoaPlugin 3102 | com.apple.InterfaceBuilder.CocoaPlugin 3103 | com.apple.InterfaceBuilder.CocoaPlugin 3104 | com.apple.InterfaceBuilder.CocoaPlugin 3105 | com.apple.InterfaceBuilder.CocoaPlugin 3106 | com.apple.InterfaceBuilder.CocoaPlugin 3107 | com.apple.InterfaceBuilder.CocoaPlugin 3108 | com.apple.InterfaceBuilder.CocoaPlugin 3109 | com.apple.InterfaceBuilder.CocoaPlugin 3110 | 3111 | 3112 | 3113 | 3114 | 3115 | 535 3116 | 3117 | 3118 | 3119 | 3120 | AppDelegate 3121 | NSObject 3122 | 3123 | MainWindowController 3124 | NSWindow 3125 | 3126 | 3127 | 3128 | mainWindowController 3129 | MainWindowController 3130 | 3131 | 3132 | window 3133 | NSWindow 3134 | 3135 | 3136 | 3137 | IBProjectSource 3138 | ./Classes/AppDelegate.h 3139 | 3140 | 3141 | 3142 | MainWindowController 3143 | NSWindowController 3144 | 3145 | id 3146 | id 3147 | id 3148 | 3149 | 3150 | 3151 | nextAction: 3152 | id 3153 | 3154 | 3155 | playAction: 3156 | id 3157 | 3158 | 3159 | previousAction: 3160 | id 3161 | 3162 | 3163 | 3164 | IBProjectSource 3165 | ./Classes/MainWindowController.h 3166 | 3167 | 3168 | 3169 | 3170 | 0 3171 | IBCocoaFramework 3172 | YES 3173 | 3 3174 | 3175 | {11, 11} 3176 | {10, 3} 3177 | 3178 | YES 3179 | 3180 | 3181 | -------------------------------------------------------------------------------- /MyMusicPlayer/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // MyMusicPlayer 4 | // 5 | // Created by isaced on 13-7-21. 6 | // Copyright (c) 2013年 isaced. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | int main(int argc, char *argv[]) 12 | { 13 | return NSApplicationMain(argc, (const char **)argv); 14 | } 15 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | My Mac Music Player [![Build Status](https://travis-ci.org/isaced/MyMacMusicPlayer.svg?branch=master)](https://travis-ci.org/isaced/MyMacMusicPlayer) 2 | - 3 | 4 | 一边[学习](http://www.isaced.com/post-217.html) macOS 窗体程序设计,一边捣鼓出来的音乐播放器... 5 | 6 | - AudioToolbox 获取 ID3 音频元数据 7 | - NSWindow 拖拽播放 8 | - UI 定制化 9 | - Sketch 部分图标绘制 10 | 11 |

Dance

12 | -------------------------------------------------------------------------------- /icons.sketch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/isaced/MyMacMusicPlayer/3f3b07cbf4c81e1144047ca0c619f46db016e820/icons.sketch -------------------------------------------------------------------------------- /preview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/isaced/MyMacMusicPlayer/3f3b07cbf4c81e1144047ca0c619f46db016e820/preview.png --------------------------------------------------------------------------------