Permalink
Browse files

Merge pull request #1 from revyver/inappstorewindow

INAppStoreWindow.
  • Loading branch information...
Bryan Veloso
Bryan Veloso committed Feb 15, 2012
2 parents a271599 + e8bdeca commit b6904a7f245870ddd19fb2e87606c6f9c7ebecf9
View
@@ -0,0 +1,12 @@
+.DS_Store
+*.swp
+*~.nib
+
+build/
+
+*.pbxuser
+*.perspective
+*.perspectivev3
+*.mode1v3
+*.mode2v3
+xcuserdata
View
@@ -7,10 +7,11 @@
//
#import <Cocoa/Cocoa.h>
+#import "INAppStoreWindow.h"
@interface AppDelegate : NSObject <NSApplicationDelegate>
-@property (unsafe_unretained) IBOutlet NSWindow *window;
+@property (unsafe_unretained) IBOutlet INAppStoreWindow *window;
@property (weak) IBOutlet NSButton *playButton;
@property (weak) IBOutlet NSSlider *startSlider;
@property (weak) IBOutlet NSSlider *endSlider;
View
@@ -25,6 +25,12 @@ @implementation AppDelegate
@synthesize paused;
+- (void)applicationDidFinishLaunching:(NSNotification *)aNotification
+{
+ [[self window] setTitleBarHeight:30.0];
+ [[self window] setTrafficLightButtonsLeftMargin:7.0];
+}
+
-(void) checkTime:(NSTimer*)theTimer{
currentTime = [music currentTime];
if([music isPlaying]){
@@ -47,11 +53,6 @@ -(void) checkTime:(NSTimer*)theTimer{
}
-- (void)applicationDidFinishLaunching:(NSNotification *)aNotification
-{
-
-}
-
- (void)loadMusic:(NSURL *) fileURL {
NSSound * m = [NSSound alloc];
music = [m initWithContentsOfURL:fileURL byReference:YES];
@@ -7,6 +7,9 @@
objects = {
/* Begin PBXBuildFile section */
+ 351CA58DF08E43309D0C1A7C /* libPods.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 4F63DF7AE63C4BFF97E85379 /* libPods.a */; };
+ 9395B6AD14EB88A8002999D9 /* QuartzCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9395B6AC14EB88A8002999D9 /* QuartzCore.framework */; };
+ 9395B6B014EB8D91002999D9 /* Podfile in Resources */ = {isa = PBXBuildFile; fileRef = 9395B6AF14EB8D91002999D9 /* Podfile */; };
9A041EBD14EAEBA2009AC43F /* cover.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 9A041EBC14EAEBA2009AC43F /* cover.jpg */; };
9AC739D314EAEAB6000A57AD /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9AC739D214EAEAB6000A57AD /* Cocoa.framework */; };
9AC739DD14EAEAB6000A57AD /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 9AC739DB14EAEAB6000A57AD /* InfoPlist.strings */; };
@@ -17,6 +20,9 @@
/* End PBXBuildFile section */
/* Begin PBXFileReference section */
+ 4F63DF7AE63C4BFF97E85379 /* libPods.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libPods.a; sourceTree = BUILT_PRODUCTS_DIR; };
+ 9395B6AC14EB88A8002999D9 /* QuartzCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = QuartzCore.framework; path = System/Library/Frameworks/QuartzCore.framework; sourceTree = SDKROOT; };
+ 9395B6AF14EB8D91002999D9 /* Podfile */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = Podfile; sourceTree = "<group>"; };
9A041EBC14EAEBA2009AC43F /* cover.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = cover.jpg; sourceTree = "<group>"; };
9AC739CE14EAEAB6000A57AD /* Perpetual.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Perpetual.app; sourceTree = BUILT_PRODUCTS_DIR; };
9AC739D214EAEAB6000A57AD /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = System/Library/Frameworks/Cocoa.framework; sourceTree = SDKROOT; };
@@ -31,14 +37,17 @@
9AC739E414EAEAB6000A57AD /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
9AC739E514EAEAB6000A57AD /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; };
9AC739E814EAEAB6000A57AD /* en */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = en; path = en.lproj/MainMenu.xib; sourceTree = "<group>"; };
+ DDB3CDEF03204F9F8C7160C4 /* Pods.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Pods.xcconfig; path = Pods/Pods.xcconfig; sourceTree = SOURCE_ROOT; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
9AC739CB14EAEAB6000A57AD /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
+ 9395B6AD14EB88A8002999D9 /* QuartzCore.framework in Frameworks */,
9AC739D314EAEAB6000A57AD /* Cocoa.framework in Frameworks */,
+ 351CA58DF08E43309D0C1A7C /* libPods.a in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -48,9 +57,11 @@
9AC739C314EAEAB6000A57AD = {
isa = PBXGroup;
children = (
+ 9395B6AC14EB88A8002999D9 /* QuartzCore.framework */,
9AC739D814EAEAB6000A57AD /* Perpetual */,
9AC739D114EAEAB6000A57AD /* Frameworks */,
9AC739CF14EAEAB6000A57AD /* Products */,
+ DDB3CDEF03204F9F8C7160C4 /* Pods.xcconfig */,
);
sourceTree = "<group>";
};
@@ -67,6 +78,7 @@
children = (
9AC739D214EAEAB6000A57AD /* Cocoa.framework */,
9AC739D414EAEAB6000A57AD /* Other Frameworks */,
+ 4F63DF7AE63C4BFF97E85379 /* libPods.a */,
);
name = Frameworks;
sourceTree = "<group>";
@@ -95,12 +107,13 @@
9AC739D914EAEAB6000A57AD /* Supporting Files */ = {
isa = PBXGroup;
children = (
+ 9395B6AF14EB8D91002999D9 /* Podfile */,
9A041EBC14EAEBA2009AC43F /* cover.jpg */,
- 9AC739DA14EAEAB6000A57AD /* Info.plist */,
- 9AC739DB14EAEAB6000A57AD /* InfoPlist.strings */,
9AC739DE14EAEAB6000A57AD /* main.m */,
9AC739E014EAEAB6000A57AD /* Prefix.pch */,
+ 9AC739DA14EAEAB6000A57AD /* Info.plist */,
9AC739E114EAEAB6000A57AD /* Credits.rtf */,
+ 9AC739DB14EAEAB6000A57AD /* InfoPlist.strings */,
);
name = "Supporting Files";
sourceTree = "<group>";
@@ -115,6 +128,7 @@
9AC739CA14EAEAB6000A57AD /* Sources */,
9AC739CB14EAEAB6000A57AD /* Frameworks */,
9AC739CC14EAEAB6000A57AD /* Resources */,
+ 51F08C4914594861905B6EBE /* Copy Pods Resources */,
);
buildRules = (
);
@@ -160,11 +174,29 @@
9AC739E314EAEAB6000A57AD /* Credits.rtf in Resources */,
9AC739E914EAEAB6000A57AD /* MainMenu.xib in Resources */,
9A041EBD14EAEBA2009AC43F /* cover.jpg in Resources */,
+ 9395B6B014EB8D91002999D9 /* Podfile in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */
+/* Begin PBXShellScriptBuildPhase section */
+ 51F08C4914594861905B6EBE /* Copy Pods Resources */ = {
+ isa = PBXShellScriptBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ inputPaths = (
+ );
+ name = "Copy Pods Resources";
+ outputPaths = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ shellPath = /bin/sh;
+ shellScript = "\"${SRCROOT}/Pods/Pods-resources.sh\"\n";
+ };
+/* End PBXShellScriptBuildPhase section */
+
/* Begin PBXSourcesBuildPhase section */
9AC739CA14EAEAB6000A57AD /* Sources */ = {
isa = PBXSourcesBuildPhase;
@@ -254,22 +286,30 @@
};
9AC739ED14EAEAB6000A57AD /* Debug */ = {
isa = XCBuildConfiguration;
+ baseConfigurationReference = DDB3CDEF03204F9F8C7160C4 /* Pods.xcconfig */;
buildSettings = {
+ DSTROOT = /tmp/xcodeproj.dst;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = Prefix.pch;
+ GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
INFOPLIST_FILE = Info.plist;
PRODUCT_NAME = "$(TARGET_NAME)";
+ SKIP_INSTALL = YES;
WRAPPER_EXTENSION = app;
};
name = Debug;
};
9AC739EE14EAEAB6000A57AD /* Release */ = {
isa = XCBuildConfiguration;
+ baseConfigurationReference = DDB3CDEF03204F9F8C7160C4 /* Pods.xcconfig */;
buildSettings = {
+ DSTROOT = /tmp/xcodeproj.dst;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = Prefix.pch;
+ GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
INFOPLIST_FILE = Info.plist;
PRODUCT_NAME = "$(TARGET_NAME)";
+ SKIP_INSTALL = YES;
WRAPPER_EXTENSION = app;
};
name = Release;

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View
@@ -1,2 +1,2 @@
platform :osx
-
+dependency 'INAppStoreWindow', :git => 'https://github.com/indragiek/INAppStoreWindow.git'
View
@@ -0,0 +1,5 @@
+PODS:
+ - INAppStoreWindow (1.0)
+
+DEPENDENCIES:
+ - INAppStoreWindow (from `https://github.com/indragiek/INAppStoreWindow.git')

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
Oops, something went wrong.

0 comments on commit b6904a7

Please sign in to comment.