Skip to content

Commit c442d6a

Browse files
Created Project
1 parent 9798b77 commit c442d6a

File tree

6 files changed

+410
-0
lines changed

6 files changed

+410
-0
lines changed
Lines changed: 304 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,304 @@
1+
// !$*UTF8*$!
2+
{
3+
archiveVersion = 1;
4+
classes = {
5+
};
6+
objectVersion = 50;
7+
objects = {
8+
9+
/* Begin PBXBuildFile section */
10+
5334903A21889FB3001ED443 /* BrooklynView.h in Headers */ = {isa = PBXBuildFile; fileRef = 5334903921889FB3001ED443 /* BrooklynView.h */; };
11+
5334903C21889FB3001ED443 /* BrooklynView.m in Sources */ = {isa = PBXBuildFile; fileRef = 5334903B21889FB3001ED443 /* BrooklynView.m */; };
12+
/* End PBXBuildFile section */
13+
14+
/* Begin PBXFileReference section */
15+
5334903621889FB3001ED443 /* Brooklyn.saver */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = Brooklyn.saver; sourceTree = BUILT_PRODUCTS_DIR; };
16+
5334903921889FB3001ED443 /* BrooklynView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = BrooklynView.h; sourceTree = "<group>"; };
17+
5334903B21889FB3001ED443 /* BrooklynView.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = BrooklynView.m; sourceTree = "<group>"; };
18+
5334903D21889FB3001ED443 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
19+
/* End PBXFileReference section */
20+
21+
/* Begin PBXFrameworksBuildPhase section */
22+
5334903321889FB3001ED443 /* Frameworks */ = {
23+
isa = PBXFrameworksBuildPhase;
24+
buildActionMask = 2147483647;
25+
files = (
26+
);
27+
runOnlyForDeploymentPostprocessing = 0;
28+
};
29+
/* End PBXFrameworksBuildPhase section */
30+
31+
/* Begin PBXGroup section */
32+
5334902C21889FB3001ED443 = {
33+
isa = PBXGroup;
34+
children = (
35+
5334903821889FB3001ED443 /* Brooklyn */,
36+
5334903721889FB3001ED443 /* Products */,
37+
);
38+
sourceTree = "<group>";
39+
};
40+
5334903721889FB3001ED443 /* Products */ = {
41+
isa = PBXGroup;
42+
children = (
43+
5334903621889FB3001ED443 /* Brooklyn.saver */,
44+
);
45+
name = Products;
46+
sourceTree = "<group>";
47+
};
48+
5334903821889FB3001ED443 /* Brooklyn */ = {
49+
isa = PBXGroup;
50+
children = (
51+
5334903921889FB3001ED443 /* BrooklynView.h */,
52+
5334903B21889FB3001ED443 /* BrooklynView.m */,
53+
5334903D21889FB3001ED443 /* Info.plist */,
54+
);
55+
path = Brooklyn;
56+
sourceTree = "<group>";
57+
};
58+
/* End PBXGroup section */
59+
60+
/* Begin PBXHeadersBuildPhase section */
61+
5334903121889FB3001ED443 /* Headers */ = {
62+
isa = PBXHeadersBuildPhase;
63+
buildActionMask = 2147483647;
64+
files = (
65+
5334903A21889FB3001ED443 /* BrooklynView.h in Headers */,
66+
);
67+
runOnlyForDeploymentPostprocessing = 0;
68+
};
69+
/* End PBXHeadersBuildPhase section */
70+
71+
/* Begin PBXNativeTarget section */
72+
5334903521889FB3001ED443 /* Brooklyn */ = {
73+
isa = PBXNativeTarget;
74+
buildConfigurationList = 5334904021889FB3001ED443 /* Build configuration list for PBXNativeTarget "Brooklyn" */;
75+
buildPhases = (
76+
5334903121889FB3001ED443 /* Headers */,
77+
5334903221889FB3001ED443 /* Sources */,
78+
5334903321889FB3001ED443 /* Frameworks */,
79+
5334903421889FB3001ED443 /* Resources */,
80+
);
81+
buildRules = (
82+
);
83+
dependencies = (
84+
);
85+
name = Brooklyn;
86+
productName = Brooklyn;
87+
productReference = 5334903621889FB3001ED443 /* Brooklyn.saver */;
88+
productType = "com.apple.product-type.bundle";
89+
};
90+
/* End PBXNativeTarget section */
91+
92+
/* Begin PBXProject section */
93+
5334902D21889FB3001ED443 /* Project object */ = {
94+
isa = PBXProject;
95+
attributes = {
96+
LastUpgradeCheck = 1000;
97+
ORGANIZATIONNAME = "Pedro Carrasco";
98+
TargetAttributes = {
99+
5334903521889FB3001ED443 = {
100+
CreatedOnToolsVersion = 10.0;
101+
};
102+
};
103+
};
104+
buildConfigurationList = 5334903021889FB3001ED443 /* Build configuration list for PBXProject "Brooklyn" */;
105+
compatibilityVersion = "Xcode 9.3";
106+
developmentRegion = en;
107+
hasScannedForEncodings = 0;
108+
knownRegions = (
109+
en,
110+
);
111+
mainGroup = 5334902C21889FB3001ED443;
112+
productRefGroup = 5334903721889FB3001ED443 /* Products */;
113+
projectDirPath = "";
114+
projectRoot = "";
115+
targets = (
116+
5334903521889FB3001ED443 /* Brooklyn */,
117+
);
118+
};
119+
/* End PBXProject section */
120+
121+
/* Begin PBXResourcesBuildPhase section */
122+
5334903421889FB3001ED443 /* Resources */ = {
123+
isa = PBXResourcesBuildPhase;
124+
buildActionMask = 2147483647;
125+
files = (
126+
);
127+
runOnlyForDeploymentPostprocessing = 0;
128+
};
129+
/* End PBXResourcesBuildPhase section */
130+
131+
/* Begin PBXSourcesBuildPhase section */
132+
5334903221889FB3001ED443 /* Sources */ = {
133+
isa = PBXSourcesBuildPhase;
134+
buildActionMask = 2147483647;
135+
files = (
136+
5334903C21889FB3001ED443 /* BrooklynView.m in Sources */,
137+
);
138+
runOnlyForDeploymentPostprocessing = 0;
139+
};
140+
/* End PBXSourcesBuildPhase section */
141+
142+
/* Begin XCBuildConfiguration section */
143+
5334903E21889FB3001ED443 /* Debug */ = {
144+
isa = XCBuildConfiguration;
145+
buildSettings = {
146+
ALWAYS_SEARCH_USER_PATHS = NO;
147+
CLANG_ANALYZER_NONNULL = YES;
148+
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
149+
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
150+
CLANG_CXX_LIBRARY = "libc++";
151+
CLANG_ENABLE_MODULES = YES;
152+
CLANG_ENABLE_OBJC_ARC = YES;
153+
CLANG_ENABLE_OBJC_WEAK = YES;
154+
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
155+
CLANG_WARN_BOOL_CONVERSION = YES;
156+
CLANG_WARN_COMMA = YES;
157+
CLANG_WARN_CONSTANT_CONVERSION = YES;
158+
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
159+
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
160+
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
161+
CLANG_WARN_EMPTY_BODY = YES;
162+
CLANG_WARN_ENUM_CONVERSION = YES;
163+
CLANG_WARN_INFINITE_RECURSION = YES;
164+
CLANG_WARN_INT_CONVERSION = YES;
165+
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
166+
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
167+
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
168+
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
169+
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
170+
CLANG_WARN_STRICT_PROTOTYPES = YES;
171+
CLANG_WARN_SUSPICIOUS_MOVE = YES;
172+
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
173+
CLANG_WARN_UNREACHABLE_CODE = YES;
174+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
175+
CODE_SIGN_IDENTITY = "-";
176+
COPY_PHASE_STRIP = NO;
177+
DEBUG_INFORMATION_FORMAT = dwarf;
178+
ENABLE_STRICT_OBJC_MSGSEND = YES;
179+
ENABLE_TESTABILITY = YES;
180+
GCC_C_LANGUAGE_STANDARD = gnu11;
181+
GCC_DYNAMIC_NO_PIC = NO;
182+
GCC_NO_COMMON_BLOCKS = YES;
183+
GCC_OPTIMIZATION_LEVEL = 0;
184+
GCC_PREPROCESSOR_DEFINITIONS = (
185+
"DEBUG=1",
186+
"$(inherited)",
187+
);
188+
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
189+
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
190+
GCC_WARN_UNDECLARED_SELECTOR = YES;
191+
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
192+
GCC_WARN_UNUSED_FUNCTION = YES;
193+
GCC_WARN_UNUSED_VARIABLE = YES;
194+
MACOSX_DEPLOYMENT_TARGET = 10.13;
195+
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
196+
MTL_FAST_MATH = YES;
197+
ONLY_ACTIVE_ARCH = YES;
198+
SDKROOT = macosx;
199+
};
200+
name = Debug;
201+
};
202+
5334903F21889FB3001ED443 /* Release */ = {
203+
isa = XCBuildConfiguration;
204+
buildSettings = {
205+
ALWAYS_SEARCH_USER_PATHS = NO;
206+
CLANG_ANALYZER_NONNULL = YES;
207+
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
208+
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
209+
CLANG_CXX_LIBRARY = "libc++";
210+
CLANG_ENABLE_MODULES = YES;
211+
CLANG_ENABLE_OBJC_ARC = YES;
212+
CLANG_ENABLE_OBJC_WEAK = YES;
213+
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
214+
CLANG_WARN_BOOL_CONVERSION = YES;
215+
CLANG_WARN_COMMA = YES;
216+
CLANG_WARN_CONSTANT_CONVERSION = YES;
217+
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
218+
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
219+
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
220+
CLANG_WARN_EMPTY_BODY = YES;
221+
CLANG_WARN_ENUM_CONVERSION = YES;
222+
CLANG_WARN_INFINITE_RECURSION = YES;
223+
CLANG_WARN_INT_CONVERSION = YES;
224+
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
225+
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
226+
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
227+
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
228+
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
229+
CLANG_WARN_STRICT_PROTOTYPES = YES;
230+
CLANG_WARN_SUSPICIOUS_MOVE = YES;
231+
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
232+
CLANG_WARN_UNREACHABLE_CODE = YES;
233+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
234+
CODE_SIGN_IDENTITY = "-";
235+
COPY_PHASE_STRIP = NO;
236+
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
237+
ENABLE_NS_ASSERTIONS = NO;
238+
ENABLE_STRICT_OBJC_MSGSEND = YES;
239+
GCC_C_LANGUAGE_STANDARD = gnu11;
240+
GCC_NO_COMMON_BLOCKS = YES;
241+
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
242+
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
243+
GCC_WARN_UNDECLARED_SELECTOR = YES;
244+
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
245+
GCC_WARN_UNUSED_FUNCTION = YES;
246+
GCC_WARN_UNUSED_VARIABLE = YES;
247+
MACOSX_DEPLOYMENT_TARGET = 10.13;
248+
MTL_ENABLE_DEBUG_INFO = NO;
249+
MTL_FAST_MATH = YES;
250+
SDKROOT = macosx;
251+
};
252+
name = Release;
253+
};
254+
5334904121889FB3001ED443 /* Debug */ = {
255+
isa = XCBuildConfiguration;
256+
buildSettings = {
257+
CODE_SIGN_STYLE = Automatic;
258+
COMBINE_HIDPI_IMAGES = YES;
259+
INFOPLIST_FILE = Brooklyn/Info.plist;
260+
INSTALL_PATH = "$(HOME)/Library/Screen Savers";
261+
PRODUCT_BUNDLE_IDENTIFIER = pedrommcarrasco.Brooklyn;
262+
PRODUCT_NAME = "$(TARGET_NAME)";
263+
WRAPPER_EXTENSION = saver;
264+
};
265+
name = Debug;
266+
};
267+
5334904221889FB3001ED443 /* Release */ = {
268+
isa = XCBuildConfiguration;
269+
buildSettings = {
270+
CODE_SIGN_STYLE = Automatic;
271+
COMBINE_HIDPI_IMAGES = YES;
272+
INFOPLIST_FILE = Brooklyn/Info.plist;
273+
INSTALL_PATH = "$(HOME)/Library/Screen Savers";
274+
PRODUCT_BUNDLE_IDENTIFIER = pedrommcarrasco.Brooklyn;
275+
PRODUCT_NAME = "$(TARGET_NAME)";
276+
WRAPPER_EXTENSION = saver;
277+
};
278+
name = Release;
279+
};
280+
/* End XCBuildConfiguration section */
281+
282+
/* Begin XCConfigurationList section */
283+
5334903021889FB3001ED443 /* Build configuration list for PBXProject "Brooklyn" */ = {
284+
isa = XCConfigurationList;
285+
buildConfigurations = (
286+
5334903E21889FB3001ED443 /* Debug */,
287+
5334903F21889FB3001ED443 /* Release */,
288+
);
289+
defaultConfigurationIsVisible = 0;
290+
defaultConfigurationName = Release;
291+
};
292+
5334904021889FB3001ED443 /* Build configuration list for PBXNativeTarget "Brooklyn" */ = {
293+
isa = XCConfigurationList;
294+
buildConfigurations = (
295+
5334904121889FB3001ED443 /* Debug */,
296+
5334904221889FB3001ED443 /* Release */,
297+
);
298+
defaultConfigurationIsVisible = 0;
299+
defaultConfigurationName = Release;
300+
};
301+
/* End XCConfigurationList section */
302+
};
303+
rootObject = 5334902D21889FB3001ED443 /* Project object */;
304+
}

Brooklyn/Brooklyn.xcodeproj/project.xcworkspace/contents.xcworkspacedata

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>IDEDidComputeMac32BitWarning</key>
6+
<true/>
7+
</dict>
8+
</plist>

Brooklyn/Brooklyn/BrooklynView.h

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
//
2+
// BrooklynView.h
3+
// Brooklyn
4+
//
5+
// Created by Pedro Carrasco on 30/10/2018.
6+
// Copyright © 2018 Pedro Carrasco. All rights reserved.
7+
//
8+
9+
#import <ScreenSaver/ScreenSaver.h>
10+
11+
@interface BrooklynView : ScreenSaverView
12+
13+
@end

Brooklyn/Brooklyn/BrooklynView.m

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
//
2+
// BrooklynView.m
3+
// Brooklyn
4+
//
5+
// Created by Pedro Carrasco on 30/10/2018.
6+
// Copyright © 2018 Pedro Carrasco. All rights reserved.
7+
//
8+
9+
#import "BrooklynView.h"
10+
11+
@implementation BrooklynView
12+
13+
- (instancetype)initWithFrame:(NSRect)frame isPreview:(BOOL)isPreview
14+
{
15+
self = [super initWithFrame:frame isPreview:isPreview];
16+
if (self) {
17+
[self setAnimationTimeInterval:1/30.0];
18+
}
19+
return self;
20+
}
21+
22+
- (void)startAnimation
23+
{
24+
[super startAnimation];
25+
}
26+
27+
- (void)stopAnimation
28+
{
29+
[super stopAnimation];
30+
}
31+
32+
- (void)drawRect:(NSRect)rect
33+
{
34+
[super drawRect:rect];
35+
}
36+
37+
- (void)animateOneFrame
38+
{
39+
return;
40+
}
41+
42+
- (BOOL)hasConfigureSheet
43+
{
44+
return NO;
45+
}
46+
47+
- (NSWindow*)configureSheet
48+
{
49+
return nil;
50+
}
51+
52+
@end

0 commit comments

Comments
 (0)