Skip to content
This repository has been archived by the owner on Feb 2, 2022. It is now read-only.

initial pull request #26

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@

.DS_Store
15 changes: 14 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,17 @@
osx-project-3
=============

OS X Development Course, Project 3
OS X Development Course, Project 3

На данный момент работает:
- полное управление iTunes
- переделан интерфейс окон со словами песен и настроек
- приложение полностью находится в статус баре, без иконки в доке и системного меню
- показываются нотификации в Notification Center(с кнопками и без)
- слова песни можно редактировать, но изменения пока не отправляются в iTunes

не работает:
- скроблинг в ластфм (ищется хорошая библиотека с минимальным количеством зависимостей и поддержкой ARC)
- сохранение настроек в defaults
- горячие клавиши, опять же нужна хорошая библиотека с поддержкой ARC и внятной документацией
- shuffle и repeat из-за особенностей iTunes 11, с 10-м все хорошо. Жду когда обновят header для SB
347 changes: 347 additions & 0 deletions piTunes/piTunes.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,347 @@
// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 46;
objects = {

/* Begin PBXBuildFile section */
E10D46ED16982DD300E9266C /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E10D46EC16982DD300E9266C /* Cocoa.framework */; };
E10D46F716982DD300E9266C /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = E10D46F516982DD300E9266C /* InfoPlist.strings */; };
E10D46F916982DD300E9266C /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = E10D46F816982DD300E9266C /* main.m */; };
E10D46FD16982DD300E9266C /* Credits.rtf in Resources */ = {isa = PBXBuildFile; fileRef = E10D46FB16982DD300E9266C /* Credits.rtf */; };
E10D470016982DD300E9266C /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = E10D46FF16982DD300E9266C /* AppDelegate.m */; };
E10D470316982DD300E9266C /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = E10D470116982DD300E9266C /* MainMenu.xib */; };
E10D470E16983DF800E9266C /* LyricsController.m in Sources */ = {isa = PBXBuildFile; fileRef = E10D470D16983DF800E9266C /* LyricsController.m */; };
E10D471116983E1E00E9266C /* PreferencesController.m in Sources */ = {isa = PBXBuildFile; fileRef = E10D471016983E1E00E9266C /* PreferencesController.m */; };
E10D471316983FAF00E9266C /* Lyrics.xib in Resources */ = {isa = PBXBuildFile; fileRef = E10D471216983FAF00E9266C /* Lyrics.xib */; };
E19A2F9516984AE60044B4CA /* ScriptingBridge.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E19A2F9416984AE60044B4CA /* ScriptingBridge.framework */; };
E19A2FBE169A66050044B4CA /* README.md in Resources */ = {isa = PBXBuildFile; fileRef = E19A2FBD169A66050044B4CA /* README.md */; };
/* End PBXBuildFile section */

/* Begin PBXFileReference section */
E10D46E816982DD300E9266C /* piTunes.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = piTunes.app; sourceTree = BUILT_PRODUCTS_DIR; };
E10D46EC16982DD300E9266C /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = System/Library/Frameworks/Cocoa.framework; sourceTree = SDKROOT; };
E10D46EF16982DD300E9266C /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = System/Library/Frameworks/AppKit.framework; sourceTree = SDKROOT; };
E10D46F016982DD300E9266C /* CoreData.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreData.framework; path = System/Library/Frameworks/CoreData.framework; sourceTree = SDKROOT; };
E10D46F116982DD300E9266C /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
E10D46F416982DD300E9266C /* piTunes-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "piTunes-Info.plist"; sourceTree = "<group>"; };
E10D46F616982DD300E9266C /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
E10D46F816982DD300E9266C /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
E10D46FA16982DD300E9266C /* piTunes-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "piTunes-Prefix.pch"; sourceTree = "<group>"; };
E10D46FC16982DD300E9266C /* en */ = {isa = PBXFileReference; lastKnownFileType = text.rtf; name = en; path = en.lproj/Credits.rtf; sourceTree = "<group>"; };
E10D46FE16982DD300E9266C /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
E10D46FF16982DD300E9266C /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; };
E10D470216982DD300E9266C /* en */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = en; path = en.lproj/MainMenu.xib; sourceTree = "<group>"; };
E10D470916983AD200E9266C /* iTunes.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = iTunes.h; sourceTree = "<group>"; };
E10D470C16983DF800E9266C /* LyricsController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = LyricsController.h; sourceTree = "<group>"; };
E10D470D16983DF800E9266C /* LyricsController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = LyricsController.m; sourceTree = "<group>"; };
E10D470F16983E1E00E9266C /* PreferencesController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PreferencesController.h; sourceTree = "<group>"; };
E10D471016983E1E00E9266C /* PreferencesController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PreferencesController.m; sourceTree = "<group>"; };
E10D471216983FAF00E9266C /* Lyrics.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = Lyrics.xib; sourceTree = "<group>"; };
E19A2F9416984AE60044B4CA /* ScriptingBridge.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = ScriptingBridge.framework; path = System/Library/Frameworks/ScriptingBridge.framework; sourceTree = SDKROOT; };
E19A2FBD169A66050044B4CA /* README.md */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = README.md; path = ../README.md; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
E10D46E516982DD300E9266C /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
E19A2F9516984AE60044B4CA /* ScriptingBridge.framework in Frameworks */,
E10D46ED16982DD300E9266C /* Cocoa.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */

/* Begin PBXGroup section */
E10D46DD16982DD300E9266C = {
isa = PBXGroup;
children = (
E19A2FBD169A66050044B4CA /* README.md */,
E10D46F216982DD300E9266C /* piTunes */,
E10D46EB16982DD300E9266C /* Frameworks */,
E10D46E916982DD300E9266C /* Products */,
);
sourceTree = "<group>";
};
E10D46E916982DD300E9266C /* Products */ = {
isa = PBXGroup;
children = (
E10D46E816982DD300E9266C /* piTunes.app */,
);
name = Products;
sourceTree = "<group>";
};
E10D46EB16982DD300E9266C /* Frameworks */ = {
isa = PBXGroup;
children = (
E19A2F9416984AE60044B4CA /* ScriptingBridge.framework */,
E10D46EC16982DD300E9266C /* Cocoa.framework */,
E10D46EE16982DD300E9266C /* Other Frameworks */,
);
name = Frameworks;
sourceTree = "<group>";
};
E10D46EE16982DD300E9266C /* Other Frameworks */ = {
isa = PBXGroup;
children = (
E10D46EF16982DD300E9266C /* AppKit.framework */,
E10D46F016982DD300E9266C /* CoreData.framework */,
E10D46F116982DD300E9266C /* Foundation.framework */,
);
name = "Other Frameworks";
sourceTree = "<group>";
};
E10D46F216982DD300E9266C /* piTunes */ = {
isa = PBXGroup;
children = (
E10D470B16983BFD00E9266C /* Lyrics */,
E10D470A16983BEE00E9266C /* Preferences */,
E10D46FE16982DD300E9266C /* AppDelegate.h */,
E10D46FF16982DD300E9266C /* AppDelegate.m */,
E10D470116982DD300E9266C /* MainMenu.xib */,
E10D46F316982DD300E9266C /* Supporting Files */,
);
path = piTunes;
sourceTree = "<group>";
};
E10D46F316982DD300E9266C /* Supporting Files */ = {
isa = PBXGroup;
children = (
E10D470916983AD200E9266C /* iTunes.h */,
E10D46F416982DD300E9266C /* piTunes-Info.plist */,
E10D46F516982DD300E9266C /* InfoPlist.strings */,
E10D46F816982DD300E9266C /* main.m */,
E10D46FA16982DD300E9266C /* piTunes-Prefix.pch */,
E10D46FB16982DD300E9266C /* Credits.rtf */,
);
name = "Supporting Files";
sourceTree = "<group>";
};
E10D470A16983BEE00E9266C /* Preferences */ = {
isa = PBXGroup;
children = (
E10D470F16983E1E00E9266C /* PreferencesController.h */,
E10D471016983E1E00E9266C /* PreferencesController.m */,
);
name = Preferences;
sourceTree = "<group>";
};
E10D470B16983BFD00E9266C /* Lyrics */ = {
isa = PBXGroup;
children = (
E10D470C16983DF800E9266C /* LyricsController.h */,
E10D470D16983DF800E9266C /* LyricsController.m */,
E10D471216983FAF00E9266C /* Lyrics.xib */,
);
name = Lyrics;
sourceTree = "<group>";
};
/* End PBXGroup section */

/* Begin PBXNativeTarget section */
E10D46E716982DD300E9266C /* piTunes */ = {
isa = PBXNativeTarget;
buildConfigurationList = E10D470616982DD300E9266C /* Build configuration list for PBXNativeTarget "piTunes" */;
buildPhases = (
E10D46E416982DD300E9266C /* Sources */,
E10D46E516982DD300E9266C /* Frameworks */,
E10D46E616982DD300E9266C /* Resources */,
);
buildRules = (
);
dependencies = (
);
name = piTunes;
productName = piTunes;
productReference = E10D46E816982DD300E9266C /* piTunes.app */;
productType = "com.apple.product-type.application";
};
/* End PBXNativeTarget section */

/* Begin PBXProject section */
E10D46DF16982DD300E9266C /* Project object */ = {
isa = PBXProject;
attributes = {
LastUpgradeCheck = 0450;
ORGANIZATIONNAME = aquaxp;
};
buildConfigurationList = E10D46E216982DD300E9266C /* Build configuration list for PBXProject "piTunes" */;
compatibilityVersion = "Xcode 3.2";
developmentRegion = English;
hasScannedForEncodings = 0;
knownRegions = (
en,
);
mainGroup = E10D46DD16982DD300E9266C;
productRefGroup = E10D46E916982DD300E9266C /* Products */;
projectDirPath = "";
projectRoot = "";
targets = (
E10D46E716982DD300E9266C /* piTunes */,
);
};
/* End PBXProject section */

/* Begin PBXResourcesBuildPhase section */
E10D46E616982DD300E9266C /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
E10D46F716982DD300E9266C /* InfoPlist.strings in Resources */,
E10D46FD16982DD300E9266C /* Credits.rtf in Resources */,
E10D470316982DD300E9266C /* MainMenu.xib in Resources */,
E10D471316983FAF00E9266C /* Lyrics.xib in Resources */,
E19A2FBE169A66050044B4CA /* README.md in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
E10D46E416982DD300E9266C /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
E10D46F916982DD300E9266C /* main.m in Sources */,
E10D470016982DD300E9266C /* AppDelegate.m in Sources */,
E10D470E16983DF800E9266C /* LyricsController.m in Sources */,
E10D471116983E1E00E9266C /* PreferencesController.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */

/* Begin PBXVariantGroup section */
E10D46F516982DD300E9266C /* InfoPlist.strings */ = {
isa = PBXVariantGroup;
children = (
E10D46F616982DD300E9266C /* en */,
);
name = InfoPlist.strings;
sourceTree = "<group>";
};
E10D46FB16982DD300E9266C /* Credits.rtf */ = {
isa = PBXVariantGroup;
children = (
E10D46FC16982DD300E9266C /* en */,
);
name = Credits.rtf;
sourceTree = "<group>";
};
E10D470116982DD300E9266C /* MainMenu.xib */ = {
isa = PBXVariantGroup;
children = (
E10D470216982DD300E9266C /* en */,
);
name = MainMenu.xib;
sourceTree = "<group>";
};
/* End PBXVariantGroup section */

/* Begin XCBuildConfiguration section */
E10D470416982DD300E9266C /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
ARCHS = "$(ARCHS_STANDARD_64_BIT)";
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
COPY_PHASE_STRIP = NO;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_DYNAMIC_NO_PIC = NO;
GCC_ENABLE_OBJC_EXCEPTIONS = YES;
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 = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.8;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = macosx;
};
name = Debug;
};
E10D470516982DD300E9266C /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
ARCHS = "$(ARCHS_STANDARD_64_BIT)";
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
COPY_PHASE_STRIP = YES;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_ENABLE_OBJC_EXCEPTIONS = YES;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.8;
SDKROOT = macosx;
};
name = Release;
};
E10D470716982DD300E9266C /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
COMBINE_HIDPI_IMAGES = YES;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "piTunes/piTunes-Prefix.pch";
INFOPLIST_FILE = "piTunes/piTunes-Info.plist";
PRODUCT_NAME = "$(TARGET_NAME)";
WRAPPER_EXTENSION = app;
};
name = Debug;
};
E10D470816982DD300E9266C /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
COMBINE_HIDPI_IMAGES = YES;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "piTunes/piTunes-Prefix.pch";
INFOPLIST_FILE = "piTunes/piTunes-Info.plist";
PRODUCT_NAME = "$(TARGET_NAME)";
WRAPPER_EXTENSION = app;
};
name = Release;
};
/* End XCBuildConfiguration section */

/* Begin XCConfigurationList section */
E10D46E216982DD300E9266C /* Build configuration list for PBXProject "piTunes" */ = {
isa = XCConfigurationList;
buildConfigurations = (
E10D470416982DD300E9266C /* Debug */,
E10D470516982DD300E9266C /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
E10D470616982DD300E9266C /* Build configuration list for PBXNativeTarget "piTunes" */ = {
isa = XCConfigurationList;
buildConfigurations = (
E10D470716982DD300E9266C /* Debug */,
E10D470816982DD300E9266C /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
rootObject = E10D46DF16982DD300E9266C /* Project object */;
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<Bucket
type = "1"
version = "1.0">
</Bucket>
Loading