Skip to content

Commit

Permalink
Created Project
Browse files Browse the repository at this point in the history
  • Loading branch information
pedrommcarrasco committed Oct 30, 2018
1 parent 9798b77 commit c442d6a
Show file tree
Hide file tree
Showing 6 changed files with 410 additions and 0 deletions.
304 changes: 304 additions & 0 deletions Brooklyn/Brooklyn.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,304 @@
// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 50;
objects = {

/* Begin PBXBuildFile section */
5334903A21889FB3001ED443 /* BrooklynView.h in Headers */ = {isa = PBXBuildFile; fileRef = 5334903921889FB3001ED443 /* BrooklynView.h */; };
5334903C21889FB3001ED443 /* BrooklynView.m in Sources */ = {isa = PBXBuildFile; fileRef = 5334903B21889FB3001ED443 /* BrooklynView.m */; };
/* End PBXBuildFile section */

/* Begin PBXFileReference section */
5334903621889FB3001ED443 /* Brooklyn.saver */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = Brooklyn.saver; sourceTree = BUILT_PRODUCTS_DIR; };
5334903921889FB3001ED443 /* BrooklynView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = BrooklynView.h; sourceTree = "<group>"; };
5334903B21889FB3001ED443 /* BrooklynView.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = BrooklynView.m; sourceTree = "<group>"; };
5334903D21889FB3001ED443 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
5334903321889FB3001ED443 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */

/* Begin PBXGroup section */
5334902C21889FB3001ED443 = {
isa = PBXGroup;
children = (
5334903821889FB3001ED443 /* Brooklyn */,
5334903721889FB3001ED443 /* Products */,
);
sourceTree = "<group>";
};
5334903721889FB3001ED443 /* Products */ = {
isa = PBXGroup;
children = (
5334903621889FB3001ED443 /* Brooklyn.saver */,
);
name = Products;
sourceTree = "<group>";
};
5334903821889FB3001ED443 /* Brooklyn */ = {
isa = PBXGroup;
children = (
5334903921889FB3001ED443 /* BrooklynView.h */,
5334903B21889FB3001ED443 /* BrooklynView.m */,
5334903D21889FB3001ED443 /* Info.plist */,
);
path = Brooklyn;
sourceTree = "<group>";
};
/* End PBXGroup section */

/* Begin PBXHeadersBuildPhase section */
5334903121889FB3001ED443 /* Headers */ = {
isa = PBXHeadersBuildPhase;
buildActionMask = 2147483647;
files = (
5334903A21889FB3001ED443 /* BrooklynView.h in Headers */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXHeadersBuildPhase section */

/* Begin PBXNativeTarget section */
5334903521889FB3001ED443 /* Brooklyn */ = {
isa = PBXNativeTarget;
buildConfigurationList = 5334904021889FB3001ED443 /* Build configuration list for PBXNativeTarget "Brooklyn" */;
buildPhases = (
5334903121889FB3001ED443 /* Headers */,
5334903221889FB3001ED443 /* Sources */,
5334903321889FB3001ED443 /* Frameworks */,
5334903421889FB3001ED443 /* Resources */,
);
buildRules = (
);
dependencies = (
);
name = Brooklyn;
productName = Brooklyn;
productReference = 5334903621889FB3001ED443 /* Brooklyn.saver */;
productType = "com.apple.product-type.bundle";
};
/* End PBXNativeTarget section */

/* Begin PBXProject section */
5334902D21889FB3001ED443 /* Project object */ = {
isa = PBXProject;
attributes = {
LastUpgradeCheck = 1000;
ORGANIZATIONNAME = "Pedro Carrasco";
TargetAttributes = {
5334903521889FB3001ED443 = {
CreatedOnToolsVersion = 10.0;
};
};
};
buildConfigurationList = 5334903021889FB3001ED443 /* Build configuration list for PBXProject "Brooklyn" */;
compatibilityVersion = "Xcode 9.3";
developmentRegion = en;
hasScannedForEncodings = 0;
knownRegions = (
en,
);
mainGroup = 5334902C21889FB3001ED443;
productRefGroup = 5334903721889FB3001ED443 /* Products */;
projectDirPath = "";
projectRoot = "";
targets = (
5334903521889FB3001ED443 /* Brooklyn */,
);
};
/* End PBXProject section */

/* Begin PBXResourcesBuildPhase section */
5334903421889FB3001ED443 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
5334903221889FB3001ED443 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
5334903C21889FB3001ED443 /* BrooklynView.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */

/* Begin XCBuildConfiguration section */
5334903E21889FB3001ED443 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_ENABLE_OBJC_WEAK = YES;
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CODE_SIGN_IDENTITY = "-";
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = dwarf;
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_TESTABILITY = YES;
GCC_C_LANGUAGE_STANDARD = gnu11;
GCC_DYNAMIC_NO_PIC = NO;
GCC_NO_COMMON_BLOCKS = YES;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PREPROCESSOR_DEFINITIONS = (
"DEBUG=1",
"$(inherited)",
);
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.13;
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = macosx;
};
name = Debug;
};
5334903F21889FB3001ED443 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_ENABLE_OBJC_WEAK = YES;
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CODE_SIGN_IDENTITY = "-";
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
ENABLE_NS_ASSERTIONS = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_C_LANGUAGE_STANDARD = gnu11;
GCC_NO_COMMON_BLOCKS = YES;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.13;
MTL_ENABLE_DEBUG_INFO = NO;
MTL_FAST_MATH = YES;
SDKROOT = macosx;
};
name = Release;
};
5334904121889FB3001ED443 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
INFOPLIST_FILE = Brooklyn/Info.plist;
INSTALL_PATH = "$(HOME)/Library/Screen Savers";
PRODUCT_BUNDLE_IDENTIFIER = pedrommcarrasco.Brooklyn;
PRODUCT_NAME = "$(TARGET_NAME)";
WRAPPER_EXTENSION = saver;
};
name = Debug;
};
5334904221889FB3001ED443 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
INFOPLIST_FILE = Brooklyn/Info.plist;
INSTALL_PATH = "$(HOME)/Library/Screen Savers";
PRODUCT_BUNDLE_IDENTIFIER = pedrommcarrasco.Brooklyn;
PRODUCT_NAME = "$(TARGET_NAME)";
WRAPPER_EXTENSION = saver;
};
name = Release;
};
/* End XCBuildConfiguration section */

/* Begin XCConfigurationList section */
5334903021889FB3001ED443 /* Build configuration list for PBXProject "Brooklyn" */ = {
isa = XCConfigurationList;
buildConfigurations = (
5334903E21889FB3001ED443 /* Debug */,
5334903F21889FB3001ED443 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
5334904021889FB3001ED443 /* Build configuration list for PBXNativeTarget "Brooklyn" */ = {
isa = XCConfigurationList;
buildConfigurations = (
5334904121889FB3001ED443 /* Debug */,
5334904221889FB3001ED443 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
rootObject = 5334902D21889FB3001ED443 /* Project object */;
}

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

Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IDEDidComputeMac32BitWarning</key>
<true/>
</dict>
</plist>
13 changes: 13 additions & 0 deletions Brooklyn/Brooklyn/BrooklynView.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
//
// BrooklynView.h
// Brooklyn
//
// Created by Pedro Carrasco on 30/10/2018.
// Copyright © 2018 Pedro Carrasco. All rights reserved.
//

#import <ScreenSaver/ScreenSaver.h>

@interface BrooklynView : ScreenSaverView

@end
52 changes: 52 additions & 0 deletions Brooklyn/Brooklyn/BrooklynView.m
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
//
// BrooklynView.m
// Brooklyn
//
// Created by Pedro Carrasco on 30/10/2018.
// Copyright © 2018 Pedro Carrasco. All rights reserved.
//

#import "BrooklynView.h"

@implementation BrooklynView

- (instancetype)initWithFrame:(NSRect)frame isPreview:(BOOL)isPreview
{
self = [super initWithFrame:frame isPreview:isPreview];
if (self) {
[self setAnimationTimeInterval:1/30.0];
}
return self;
}

- (void)startAnimation
{
[super startAnimation];
}

- (void)stopAnimation
{
[super stopAnimation];
}

- (void)drawRect:(NSRect)rect
{
[super drawRect:rect];
}

- (void)animateOneFrame
{
return;
}

- (BOOL)hasConfigureSheet
{
return NO;
}

- (NSWindow*)configureSheet
{
return nil;
}

@end
Loading

0 comments on commit c442d6a

Please sign in to comment.