Skip to content

Commit 89518a7

Browse files
author
hussienalrubaye
committed
best weight
1 parent 192e1dd commit 89518a7

File tree

25 files changed

+1622
-0
lines changed

25 files changed

+1622
-0
lines changed

Swift 3/Errors.playground/Contents.swift

+2
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ if (x == 10){
2222
print(z)
2323
}
2424

25+
26+
2527

2628
// print(z) // error
2729

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,309 @@
1+
// !$*UTF8*$!
2+
{
3+
archiveVersion = 1;
4+
classes = {
5+
};
6+
objectVersion = 46;
7+
objects = {
8+
9+
/* Begin PBXBuildFile section */
10+
C72AC9771DE80C1E0047D5A2 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = C72AC9761DE80C1E0047D5A2 /* AppDelegate.swift */; };
11+
C72AC9791DE80C1E0047D5A2 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = C72AC9781DE80C1E0047D5A2 /* ViewController.swift */; };
12+
C72AC97C1DE80C1E0047D5A2 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = C72AC97A1DE80C1E0047D5A2 /* Main.storyboard */; };
13+
C72AC97E1DE80C1E0047D5A2 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = C72AC97D1DE80C1E0047D5A2 /* Assets.xcassets */; };
14+
C72AC9811DE80C1E0047D5A2 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = C72AC97F1DE80C1E0047D5A2 /* LaunchScreen.storyboard */; };
15+
/* End PBXBuildFile section */
16+
17+
/* Begin PBXFileReference section */
18+
C72AC9731DE80C1E0047D5A2 /* bestWeight.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = bestWeight.app; sourceTree = BUILT_PRODUCTS_DIR; };
19+
C72AC9761DE80C1E0047D5A2 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
20+
C72AC9781DE80C1E0047D5A2 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = "<group>"; };
21+
C72AC97B1DE80C1E0047D5A2 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
22+
C72AC97D1DE80C1E0047D5A2 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
23+
C72AC9801DE80C1E0047D5A2 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
24+
C72AC9821DE80C1E0047D5A2 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
25+
/* End PBXFileReference section */
26+
27+
/* Begin PBXFrameworksBuildPhase section */
28+
C72AC9701DE80C1E0047D5A2 /* Frameworks */ = {
29+
isa = PBXFrameworksBuildPhase;
30+
buildActionMask = 2147483647;
31+
files = (
32+
);
33+
runOnlyForDeploymentPostprocessing = 0;
34+
};
35+
/* End PBXFrameworksBuildPhase section */
36+
37+
/* Begin PBXGroup section */
38+
C72AC96A1DE80C1E0047D5A2 = {
39+
isa = PBXGroup;
40+
children = (
41+
C72AC9751DE80C1E0047D5A2 /* bestWeight */,
42+
C72AC9741DE80C1E0047D5A2 /* Products */,
43+
);
44+
sourceTree = "<group>";
45+
};
46+
C72AC9741DE80C1E0047D5A2 /* Products */ = {
47+
isa = PBXGroup;
48+
children = (
49+
C72AC9731DE80C1E0047D5A2 /* bestWeight.app */,
50+
);
51+
name = Products;
52+
sourceTree = "<group>";
53+
};
54+
C72AC9751DE80C1E0047D5A2 /* bestWeight */ = {
55+
isa = PBXGroup;
56+
children = (
57+
C72AC9761DE80C1E0047D5A2 /* AppDelegate.swift */,
58+
C72AC9781DE80C1E0047D5A2 /* ViewController.swift */,
59+
C72AC97A1DE80C1E0047D5A2 /* Main.storyboard */,
60+
C72AC97D1DE80C1E0047D5A2 /* Assets.xcassets */,
61+
C72AC97F1DE80C1E0047D5A2 /* LaunchScreen.storyboard */,
62+
C72AC9821DE80C1E0047D5A2 /* Info.plist */,
63+
);
64+
path = bestWeight;
65+
sourceTree = "<group>";
66+
};
67+
/* End PBXGroup section */
68+
69+
/* Begin PBXNativeTarget section */
70+
C72AC9721DE80C1E0047D5A2 /* bestWeight */ = {
71+
isa = PBXNativeTarget;
72+
buildConfigurationList = C72AC9851DE80C1E0047D5A2 /* Build configuration list for PBXNativeTarget "bestWeight" */;
73+
buildPhases = (
74+
C72AC96F1DE80C1E0047D5A2 /* Sources */,
75+
C72AC9701DE80C1E0047D5A2 /* Frameworks */,
76+
C72AC9711DE80C1E0047D5A2 /* Resources */,
77+
);
78+
buildRules = (
79+
);
80+
dependencies = (
81+
);
82+
name = bestWeight;
83+
productName = bestWeight;
84+
productReference = C72AC9731DE80C1E0047D5A2 /* bestWeight.app */;
85+
productType = "com.apple.product-type.application";
86+
};
87+
/* End PBXNativeTarget section */
88+
89+
/* Begin PBXProject section */
90+
C72AC96B1DE80C1E0047D5A2 /* Project object */ = {
91+
isa = PBXProject;
92+
attributes = {
93+
LastSwiftUpdateCheck = 0810;
94+
LastUpgradeCheck = 0810;
95+
ORGANIZATIONNAME = "hussien alrubaye";
96+
TargetAttributes = {
97+
C72AC9721DE80C1E0047D5A2 = {
98+
CreatedOnToolsVersion = 8.1;
99+
DevelopmentTeam = G8V2K73GKS;
100+
ProvisioningStyle = Automatic;
101+
};
102+
};
103+
};
104+
buildConfigurationList = C72AC96E1DE80C1E0047D5A2 /* Build configuration list for PBXProject "bestWeight" */;
105+
compatibilityVersion = "Xcode 3.2";
106+
developmentRegion = English;
107+
hasScannedForEncodings = 0;
108+
knownRegions = (
109+
en,
110+
Base,
111+
);
112+
mainGroup = C72AC96A1DE80C1E0047D5A2;
113+
productRefGroup = C72AC9741DE80C1E0047D5A2 /* Products */;
114+
projectDirPath = "";
115+
projectRoot = "";
116+
targets = (
117+
C72AC9721DE80C1E0047D5A2 /* bestWeight */,
118+
);
119+
};
120+
/* End PBXProject section */
121+
122+
/* Begin PBXResourcesBuildPhase section */
123+
C72AC9711DE80C1E0047D5A2 /* Resources */ = {
124+
isa = PBXResourcesBuildPhase;
125+
buildActionMask = 2147483647;
126+
files = (
127+
C72AC9811DE80C1E0047D5A2 /* LaunchScreen.storyboard in Resources */,
128+
C72AC97E1DE80C1E0047D5A2 /* Assets.xcassets in Resources */,
129+
C72AC97C1DE80C1E0047D5A2 /* Main.storyboard in Resources */,
130+
);
131+
runOnlyForDeploymentPostprocessing = 0;
132+
};
133+
/* End PBXResourcesBuildPhase section */
134+
135+
/* Begin PBXSourcesBuildPhase section */
136+
C72AC96F1DE80C1E0047D5A2 /* Sources */ = {
137+
isa = PBXSourcesBuildPhase;
138+
buildActionMask = 2147483647;
139+
files = (
140+
C72AC9791DE80C1E0047D5A2 /* ViewController.swift in Sources */,
141+
C72AC9771DE80C1E0047D5A2 /* AppDelegate.swift in Sources */,
142+
);
143+
runOnlyForDeploymentPostprocessing = 0;
144+
};
145+
/* End PBXSourcesBuildPhase section */
146+
147+
/* Begin PBXVariantGroup section */
148+
C72AC97A1DE80C1E0047D5A2 /* Main.storyboard */ = {
149+
isa = PBXVariantGroup;
150+
children = (
151+
C72AC97B1DE80C1E0047D5A2 /* Base */,
152+
);
153+
name = Main.storyboard;
154+
sourceTree = "<group>";
155+
};
156+
C72AC97F1DE80C1E0047D5A2 /* LaunchScreen.storyboard */ = {
157+
isa = PBXVariantGroup;
158+
children = (
159+
C72AC9801DE80C1E0047D5A2 /* Base */,
160+
);
161+
name = LaunchScreen.storyboard;
162+
sourceTree = "<group>";
163+
};
164+
/* End PBXVariantGroup section */
165+
166+
/* Begin XCBuildConfiguration section */
167+
C72AC9831DE80C1E0047D5A2 /* Debug */ = {
168+
isa = XCBuildConfiguration;
169+
buildSettings = {
170+
ALWAYS_SEARCH_USER_PATHS = NO;
171+
CLANG_ANALYZER_NONNULL = YES;
172+
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
173+
CLANG_CXX_LIBRARY = "libc++";
174+
CLANG_ENABLE_MODULES = YES;
175+
CLANG_ENABLE_OBJC_ARC = YES;
176+
CLANG_WARN_BOOL_CONVERSION = YES;
177+
CLANG_WARN_CONSTANT_CONVERSION = YES;
178+
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
179+
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
180+
CLANG_WARN_EMPTY_BODY = YES;
181+
CLANG_WARN_ENUM_CONVERSION = YES;
182+
CLANG_WARN_INFINITE_RECURSION = YES;
183+
CLANG_WARN_INT_CONVERSION = YES;
184+
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
185+
CLANG_WARN_SUSPICIOUS_MOVES = YES;
186+
CLANG_WARN_UNREACHABLE_CODE = YES;
187+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
188+
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
189+
COPY_PHASE_STRIP = NO;
190+
DEBUG_INFORMATION_FORMAT = dwarf;
191+
ENABLE_STRICT_OBJC_MSGSEND = YES;
192+
ENABLE_TESTABILITY = YES;
193+
GCC_C_LANGUAGE_STANDARD = gnu99;
194+
GCC_DYNAMIC_NO_PIC = NO;
195+
GCC_NO_COMMON_BLOCKS = YES;
196+
GCC_OPTIMIZATION_LEVEL = 0;
197+
GCC_PREPROCESSOR_DEFINITIONS = (
198+
"DEBUG=1",
199+
"$(inherited)",
200+
);
201+
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
202+
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
203+
GCC_WARN_UNDECLARED_SELECTOR = YES;
204+
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
205+
GCC_WARN_UNUSED_FUNCTION = YES;
206+
GCC_WARN_UNUSED_VARIABLE = YES;
207+
IPHONEOS_DEPLOYMENT_TARGET = 10.1;
208+
MTL_ENABLE_DEBUG_INFO = YES;
209+
ONLY_ACTIVE_ARCH = YES;
210+
SDKROOT = iphoneos;
211+
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
212+
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
213+
TARGETED_DEVICE_FAMILY = "1,2";
214+
};
215+
name = Debug;
216+
};
217+
C72AC9841DE80C1E0047D5A2 /* Release */ = {
218+
isa = XCBuildConfiguration;
219+
buildSettings = {
220+
ALWAYS_SEARCH_USER_PATHS = NO;
221+
CLANG_ANALYZER_NONNULL = YES;
222+
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
223+
CLANG_CXX_LIBRARY = "libc++";
224+
CLANG_ENABLE_MODULES = YES;
225+
CLANG_ENABLE_OBJC_ARC = YES;
226+
CLANG_WARN_BOOL_CONVERSION = YES;
227+
CLANG_WARN_CONSTANT_CONVERSION = YES;
228+
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
229+
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
230+
CLANG_WARN_EMPTY_BODY = YES;
231+
CLANG_WARN_ENUM_CONVERSION = YES;
232+
CLANG_WARN_INFINITE_RECURSION = YES;
233+
CLANG_WARN_INT_CONVERSION = YES;
234+
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
235+
CLANG_WARN_SUSPICIOUS_MOVES = YES;
236+
CLANG_WARN_UNREACHABLE_CODE = YES;
237+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
238+
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
239+
COPY_PHASE_STRIP = NO;
240+
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
241+
ENABLE_NS_ASSERTIONS = NO;
242+
ENABLE_STRICT_OBJC_MSGSEND = YES;
243+
GCC_C_LANGUAGE_STANDARD = gnu99;
244+
GCC_NO_COMMON_BLOCKS = YES;
245+
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
246+
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
247+
GCC_WARN_UNDECLARED_SELECTOR = YES;
248+
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
249+
GCC_WARN_UNUSED_FUNCTION = YES;
250+
GCC_WARN_UNUSED_VARIABLE = YES;
251+
IPHONEOS_DEPLOYMENT_TARGET = 10.1;
252+
MTL_ENABLE_DEBUG_INFO = NO;
253+
SDKROOT = iphoneos;
254+
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
255+
TARGETED_DEVICE_FAMILY = "1,2";
256+
VALIDATE_PRODUCT = YES;
257+
};
258+
name = Release;
259+
};
260+
C72AC9861DE80C1E0047D5A2 /* Debug */ = {
261+
isa = XCBuildConfiguration;
262+
buildSettings = {
263+
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
264+
DEVELOPMENT_TEAM = G8V2K73GKS;
265+
INFOPLIST_FILE = bestWeight/Info.plist;
266+
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
267+
PRODUCT_BUNDLE_IDENTIFIER = com.alrubaye.net.bestWeight;
268+
PRODUCT_NAME = "$(TARGET_NAME)";
269+
SWIFT_VERSION = 3.0;
270+
};
271+
name = Debug;
272+
};
273+
C72AC9871DE80C1E0047D5A2 /* Release */ = {
274+
isa = XCBuildConfiguration;
275+
buildSettings = {
276+
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
277+
DEVELOPMENT_TEAM = G8V2K73GKS;
278+
INFOPLIST_FILE = bestWeight/Info.plist;
279+
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
280+
PRODUCT_BUNDLE_IDENTIFIER = com.alrubaye.net.bestWeight;
281+
PRODUCT_NAME = "$(TARGET_NAME)";
282+
SWIFT_VERSION = 3.0;
283+
};
284+
name = Release;
285+
};
286+
/* End XCBuildConfiguration section */
287+
288+
/* Begin XCConfigurationList section */
289+
C72AC96E1DE80C1E0047D5A2 /* Build configuration list for PBXProject "bestWeight" */ = {
290+
isa = XCConfigurationList;
291+
buildConfigurations = (
292+
C72AC9831DE80C1E0047D5A2 /* Debug */,
293+
C72AC9841DE80C1E0047D5A2 /* Release */,
294+
);
295+
defaultConfigurationIsVisible = 0;
296+
defaultConfigurationName = Release;
297+
};
298+
C72AC9851DE80C1E0047D5A2 /* Build configuration list for PBXNativeTarget "bestWeight" */ = {
299+
isa = XCConfigurationList;
300+
buildConfigurations = (
301+
C72AC9861DE80C1E0047D5A2 /* Debug */,
302+
C72AC9871DE80C1E0047D5A2 /* Release */,
303+
);
304+
defaultConfigurationIsVisible = 0;
305+
};
306+
/* End XCConfigurationList section */
307+
};
308+
rootObject = C72AC96B1DE80C1E0047D5A2 /* Project object */;
309+
}

iOS 10/calculator/BestWeight/bestWeight/bestWeight.xcodeproj/project.xcworkspace/contents.xcworkspacedata

+7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<Bucket
3+
type = "1"
4+
version = "2.0">
5+
<Breakpoints>
6+
<BreakpointProxy
7+
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
8+
<BreakpointContent
9+
shouldBeEnabled = "No"
10+
ignoreCount = "0"
11+
continueAfterRunningActions = "No"
12+
filePath = "bestWeight/ViewController.swift"
13+
timestampString = "501749888.528808"
14+
startingColumnNumber = "9223372036854775807"
15+
endingColumnNumber = "9223372036854775807"
16+
startingLineNumber = "61"
17+
endingLineNumber = "61"
18+
landmarkName = "buGetBestWeight(_:)"
19+
landmarkType = "7">
20+
</BreakpointContent>
21+
</BreakpointProxy>
22+
<BreakpointProxy
23+
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
24+
<BreakpointContent
25+
shouldBeEnabled = "No"
26+
ignoreCount = "0"
27+
continueAfterRunningActions = "No"
28+
filePath = "bestWeight/ViewController.swift"
29+
timestampString = "501749888.528808"
30+
startingColumnNumber = "9223372036854775807"
31+
endingColumnNumber = "9223372036854775807"
32+
startingLineNumber = "65"
33+
endingLineNumber = "65"
34+
landmarkName = "buGetBestWeight(_:)"
35+
landmarkType = "7">
36+
</BreakpointContent>
37+
</BreakpointProxy>
38+
</Breakpoints>
39+
</Bucket>

0 commit comments

Comments
 (0)