├── .cocoadocs.yml
├── .gitignore
├── .travis.yml
├── Example
├── Podfile
├── Podfile.lock
├── Pods
│ ├── Headers
│ │ └── Private
│ │ │ └── SHTwoDimensionalArray
│ │ │ └── SHTwoDimensionalArray.h
│ ├── Local Podspecs
│ │ └── SHTwoDimensionalArray.podspec.json
│ ├── Manifest.lock
│ ├── Pods.xcodeproj
│ │ ├── project.pbxproj
│ │ ├── project.xcworkspace
│ │ │ └── contents.xcworkspacedata
│ │ └── xcshareddata
│ │ │ └── xcschemes
│ │ │ └── SHTwoDimensionalArray.xcscheme
│ └── Target Support Files
│ │ ├── Pods-SHTwoDimensionalArray_Tests
│ │ ├── Info.plist
│ │ ├── Pods-SHTwoDimensionalArray_Tests-acknowledgements.markdown
│ │ ├── Pods-SHTwoDimensionalArray_Tests-acknowledgements.plist
│ │ ├── Pods-SHTwoDimensionalArray_Tests-dummy.m
│ │ ├── Pods-SHTwoDimensionalArray_Tests-frameworks.sh
│ │ ├── Pods-SHTwoDimensionalArray_Tests-resources.sh
│ │ ├── Pods-SHTwoDimensionalArray_Tests-umbrella.h
│ │ ├── Pods-SHTwoDimensionalArray_Tests.debug.xcconfig
│ │ ├── Pods-SHTwoDimensionalArray_Tests.modulemap
│ │ └── Pods-SHTwoDimensionalArray_Tests.release.xcconfig
│ │ └── SHTwoDimensionalArray
│ │ ├── Info.plist
│ │ ├── SHTwoDimensionalArray-dummy.m
│ │ ├── SHTwoDimensionalArray-prefix.pch
│ │ ├── SHTwoDimensionalArray-umbrella.h
│ │ ├── SHTwoDimensionalArray.modulemap
│ │ └── SHTwoDimensionalArray.xcconfig
├── SHTwoDimensionalArray.xcodeproj
│ ├── project.pbxproj
│ ├── project.xcworkspace
│ │ └── contents.xcworkspacedata
│ └── xcshareddata
│ │ └── xcschemes
│ │ └── SHTwoDimensionalArray-Example.xcscheme
├── SHTwoDimensionalArray.xcworkspace
│ └── contents.xcworkspacedata
└── Tests
│ ├── SHTwoDArrayTests.m
│ ├── Tests-Info.plist
│ ├── Tests-Prefix.pch
│ └── en.lproj
│ └── InfoPlist.strings
├── Images
└── codewithshabib.png
├── LICENSE
├── README.md
├── SHTwoDimensionalArray.podspec
├── SHTwoDimensionalArray
├── Assets
│ └── .gitkeep
└── Classes
│ ├── .gitkeep
│ ├── SHTwoDimensionalArray.h
│ └── SHTwoDimensionalArray.m
└── _Pods.xcodeproj
/.cocoadocs.yml:
--------------------------------------------------------------------------------
1 | highlight_color: "#19b35e;"
2 | highlight-dark-color: "#00a98b;"
3 | darker-color: "#b2c6b9;"
4 | darker-dark-color: "#94a8a7;"
5 | background-colour: "#e5f2ec;"
6 | alt-link-color: "#00a98b;"
7 | warning-color: "#b88391;"
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | # OS X
2 | .DS_Store
3 |
4 | # Xcode
5 | build/
6 | *.pbxuser
7 | !default.pbxuser
8 | *.mode1v3
9 | !default.mode1v3
10 | *.mode2v3
11 | !default.mode2v3
12 | *.perspectivev3
13 | !default.perspectivev3
14 | xcuserdata/
15 | *.xccheckout
16 | profile
17 | *.moved-aside
18 | DerivedData
19 | *.hmap
20 | *.ipa
21 |
22 | # Bundler
23 | .bundle
24 |
25 | Carthage
26 | # We recommend against adding the Pods directory to your .gitignore. However
27 | # you should judge for yourself, the pros and cons are mentioned at:
28 | # http://guides.cocoapods.org/using/using-cocoapods.html#should-i-ignore-the-pods-directory-in-source-control
29 | #
30 | # Note: if you ignore the Pods directory, make sure to uncomment
31 | # `pod install` in .travis.yml
32 | #
33 | # Pods/
34 |
--------------------------------------------------------------------------------
/.travis.yml:
--------------------------------------------------------------------------------
1 | # references:
2 | # * http://www.objc.io/issue-6/travis-ci.html
3 | # * https://github.com/supermarin/xcpretty#usage
4 |
5 | osx_image: xcode7.3
6 | language: objective-c
7 | # cache: cocoapods
8 | # podfile: Example/Podfile
9 | # before_install:
10 | # - gem install cocoapods # Since Travis is not always on latest version
11 | # - pod install --project-directory=Example
12 | script:
13 | - set -o pipefail && xcodebuild test -workspace Example/SHTwoDimensionalArray.xcworkspace -scheme SHTwoDimensionalArray-Example -sdk iphonesimulator9.3 ONLY_ACTIVE_ARCH=NO | xcpretty
14 | - pod lib lint
15 |
--------------------------------------------------------------------------------
/Example/Podfile:
--------------------------------------------------------------------------------
1 | use_frameworks!
2 | target 'SHTwoDimensionalArray_Tests' do
3 | pod 'SHTwoDimensionalArray', :path => '../'
4 |
5 |
6 | end
7 |
--------------------------------------------------------------------------------
/Example/Podfile.lock:
--------------------------------------------------------------------------------
1 | PODS:
2 | - SHTwoDimensionalArray (0.1.1)
3 |
4 | DEPENDENCIES:
5 | - SHTwoDimensionalArray (from `../`)
6 |
7 | EXTERNAL SOURCES:
8 | SHTwoDimensionalArray:
9 | :path: ../
10 |
11 | SPEC CHECKSUMS:
12 | SHTwoDimensionalArray: e65bc82c6789ebab09d0cbba005efea9329d3e1e
13 |
14 | COCOAPODS: 0.39.0
15 |
--------------------------------------------------------------------------------
/Example/Pods/Headers/Private/SHTwoDimensionalArray/SHTwoDimensionalArray.h:
--------------------------------------------------------------------------------
1 | ../../../../../SHTwoDimensionalArray/Classes/SHTwoDimensionalArray.h
--------------------------------------------------------------------------------
/Example/Pods/Local Podspecs/SHTwoDimensionalArray.podspec.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "SHTwoDimensionalArray",
3 | "version": "0.1.1",
4 | "summary": "Easy to use two dimensional array for iOS applications.",
5 | "description": "This CocoaPod provides the ability to use a two dimensional array that can be used using row and column index.",
6 | "homepage": "https://github.com/shabib87/SHTwoDimensionalArray",
7 | "license": {
8 | "type": "MIT",
9 | "file": "LICENSE"
10 | },
11 | "authors": {
12 | "Ahmad Shabibul Hossain": "shabib.sust@gmail.com"
13 | },
14 | "source": {
15 | "git": "https://github.com/shabib87/SHTwoDimensionalArray.git",
16 | "tag": "0.1.1"
17 | },
18 | "social_media_url": "https://twitter.com/shabib_hossain",
19 | "platforms": {
20 | "ios": "7.0"
21 | },
22 | "source_files": "SHTwoDimensionalArray/Classes/**/*"
23 | }
24 |
--------------------------------------------------------------------------------
/Example/Pods/Manifest.lock:
--------------------------------------------------------------------------------
1 | PODS:
2 | - SHTwoDimensionalArray (0.1.1)
3 |
4 | DEPENDENCIES:
5 | - SHTwoDimensionalArray (from `../`)
6 |
7 | EXTERNAL SOURCES:
8 | SHTwoDimensionalArray:
9 | :path: ../
10 |
11 | SPEC CHECKSUMS:
12 | SHTwoDimensionalArray: e65bc82c6789ebab09d0cbba005efea9329d3e1e
13 |
14 | COCOAPODS: 0.39.0
15 |
--------------------------------------------------------------------------------
/Example/Pods/Pods.xcodeproj/project.pbxproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | archiveVersion
6 | 1
7 | classes
8 |
9 | objectVersion
10 | 46
11 | objects
12 |
13 | 0182F0FBB639D80D92FA25A485E2C44F
14 |
15 | buildActionMask
16 | 2147483647
17 | files
18 |
19 | 7F491CE90082CE02C18F94ED4208DDCB
20 | 9B20ECA0881F127C28710B55B8E875BD
21 |
22 | isa
23 | PBXSourcesBuildPhase
24 | runOnlyForDeploymentPostprocessing
25 | 0
26 |
27 | 052A17875CB827423D627183396CEB60
28 |
29 | buildSettings
30 |
31 | ALWAYS_SEARCH_USER_PATHS
32 | NO
33 | CLANG_CXX_LANGUAGE_STANDARD
34 | gnu++0x
35 | CLANG_CXX_LIBRARY
36 | libc++
37 | CLANG_ENABLE_MODULES
38 | YES
39 | CLANG_ENABLE_OBJC_ARC
40 | YES
41 | CLANG_WARN_BOOL_CONVERSION
42 | YES
43 | CLANG_WARN_CONSTANT_CONVERSION
44 | YES
45 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE
46 | YES
47 | CLANG_WARN_EMPTY_BODY
48 | YES
49 | CLANG_WARN_ENUM_CONVERSION
50 | YES
51 | CLANG_WARN_INT_CONVERSION
52 | YES
53 | CLANG_WARN_OBJC_ROOT_CLASS
54 | YES
55 | CLANG_WARN_UNREACHABLE_CODE
56 | YES
57 | CLANG_WARN__DUPLICATE_METHOD_MATCH
58 | YES
59 | COPY_PHASE_STRIP
60 | YES
61 | ENABLE_NS_ASSERTIONS
62 | NO
63 | GCC_C_LANGUAGE_STANDARD
64 | gnu99
65 | GCC_PREPROCESSOR_DEFINITIONS
66 |
67 | RELEASE=1
68 |
69 | GCC_WARN_64_TO_32_BIT_CONVERSION
70 | YES
71 | GCC_WARN_ABOUT_RETURN_TYPE
72 | YES
73 | GCC_WARN_UNDECLARED_SELECTOR
74 | YES
75 | GCC_WARN_UNINITIALIZED_AUTOS
76 | YES
77 | GCC_WARN_UNUSED_FUNCTION
78 | YES
79 | GCC_WARN_UNUSED_VARIABLE
80 | YES
81 | IPHONEOS_DEPLOYMENT_TARGET
82 | 7.0
83 | STRIP_INSTALLED_PRODUCT
84 | NO
85 | SYMROOT
86 | ${SRCROOT}/../build
87 | VALIDATE_PRODUCT
88 | YES
89 |
90 | isa
91 | XCBuildConfiguration
92 | name
93 | Release
94 |
95 | 0CC5276BBFC4296EA960B808EDD8CA53
96 |
97 | includeInIndex
98 | 1
99 | isa
100 | PBXFileReference
101 | lastKnownFileType
102 | text.xcconfig
103 | path
104 | Pods-SHTwoDimensionalArray_Tests.debug.xcconfig
105 | sourceTree
106 | <group>
107 |
108 | 0DF0B71BF2AC020EAF9A2F07DD78E1CB
109 |
110 | includeInIndex
111 | 1
112 | isa
113 | PBXFileReference
114 | lastKnownFileType
115 | sourcecode.c.h
116 | path
117 | Pods-SHTwoDimensionalArray_Tests-umbrella.h
118 | sourceTree
119 | <group>
120 |
121 | 14AAF7CFD56BF9BF18959C9FC4E9BDA6
122 |
123 | includeInIndex
124 | 1
125 | isa
126 | PBXFileReference
127 | lastKnownFileType
128 | sourcecode.c.h
129 | path
130 | SHTwoDimensionalArray-prefix.pch
131 | sourceTree
132 | <group>
133 |
134 | 160527FD1344D33AA98EEF69AD291024
135 |
136 | includeInIndex
137 | 1
138 | isa
139 | PBXFileReference
140 | lastKnownFileType
141 | text
142 | path
143 | Pods-SHTwoDimensionalArray_Tests-acknowledgements.markdown
144 | sourceTree
145 | <group>
146 |
147 | 210D3DC35811766F0AD72F8D6523A75F
148 |
149 | fileRef
150 | 3E4E89230EF59BC255123B67864ACF77
151 | isa
152 | PBXBuildFile
153 |
154 | 2C755210CA0E6096AD0ADE092C06E368
155 |
156 | isa
157 | PBXTargetDependency
158 | name
159 | SHTwoDimensionalArray
160 | target
161 | 93F833C5CFC2712AA733F3ADC704B083
162 | targetProxy
163 | 6093EAF2C3C627951058B9708B0EBCF5
164 |
165 | 2D8E8EC45A3A1A1D94AE762CB5028504
166 |
167 | buildConfigurations
168 |
169 | B37F0F91F85060E28F1DAAB522DC7EC1
170 | 052A17875CB827423D627183396CEB60
171 |
172 | defaultConfigurationIsVisible
173 | 0
174 | defaultConfigurationName
175 | Release
176 | isa
177 | XCConfigurationList
178 |
179 | 319420DE3CC8BDF427F447DA480CDC00
180 |
181 | buildConfigurations
182 |
183 | 8EB5588460BF604A6EBF363406419674
184 | A0AF2EA0538D1FAC56B494F0BA1D4E0E
185 |
186 | defaultConfigurationIsVisible
187 | 0
188 | defaultConfigurationName
189 | Release
190 | isa
191 | XCConfigurationList
192 |
193 | 336AA6DF9CA953A80878EFC6B7CA37F5
194 |
195 | children
196 |
197 | D36EBE653B56AA157996DD2B19061743
198 | D975E45B01C47DE168D876677DF0ACB3
199 | 160527FD1344D33AA98EEF69AD291024
200 | BB1604BE24338B456FF967C1B48D65B6
201 | DE5E3A1638EB6DE027A5235CD2808E8A
202 | A96F20C5DB21BE93A10E3402426325CA
203 | CFDF0022CD6D12F3823FA7BDF6F80D17
204 | 0DF0B71BF2AC020EAF9A2F07DD78E1CB
205 | 0CC5276BBFC4296EA960B808EDD8CA53
206 | 33719FA54E60626B458CB5362E21DA87
207 |
208 | isa
209 | PBXGroup
210 | name
211 | Pods-SHTwoDimensionalArray_Tests
212 | path
213 | Target Support Files/Pods-SHTwoDimensionalArray_Tests
214 | sourceTree
215 | <group>
216 |
217 | 33719FA54E60626B458CB5362E21DA87
218 |
219 | includeInIndex
220 | 1
221 | isa
222 | PBXFileReference
223 | lastKnownFileType
224 | text.xcconfig
225 | path
226 | Pods-SHTwoDimensionalArray_Tests.release.xcconfig
227 | sourceTree
228 | <group>
229 |
230 | 33A6504CF1EF0CB47BBE8783E940C5EC
231 |
232 | children
233 |
234 | C09F29D988396D86DE5E1FBAD1D30772
235 |
236 | isa
237 | PBXGroup
238 | name
239 | SHTwoDimensionalArray
240 | path
241 | SHTwoDimensionalArray
242 | sourceTree
243 | <group>
244 |
245 | 3E4E89230EF59BC255123B67864ACF77
246 |
247 | isa
248 | PBXFileReference
249 | lastKnownFileType
250 | wrapper.framework
251 | name
252 | Foundation.framework
253 | path
254 | Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.0.sdk/System/Library/Frameworks/Foundation.framework
255 | sourceTree
256 | DEVELOPER_DIR
257 |
258 | 4915ED5B8D0ADE4BEBE7CACCFEE5A262
259 |
260 | children
261 |
262 | C9570706F7E72A5FF98B7EDEB50B3BB9
263 |
264 | isa
265 | PBXGroup
266 | name
267 | Development Pods
268 | sourceTree
269 | <group>
270 |
271 | 5D879635BDA8A913EB5027604AAE7CDF
272 |
273 | children
274 |
275 | C6AE2EDA025D062F843CEFB496923F91
276 | BB9BCA645FFF8CB19CCE67856381F328
277 | A00D40A2B539A30996C55A29F9EAADFF
278 | AEA518C825E1F123DE0AB2D271D2933C
279 | 14AAF7CFD56BF9BF18959C9FC4E9BDA6
280 | C46D5167FCB15B593648E18273756727
281 |
282 | isa
283 | PBXGroup
284 | name
285 | Support Files
286 | path
287 | Example/Pods/Target Support Files/SHTwoDimensionalArray
288 | sourceTree
289 | <group>
290 |
291 | 6093EAF2C3C627951058B9708B0EBCF5
292 |
293 | containerPortal
294 | D41D8CD98F00B204E9800998ECF8427E
295 | isa
296 | PBXContainerItemProxy
297 | proxyType
298 | 1
299 | remoteGlobalIDString
300 | 93F833C5CFC2712AA733F3ADC704B083
301 | remoteInfo
302 | SHTwoDimensionalArray
303 |
304 | 6BE98B16FAC00AE9BC6B1D8FAAEBF4B4
305 |
306 | children
307 |
308 | F439BE7984929F7D0BE395C18FD4AB28
309 | F500D84E2160C8B5EFE9662DC59FC83E
310 |
311 | isa
312 | PBXGroup
313 | name
314 | Products
315 | sourceTree
316 | <group>
317 |
318 | 6E8BBB44294DB3521246A53057E42FBF
319 |
320 | includeInIndex
321 | 1
322 | isa
323 | PBXFileReference
324 | lastKnownFileType
325 | sourcecode.c.objc
326 | path
327 | SHTwoDimensionalArray.m
328 | sourceTree
329 | <group>
330 |
331 | 7DB346D0F39D3F0E887471402A8071AB
332 |
333 | children
334 |
335 | BA6428E9F66FD5A23C0A2E06ED26CD2F
336 | 4915ED5B8D0ADE4BEBE7CACCFEE5A262
337 | BC3CA7F9E30CC8F7E2DD044DD34432FC
338 | 6BE98B16FAC00AE9BC6B1D8FAAEBF4B4
339 | DF6BFCE06CED3ED7DEFBEC646E1A0388
340 |
341 | isa
342 | PBXGroup
343 | sourceTree
344 | <group>
345 |
346 | 7F491CE90082CE02C18F94ED4208DDCB
347 |
348 | fileRef
349 | AEA518C825E1F123DE0AB2D271D2933C
350 | isa
351 | PBXBuildFile
352 |
353 | 8579CEA147C603E926930D4A03F37F0E
354 |
355 | buildActionMask
356 | 2147483647
357 | files
358 |
359 | C08ED85D4D88BF0DAB450192F0F4517A
360 |
361 | isa
362 | PBXHeadersBuildPhase
363 | runOnlyForDeploymentPostprocessing
364 | 0
365 |
366 | 8994B77693AC14A9FB630853DABB720B
367 |
368 | buildActionMask
369 | 2147483647
370 | files
371 |
372 | A484D9AEE120E588327B566A2ECC23E2
373 | F47B6C985DE9B9C1FBE33C22FC64C068
374 |
375 | isa
376 | PBXHeadersBuildPhase
377 | runOnlyForDeploymentPostprocessing
378 | 0
379 |
380 | 8A6B98282A7504EF79DD35E09ED06FC0
381 |
382 | buildConfigurations
383 |
384 | EA4F8A4B089D75534EF61D5AE40CE93B
385 | 964C66D60A699DE6A71F088806B72D8B
386 |
387 | defaultConfigurationIsVisible
388 | 0
389 | defaultConfigurationName
390 | Release
391 | isa
392 | XCConfigurationList
393 |
394 | 8EB5588460BF604A6EBF363406419674
395 |
396 | baseConfigurationReference
397 | A00D40A2B539A30996C55A29F9EAADFF
398 | buildSettings
399 |
400 | CODE_SIGN_IDENTITY[sdk=iphoneos*]
401 | iPhone Developer
402 | CURRENT_PROJECT_VERSION
403 | 1
404 | DEFINES_MODULE
405 | YES
406 | DYLIB_COMPATIBILITY_VERSION
407 | 1
408 | DYLIB_CURRENT_VERSION
409 | 1
410 | DYLIB_INSTALL_NAME_BASE
411 | @rpath
412 | ENABLE_STRICT_OBJC_MSGSEND
413 | YES
414 | GCC_PREFIX_HEADER
415 | Target Support Files/SHTwoDimensionalArray/SHTwoDimensionalArray-prefix.pch
416 | INFOPLIST_FILE
417 | Target Support Files/SHTwoDimensionalArray/Info.plist
418 | INSTALL_PATH
419 | $(LOCAL_LIBRARY_DIR)/Frameworks
420 | IPHONEOS_DEPLOYMENT_TARGET
421 | 7.0
422 | LD_RUNPATH_SEARCH_PATHS
423 |
424 | $(inherited)
425 | @executable_path/Frameworks
426 | @loader_path/Frameworks
427 |
428 | MODULEMAP_FILE
429 | Target Support Files/SHTwoDimensionalArray/SHTwoDimensionalArray.modulemap
430 | MTL_ENABLE_DEBUG_INFO
431 | YES
432 | PRODUCT_NAME
433 | SHTwoDimensionalArray
434 | SDKROOT
435 | iphoneos
436 | SKIP_INSTALL
437 | YES
438 | TARGETED_DEVICE_FAMILY
439 | 1,2
440 | VERSIONING_SYSTEM
441 | apple-generic
442 | VERSION_INFO_PREFIX
443 |
444 |
445 | isa
446 | XCBuildConfiguration
447 | name
448 | Debug
449 |
450 | 93F833C5CFC2712AA733F3ADC704B083
451 |
452 | buildConfigurationList
453 | 319420DE3CC8BDF427F447DA480CDC00
454 | buildPhases
455 |
456 | 0182F0FBB639D80D92FA25A485E2C44F
457 | A316ADC6652469139AFBFBF7E538C6C2
458 | 8994B77693AC14A9FB630853DABB720B
459 |
460 | buildRules
461 |
462 | dependencies
463 |
464 | isa
465 | PBXNativeTarget
466 | name
467 | SHTwoDimensionalArray
468 | productName
469 | SHTwoDimensionalArray
470 | productReference
471 | F500D84E2160C8B5EFE9662DC59FC83E
472 | productType
473 | com.apple.product-type.framework
474 |
475 | 964C66D60A699DE6A71F088806B72D8B
476 |
477 | baseConfigurationReference
478 | 33719FA54E60626B458CB5362E21DA87
479 | buildSettings
480 |
481 | CODE_SIGN_IDENTITY[sdk=iphoneos*]
482 | iPhone Developer
483 | CURRENT_PROJECT_VERSION
484 | 1
485 | DEFINES_MODULE
486 | YES
487 | DYLIB_COMPATIBILITY_VERSION
488 | 1
489 | DYLIB_CURRENT_VERSION
490 | 1
491 | DYLIB_INSTALL_NAME_BASE
492 | @rpath
493 | ENABLE_STRICT_OBJC_MSGSEND
494 | YES
495 | INFOPLIST_FILE
496 | Target Support Files/Pods-SHTwoDimensionalArray_Tests/Info.plist
497 | INSTALL_PATH
498 | $(LOCAL_LIBRARY_DIR)/Frameworks
499 | IPHONEOS_DEPLOYMENT_TARGET
500 | 7.0
501 | LD_RUNPATH_SEARCH_PATHS
502 |
503 | $(inherited)
504 | @executable_path/Frameworks
505 | @loader_path/Frameworks
506 |
507 | MACH_O_TYPE
508 | staticlib
509 | MODULEMAP_FILE
510 | Target Support Files/Pods-SHTwoDimensionalArray_Tests/Pods-SHTwoDimensionalArray_Tests.modulemap
511 | MTL_ENABLE_DEBUG_INFO
512 | NO
513 | OTHER_LDFLAGS
514 |
515 | OTHER_LIBTOOLFLAGS
516 |
517 | PODS_ROOT
518 | $(SRCROOT)
519 | PRODUCT_NAME
520 | Pods_SHTwoDimensionalArray_Tests
521 | SDKROOT
522 | iphoneos
523 | SKIP_INSTALL
524 | YES
525 | TARGETED_DEVICE_FAMILY
526 | 1,2
527 | VERSIONING_SYSTEM
528 | apple-generic
529 | VERSION_INFO_PREFIX
530 |
531 |
532 | isa
533 | XCBuildConfiguration
534 | name
535 | Release
536 |
537 | 9ACE723F153BEE657EE2B3806E2046C2
538 |
539 | buildConfigurationList
540 | 8A6B98282A7504EF79DD35E09ED06FC0
541 | buildPhases
542 |
543 | B7ECDCD1B70A47694453EC8E3EA5DEAB
544 | D253C8B0F5898AA3115D08EB7D7F8DBF
545 | 8579CEA147C603E926930D4A03F37F0E
546 |
547 | buildRules
548 |
549 | dependencies
550 |
551 | 2C755210CA0E6096AD0ADE092C06E368
552 |
553 | isa
554 | PBXNativeTarget
555 | name
556 | Pods-SHTwoDimensionalArray_Tests
557 | productName
558 | Pods-SHTwoDimensionalArray_Tests
559 | productReference
560 | F439BE7984929F7D0BE395C18FD4AB28
561 | productType
562 | com.apple.product-type.framework
563 |
564 | 9B20ECA0881F127C28710B55B8E875BD
565 |
566 | fileRef
567 | 6E8BBB44294DB3521246A53057E42FBF
568 | isa
569 | PBXBuildFile
570 |
571 | A00D40A2B539A30996C55A29F9EAADFF
572 |
573 | includeInIndex
574 | 1
575 | isa
576 | PBXFileReference
577 | lastKnownFileType
578 | text.xcconfig
579 | path
580 | SHTwoDimensionalArray.xcconfig
581 | sourceTree
582 | <group>
583 |
584 | A0AF2EA0538D1FAC56B494F0BA1D4E0E
585 |
586 | baseConfigurationReference
587 | A00D40A2B539A30996C55A29F9EAADFF
588 | buildSettings
589 |
590 | CODE_SIGN_IDENTITY[sdk=iphoneos*]
591 | iPhone Developer
592 | CURRENT_PROJECT_VERSION
593 | 1
594 | DEFINES_MODULE
595 | YES
596 | DYLIB_COMPATIBILITY_VERSION
597 | 1
598 | DYLIB_CURRENT_VERSION
599 | 1
600 | DYLIB_INSTALL_NAME_BASE
601 | @rpath
602 | ENABLE_STRICT_OBJC_MSGSEND
603 | YES
604 | GCC_PREFIX_HEADER
605 | Target Support Files/SHTwoDimensionalArray/SHTwoDimensionalArray-prefix.pch
606 | INFOPLIST_FILE
607 | Target Support Files/SHTwoDimensionalArray/Info.plist
608 | INSTALL_PATH
609 | $(LOCAL_LIBRARY_DIR)/Frameworks
610 | IPHONEOS_DEPLOYMENT_TARGET
611 | 7.0
612 | LD_RUNPATH_SEARCH_PATHS
613 |
614 | $(inherited)
615 | @executable_path/Frameworks
616 | @loader_path/Frameworks
617 |
618 | MODULEMAP_FILE
619 | Target Support Files/SHTwoDimensionalArray/SHTwoDimensionalArray.modulemap
620 | MTL_ENABLE_DEBUG_INFO
621 | NO
622 | PRODUCT_NAME
623 | SHTwoDimensionalArray
624 | SDKROOT
625 | iphoneos
626 | SKIP_INSTALL
627 | YES
628 | TARGETED_DEVICE_FAMILY
629 | 1,2
630 | VERSIONING_SYSTEM
631 | apple-generic
632 | VERSION_INFO_PREFIX
633 |
634 |
635 | isa
636 | XCBuildConfiguration
637 | name
638 | Release
639 |
640 | A316ADC6652469139AFBFBF7E538C6C2
641 |
642 | buildActionMask
643 | 2147483647
644 | files
645 |
646 | 210D3DC35811766F0AD72F8D6523A75F
647 |
648 | isa
649 | PBXFrameworksBuildPhase
650 | runOnlyForDeploymentPostprocessing
651 | 0
652 |
653 | A484D9AEE120E588327B566A2ECC23E2
654 |
655 | fileRef
656 | C46D5167FCB15B593648E18273756727
657 | isa
658 | PBXBuildFile
659 | settings
660 |
661 | ATTRIBUTES
662 |
663 | Public
664 |
665 |
666 |
667 | A96F20C5DB21BE93A10E3402426325CA
668 |
669 | includeInIndex
670 | 1
671 | isa
672 | PBXFileReference
673 | lastKnownFileType
674 | text.script.sh
675 | path
676 | Pods-SHTwoDimensionalArray_Tests-frameworks.sh
677 | sourceTree
678 | <group>
679 |
680 | AEA518C825E1F123DE0AB2D271D2933C
681 |
682 | includeInIndex
683 | 1
684 | isa
685 | PBXFileReference
686 | lastKnownFileType
687 | sourcecode.c.objc
688 | path
689 | SHTwoDimensionalArray-dummy.m
690 | sourceTree
691 | <group>
692 |
693 | B37F0F91F85060E28F1DAAB522DC7EC1
694 |
695 | buildSettings
696 |
697 | ALWAYS_SEARCH_USER_PATHS
698 | NO
699 | CLANG_CXX_LANGUAGE_STANDARD
700 | gnu++0x
701 | CLANG_CXX_LIBRARY
702 | libc++
703 | CLANG_ENABLE_MODULES
704 | YES
705 | CLANG_ENABLE_OBJC_ARC
706 | YES
707 | CLANG_WARN_BOOL_CONVERSION
708 | YES
709 | CLANG_WARN_CONSTANT_CONVERSION
710 | YES
711 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE
712 | YES
713 | CLANG_WARN_EMPTY_BODY
714 | YES
715 | CLANG_WARN_ENUM_CONVERSION
716 | YES
717 | CLANG_WARN_INT_CONVERSION
718 | YES
719 | CLANG_WARN_OBJC_ROOT_CLASS
720 | YES
721 | CLANG_WARN_UNREACHABLE_CODE
722 | YES
723 | CLANG_WARN__DUPLICATE_METHOD_MATCH
724 | YES
725 | COPY_PHASE_STRIP
726 | NO
727 | GCC_C_LANGUAGE_STANDARD
728 | gnu99
729 | GCC_DYNAMIC_NO_PIC
730 | NO
731 | GCC_OPTIMIZATION_LEVEL
732 | 0
733 | GCC_PREPROCESSOR_DEFINITIONS
734 |
735 | DEBUG=1
736 | $(inherited)
737 |
738 | GCC_SYMBOLS_PRIVATE_EXTERN
739 | NO
740 | GCC_WARN_64_TO_32_BIT_CONVERSION
741 | YES
742 | GCC_WARN_ABOUT_RETURN_TYPE
743 | YES
744 | GCC_WARN_UNDECLARED_SELECTOR
745 | YES
746 | GCC_WARN_UNINITIALIZED_AUTOS
747 | YES
748 | GCC_WARN_UNUSED_FUNCTION
749 | YES
750 | GCC_WARN_UNUSED_VARIABLE
751 | YES
752 | IPHONEOS_DEPLOYMENT_TARGET
753 | 7.0
754 | ONLY_ACTIVE_ARCH
755 | YES
756 | STRIP_INSTALLED_PRODUCT
757 | NO
758 | SYMROOT
759 | ${SRCROOT}/../build
760 |
761 | isa
762 | XCBuildConfiguration
763 | name
764 | Debug
765 |
766 | B7ECDCD1B70A47694453EC8E3EA5DEAB
767 |
768 | buildActionMask
769 | 2147483647
770 | files
771 |
772 | F15293AA8F64EC5E599F61E9AC778A7D
773 |
774 | isa
775 | PBXSourcesBuildPhase
776 | runOnlyForDeploymentPostprocessing
777 | 0
778 |
779 | BA6428E9F66FD5A23C0A2E06ED26CD2F
780 |
781 | includeInIndex
782 | 1
783 | isa
784 | PBXFileReference
785 | lastKnownFileType
786 | text
787 | name
788 | Podfile
789 | path
790 | ../Podfile
791 | sourceTree
792 | SOURCE_ROOT
793 | xcLanguageSpecificationIdentifier
794 | xcode.lang.ruby
795 |
796 | BB1604BE24338B456FF967C1B48D65B6
797 |
798 | includeInIndex
799 | 1
800 | isa
801 | PBXFileReference
802 | lastKnownFileType
803 | text.plist.xml
804 | path
805 | Pods-SHTwoDimensionalArray_Tests-acknowledgements.plist
806 | sourceTree
807 | <group>
808 |
809 | BB9BCA645FFF8CB19CCE67856381F328
810 |
811 | includeInIndex
812 | 1
813 | isa
814 | PBXFileReference
815 | path
816 | SHTwoDimensionalArray.modulemap
817 | sourceTree
818 | <group>
819 |
820 | BC3CA7F9E30CC8F7E2DD044DD34432FC
821 |
822 | children
823 |
824 | BF6342C8B29F4CEEA088EFF7AB4DE362
825 |
826 | isa
827 | PBXGroup
828 | name
829 | Frameworks
830 | sourceTree
831 | <group>
832 |
833 | BF6342C8B29F4CEEA088EFF7AB4DE362
834 |
835 | children
836 |
837 | 3E4E89230EF59BC255123B67864ACF77
838 |
839 | isa
840 | PBXGroup
841 | name
842 | iOS
843 | sourceTree
844 | <group>
845 |
846 | C08ED85D4D88BF0DAB450192F0F4517A
847 |
848 | fileRef
849 | 0DF0B71BF2AC020EAF9A2F07DD78E1CB
850 | isa
851 | PBXBuildFile
852 | settings
853 |
854 | ATTRIBUTES
855 |
856 | Public
857 |
858 |
859 |
860 | C09F29D988396D86DE5E1FBAD1D30772
861 |
862 | children
863 |
864 | E95487471B6541461BC52F9F92302EB9
865 | 6E8BBB44294DB3521246A53057E42FBF
866 |
867 | isa
868 | PBXGroup
869 | name
870 | Classes
871 | path
872 | Classes
873 | sourceTree
874 | <group>
875 |
876 | C46D5167FCB15B593648E18273756727
877 |
878 | includeInIndex
879 | 1
880 | isa
881 | PBXFileReference
882 | lastKnownFileType
883 | sourcecode.c.h
884 | path
885 | SHTwoDimensionalArray-umbrella.h
886 | sourceTree
887 | <group>
888 |
889 | C6AE2EDA025D062F843CEFB496923F91
890 |
891 | includeInIndex
892 | 1
893 | isa
894 | PBXFileReference
895 | lastKnownFileType
896 | text.plist.xml
897 | path
898 | Info.plist
899 | sourceTree
900 | <group>
901 |
902 | C9570706F7E72A5FF98B7EDEB50B3BB9
903 |
904 | children
905 |
906 | 33A6504CF1EF0CB47BBE8783E940C5EC
907 | 5D879635BDA8A913EB5027604AAE7CDF
908 |
909 | isa
910 | PBXGroup
911 | name
912 | SHTwoDimensionalArray
913 | path
914 | ../..
915 | sourceTree
916 | <group>
917 |
918 | CFDF0022CD6D12F3823FA7BDF6F80D17
919 |
920 | includeInIndex
921 | 1
922 | isa
923 | PBXFileReference
924 | lastKnownFileType
925 | text.script.sh
926 | path
927 | Pods-SHTwoDimensionalArray_Tests-resources.sh
928 | sourceTree
929 | <group>
930 |
931 | D253C8B0F5898AA3115D08EB7D7F8DBF
932 |
933 | buildActionMask
934 | 2147483647
935 | files
936 |
937 | FDA50935AA0107522683E7E353D2A93F
938 |
939 | isa
940 | PBXFrameworksBuildPhase
941 | runOnlyForDeploymentPostprocessing
942 | 0
943 |
944 | D36EBE653B56AA157996DD2B19061743
945 |
946 | includeInIndex
947 | 1
948 | isa
949 | PBXFileReference
950 | lastKnownFileType
951 | text.plist.xml
952 | path
953 | Info.plist
954 | sourceTree
955 | <group>
956 |
957 | D41D8CD98F00B204E9800998ECF8427E
958 |
959 | attributes
960 |
961 | LastSwiftUpdateCheck
962 | 0700
963 | LastUpgradeCheck
964 | 0700
965 |
966 | buildConfigurationList
967 | 2D8E8EC45A3A1A1D94AE762CB5028504
968 | compatibilityVersion
969 | Xcode 3.2
970 | developmentRegion
971 | English
972 | hasScannedForEncodings
973 | 0
974 | isa
975 | PBXProject
976 | knownRegions
977 |
978 | en
979 |
980 | mainGroup
981 | 7DB346D0F39D3F0E887471402A8071AB
982 | productRefGroup
983 | 6BE98B16FAC00AE9BC6B1D8FAAEBF4B4
984 | projectDirPath
985 |
986 | projectReferences
987 |
988 | projectRoot
989 |
990 | targets
991 |
992 | 9ACE723F153BEE657EE2B3806E2046C2
993 | 93F833C5CFC2712AA733F3ADC704B083
994 |
995 |
996 | D975E45B01C47DE168D876677DF0ACB3
997 |
998 | includeInIndex
999 | 1
1000 | isa
1001 | PBXFileReference
1002 | path
1003 | Pods-SHTwoDimensionalArray_Tests.modulemap
1004 | sourceTree
1005 | <group>
1006 |
1007 | DE5E3A1638EB6DE027A5235CD2808E8A
1008 |
1009 | includeInIndex
1010 | 1
1011 | isa
1012 | PBXFileReference
1013 | lastKnownFileType
1014 | sourcecode.c.objc
1015 | path
1016 | Pods-SHTwoDimensionalArray_Tests-dummy.m
1017 | sourceTree
1018 | <group>
1019 |
1020 | DF6BFCE06CED3ED7DEFBEC646E1A0388
1021 |
1022 | children
1023 |
1024 | 336AA6DF9CA953A80878EFC6B7CA37F5
1025 |
1026 | isa
1027 | PBXGroup
1028 | name
1029 | Targets Support Files
1030 | sourceTree
1031 | <group>
1032 |
1033 | E95487471B6541461BC52F9F92302EB9
1034 |
1035 | includeInIndex
1036 | 1
1037 | isa
1038 | PBXFileReference
1039 | lastKnownFileType
1040 | sourcecode.c.h
1041 | path
1042 | SHTwoDimensionalArray.h
1043 | sourceTree
1044 | <group>
1045 |
1046 | EA4F8A4B089D75534EF61D5AE40CE93B
1047 |
1048 | baseConfigurationReference
1049 | 0CC5276BBFC4296EA960B808EDD8CA53
1050 | buildSettings
1051 |
1052 | CODE_SIGN_IDENTITY[sdk=iphoneos*]
1053 | iPhone Developer
1054 | CURRENT_PROJECT_VERSION
1055 | 1
1056 | DEFINES_MODULE
1057 | YES
1058 | DYLIB_COMPATIBILITY_VERSION
1059 | 1
1060 | DYLIB_CURRENT_VERSION
1061 | 1
1062 | DYLIB_INSTALL_NAME_BASE
1063 | @rpath
1064 | ENABLE_STRICT_OBJC_MSGSEND
1065 | YES
1066 | INFOPLIST_FILE
1067 | Target Support Files/Pods-SHTwoDimensionalArray_Tests/Info.plist
1068 | INSTALL_PATH
1069 | $(LOCAL_LIBRARY_DIR)/Frameworks
1070 | IPHONEOS_DEPLOYMENT_TARGET
1071 | 7.0
1072 | LD_RUNPATH_SEARCH_PATHS
1073 |
1074 | $(inherited)
1075 | @executable_path/Frameworks
1076 | @loader_path/Frameworks
1077 |
1078 | MACH_O_TYPE
1079 | staticlib
1080 | MODULEMAP_FILE
1081 | Target Support Files/Pods-SHTwoDimensionalArray_Tests/Pods-SHTwoDimensionalArray_Tests.modulemap
1082 | MTL_ENABLE_DEBUG_INFO
1083 | YES
1084 | OTHER_LDFLAGS
1085 |
1086 | OTHER_LIBTOOLFLAGS
1087 |
1088 | PODS_ROOT
1089 | $(SRCROOT)
1090 | PRODUCT_NAME
1091 | Pods_SHTwoDimensionalArray_Tests
1092 | SDKROOT
1093 | iphoneos
1094 | SKIP_INSTALL
1095 | YES
1096 | TARGETED_DEVICE_FAMILY
1097 | 1,2
1098 | VERSIONING_SYSTEM
1099 | apple-generic
1100 | VERSION_INFO_PREFIX
1101 |
1102 |
1103 | isa
1104 | XCBuildConfiguration
1105 | name
1106 | Debug
1107 |
1108 | F15293AA8F64EC5E599F61E9AC778A7D
1109 |
1110 | fileRef
1111 | DE5E3A1638EB6DE027A5235CD2808E8A
1112 | isa
1113 | PBXBuildFile
1114 |
1115 | F439BE7984929F7D0BE395C18FD4AB28
1116 |
1117 | explicitFileType
1118 | wrapper.framework
1119 | includeInIndex
1120 | 0
1121 | isa
1122 | PBXFileReference
1123 | name
1124 | Pods_SHTwoDimensionalArray_Tests.framework
1125 | path
1126 | Pods_SHTwoDimensionalArray_Tests.framework
1127 | sourceTree
1128 | BUILT_PRODUCTS_DIR
1129 |
1130 | F47B6C985DE9B9C1FBE33C22FC64C068
1131 |
1132 | fileRef
1133 | E95487471B6541461BC52F9F92302EB9
1134 | isa
1135 | PBXBuildFile
1136 | settings
1137 |
1138 | ATTRIBUTES
1139 |
1140 | Public
1141 |
1142 |
1143 |
1144 | F500D84E2160C8B5EFE9662DC59FC83E
1145 |
1146 | explicitFileType
1147 | wrapper.framework
1148 | includeInIndex
1149 | 0
1150 | isa
1151 | PBXFileReference
1152 | name
1153 | SHTwoDimensionalArray.framework
1154 | path
1155 | SHTwoDimensionalArray.framework
1156 | sourceTree
1157 | BUILT_PRODUCTS_DIR
1158 |
1159 | FDA50935AA0107522683E7E353D2A93F
1160 |
1161 | fileRef
1162 | 3E4E89230EF59BC255123B67864ACF77
1163 | isa
1164 | PBXBuildFile
1165 |
1166 |
1167 | rootObject
1168 | D41D8CD98F00B204E9800998ECF8427E
1169 |
1170 |
1171 |
--------------------------------------------------------------------------------
/Example/Pods/Pods.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Example/Pods/Pods.xcodeproj/xcshareddata/xcschemes/SHTwoDimensionalArray.xcscheme:
--------------------------------------------------------------------------------
1 |
2 |
5 |
8 |
9 |
15 |
21 |
22 |
23 |
24 |
25 |
30 |
31 |
32 |
33 |
43 |
44 |
45 |
46 |
52 |
53 |
55 |
56 |
59 |
60 |
61 |
--------------------------------------------------------------------------------
/Example/Pods/Target Support Files/Pods-SHTwoDimensionalArray_Tests/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | ${EXECUTABLE_NAME}
9 | CFBundleIdentifier
10 | org.cocoapods.${PRODUCT_NAME:rfc1034identifier}
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | ${PRODUCT_NAME}
15 | CFBundlePackageType
16 | FMWK
17 | CFBundleShortVersionString
18 | 1.0.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | ${CURRENT_PROJECT_VERSION}
23 | NSPrincipalClass
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/Example/Pods/Target Support Files/Pods-SHTwoDimensionalArray_Tests/Pods-SHTwoDimensionalArray_Tests-acknowledgements.markdown:
--------------------------------------------------------------------------------
1 | # Acknowledgements
2 | This application makes use of the following third party libraries:
3 |
4 | ## SHTwoDimensionalArray
5 |
6 | Copyright (c) 2016 Ahmad Shabibul Hossain
7 |
8 | Permission is hereby granted, free of charge, to any person obtaining a copy
9 | of this software and associated documentation files (the "Software"), to deal
10 | in the Software without restriction, including without limitation the rights
11 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12 | copies of the Software, and to permit persons to whom the Software is
13 | furnished to do so, subject to the following conditions:
14 |
15 | The above copyright notice and this permission notice shall be included in
16 | all copies or substantial portions of the Software.
17 |
18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
24 | THE SOFTWARE.
25 |
26 | Generated by CocoaPods - http://cocoapods.org
27 |
--------------------------------------------------------------------------------
/Example/Pods/Target Support Files/Pods-SHTwoDimensionalArray_Tests/Pods-SHTwoDimensionalArray_Tests-acknowledgements.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | PreferenceSpecifiers
6 |
7 |
8 | FooterText
9 | This application makes use of the following third party libraries:
10 | Title
11 | Acknowledgements
12 | Type
13 | PSGroupSpecifier
14 |
15 |
16 | FooterText
17 | Copyright (c) 2016 Ahmad Shabibul Hossain <shabib.sust@gmail.com>
18 |
19 | Permission is hereby granted, free of charge, to any person obtaining a copy
20 | of this software and associated documentation files (the "Software"), to deal
21 | in the Software without restriction, including without limitation the rights
22 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
23 | copies of the Software, and to permit persons to whom the Software is
24 | furnished to do so, subject to the following conditions:
25 |
26 | The above copyright notice and this permission notice shall be included in
27 | all copies or substantial portions of the Software.
28 |
29 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
30 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
31 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
32 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
33 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
34 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
35 | THE SOFTWARE.
36 |
37 | Title
38 | SHTwoDimensionalArray
39 | Type
40 | PSGroupSpecifier
41 |
42 |
43 | FooterText
44 | Generated by CocoaPods - http://cocoapods.org
45 | Title
46 |
47 | Type
48 | PSGroupSpecifier
49 |
50 |
51 | StringsTable
52 | Acknowledgements
53 | Title
54 | Acknowledgements
55 |
56 |
57 |
--------------------------------------------------------------------------------
/Example/Pods/Target Support Files/Pods-SHTwoDimensionalArray_Tests/Pods-SHTwoDimensionalArray_Tests-dummy.m:
--------------------------------------------------------------------------------
1 | #import
2 | @interface PodsDummy_Pods_SHTwoDimensionalArray_Tests : NSObject
3 | @end
4 | @implementation PodsDummy_Pods_SHTwoDimensionalArray_Tests
5 | @end
6 |
--------------------------------------------------------------------------------
/Example/Pods/Target Support Files/Pods-SHTwoDimensionalArray_Tests/Pods-SHTwoDimensionalArray_Tests-frameworks.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | set -e
3 |
4 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
5 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
6 |
7 | SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}"
8 |
9 | install_framework()
10 | {
11 | if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then
12 | local source="${BUILT_PRODUCTS_DIR}/$1"
13 | elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then
14 | local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")"
15 | elif [ -r "$1" ]; then
16 | local source="$1"
17 | fi
18 |
19 | local destination="${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
20 |
21 | if [ -L "${source}" ]; then
22 | echo "Symlinked..."
23 | source="$(readlink "${source}")"
24 | fi
25 |
26 | # use filter instead of exclude so missing patterns dont' throw errors
27 | echo "rsync -av --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\""
28 | rsync -av --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}"
29 |
30 | local basename
31 | basename="$(basename -s .framework "$1")"
32 | binary="${destination}/${basename}.framework/${basename}"
33 | if ! [ -r "$binary" ]; then
34 | binary="${destination}/${basename}"
35 | fi
36 |
37 | # Strip invalid architectures so "fat" simulator / device frameworks work on device
38 | if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then
39 | strip_invalid_archs "$binary"
40 | fi
41 |
42 | # Resign the code if required by the build settings to avoid unstable apps
43 | code_sign_if_enabled "${destination}/$(basename "$1")"
44 |
45 | # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7.
46 | if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then
47 | local swift_runtime_libs
48 | swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]})
49 | for lib in $swift_runtime_libs; do
50 | echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\""
51 | rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}"
52 | code_sign_if_enabled "${destination}/${lib}"
53 | done
54 | fi
55 | }
56 |
57 | # Signs a framework with the provided identity
58 | code_sign_if_enabled() {
59 | if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then
60 | # Use the current code_sign_identitiy
61 | echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}"
62 | echo "/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} --preserve-metadata=identifier,entitlements \"$1\""
63 | /usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} --preserve-metadata=identifier,entitlements "$1"
64 | fi
65 | }
66 |
67 | # Strip invalid architectures
68 | strip_invalid_archs() {
69 | binary="$1"
70 | # Get architectures for current file
71 | archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)"
72 | stripped=""
73 | for arch in $archs; do
74 | if ! [[ "${VALID_ARCHS}" == *"$arch"* ]]; then
75 | # Strip non-valid architectures in-place
76 | lipo -remove "$arch" -output "$binary" "$binary" || exit 1
77 | stripped="$stripped $arch"
78 | fi
79 | done
80 | if [[ "$stripped" ]]; then
81 | echo "Stripped $binary of architectures:$stripped"
82 | fi
83 | }
84 |
85 |
86 | if [[ "$CONFIGURATION" == "Debug" ]]; then
87 | install_framework "Pods-SHTwoDimensionalArray_Tests/SHTwoDimensionalArray.framework"
88 | fi
89 | if [[ "$CONFIGURATION" == "Release" ]]; then
90 | install_framework "Pods-SHTwoDimensionalArray_Tests/SHTwoDimensionalArray.framework"
91 | fi
92 |
--------------------------------------------------------------------------------
/Example/Pods/Target Support Files/Pods-SHTwoDimensionalArray_Tests/Pods-SHTwoDimensionalArray_Tests-resources.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | set -e
3 |
4 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
5 |
6 | RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt
7 | > "$RESOURCES_TO_COPY"
8 |
9 | XCASSET_FILES=()
10 |
11 | realpath() {
12 | DIRECTORY="$(cd "${1%/*}" && pwd)"
13 | FILENAME="${1##*/}"
14 | echo "$DIRECTORY/$FILENAME"
15 | }
16 |
17 | install_resource()
18 | {
19 | case $1 in
20 | *.storyboard)
21 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc ${PODS_ROOT}/$1 --sdk ${SDKROOT}"
22 | ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc" "${PODS_ROOT}/$1" --sdk "${SDKROOT}"
23 | ;;
24 | *.xib)
25 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib ${PODS_ROOT}/$1 --sdk ${SDKROOT}"
26 | ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib" "${PODS_ROOT}/$1" --sdk "${SDKROOT}"
27 | ;;
28 | *.framework)
29 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
30 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
31 | echo "rsync -av ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
32 | rsync -av "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
33 | ;;
34 | *.xcdatamodel)
35 | echo "xcrun momc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1"`.mom\""
36 | xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodel`.mom"
37 | ;;
38 | *.xcdatamodeld)
39 | echo "xcrun momc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodeld`.momd\""
40 | xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodeld`.momd"
41 | ;;
42 | *.xcmappingmodel)
43 | echo "xcrun mapc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcmappingmodel`.cdm\""
44 | xcrun mapc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcmappingmodel`.cdm"
45 | ;;
46 | *.xcassets)
47 | ABSOLUTE_XCASSET_FILE=$(realpath "${PODS_ROOT}/$1")
48 | XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE")
49 | ;;
50 | /*)
51 | echo "$1"
52 | echo "$1" >> "$RESOURCES_TO_COPY"
53 | ;;
54 | *)
55 | echo "${PODS_ROOT}/$1"
56 | echo "${PODS_ROOT}/$1" >> "$RESOURCES_TO_COPY"
57 | ;;
58 | esac
59 | }
60 |
61 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
62 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
63 | if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then
64 | mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
65 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
66 | fi
67 | rm -f "$RESOURCES_TO_COPY"
68 |
69 | if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ]
70 | then
71 | case "${TARGETED_DEVICE_FAMILY}" in
72 | 1,2)
73 | TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone"
74 | ;;
75 | 1)
76 | TARGET_DEVICE_ARGS="--target-device iphone"
77 | ;;
78 | 2)
79 | TARGET_DEVICE_ARGS="--target-device ipad"
80 | ;;
81 | *)
82 | TARGET_DEVICE_ARGS="--target-device mac"
83 | ;;
84 | esac
85 |
86 | # Find all other xcassets (this unfortunately includes those of path pods and other targets).
87 | OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d)
88 | while read line; do
89 | if [[ $line != "`realpath $PODS_ROOT`*" ]]; then
90 | XCASSET_FILES+=("$line")
91 | fi
92 | done <<<"$OTHER_XCASSETS"
93 |
94 | printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${IPHONEOS_DEPLOYMENT_TARGET}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
95 | fi
96 |
--------------------------------------------------------------------------------
/Example/Pods/Target Support Files/Pods-SHTwoDimensionalArray_Tests/Pods-SHTwoDimensionalArray_Tests-umbrella.h:
--------------------------------------------------------------------------------
1 | #import
2 |
3 |
4 | FOUNDATION_EXPORT double Pods_SHTwoDimensionalArray_TestsVersionNumber;
5 | FOUNDATION_EXPORT const unsigned char Pods_SHTwoDimensionalArray_TestsVersionString[];
6 |
7 |
--------------------------------------------------------------------------------
/Example/Pods/Target Support Files/Pods-SHTwoDimensionalArray_Tests/Pods-SHTwoDimensionalArray_Tests.debug.xcconfig:
--------------------------------------------------------------------------------
1 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
2 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks'
3 | OTHER_CFLAGS = $(inherited) -iquote "$CONFIGURATION_BUILD_DIR/SHTwoDimensionalArray.framework/Headers"
4 | OTHER_LDFLAGS = $(inherited) -framework "SHTwoDimensionalArray"
5 | PODS_FRAMEWORK_BUILD_PATH = $(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/Pods-SHTwoDimensionalArray_Tests
6 | PODS_ROOT = ${SRCROOT}/Pods
--------------------------------------------------------------------------------
/Example/Pods/Target Support Files/Pods-SHTwoDimensionalArray_Tests/Pods-SHTwoDimensionalArray_Tests.modulemap:
--------------------------------------------------------------------------------
1 | framework module Pods_SHTwoDimensionalArray_Tests {
2 | umbrella header "Pods-SHTwoDimensionalArray_Tests-umbrella.h"
3 |
4 | export *
5 | module * { export * }
6 | }
7 |
--------------------------------------------------------------------------------
/Example/Pods/Target Support Files/Pods-SHTwoDimensionalArray_Tests/Pods-SHTwoDimensionalArray_Tests.release.xcconfig:
--------------------------------------------------------------------------------
1 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
2 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks'
3 | OTHER_CFLAGS = $(inherited) -iquote "$CONFIGURATION_BUILD_DIR/SHTwoDimensionalArray.framework/Headers"
4 | OTHER_LDFLAGS = $(inherited) -framework "SHTwoDimensionalArray"
5 | PODS_FRAMEWORK_BUILD_PATH = $(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/Pods-SHTwoDimensionalArray_Tests
6 | PODS_ROOT = ${SRCROOT}/Pods
--------------------------------------------------------------------------------
/Example/Pods/Target Support Files/SHTwoDimensionalArray/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | ${EXECUTABLE_NAME}
9 | CFBundleIdentifier
10 | org.cocoapods.${PRODUCT_NAME:rfc1034identifier}
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | ${PRODUCT_NAME}
15 | CFBundlePackageType
16 | FMWK
17 | CFBundleShortVersionString
18 | 0.1.1
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | ${CURRENT_PROJECT_VERSION}
23 | NSPrincipalClass
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/Example/Pods/Target Support Files/SHTwoDimensionalArray/SHTwoDimensionalArray-dummy.m:
--------------------------------------------------------------------------------
1 | #import
2 | @interface PodsDummy_SHTwoDimensionalArray : NSObject
3 | @end
4 | @implementation PodsDummy_SHTwoDimensionalArray
5 | @end
6 |
--------------------------------------------------------------------------------
/Example/Pods/Target Support Files/SHTwoDimensionalArray/SHTwoDimensionalArray-prefix.pch:
--------------------------------------------------------------------------------
1 | #ifdef __OBJC__
2 | #import
3 | #endif
4 |
5 |
--------------------------------------------------------------------------------
/Example/Pods/Target Support Files/SHTwoDimensionalArray/SHTwoDimensionalArray-umbrella.h:
--------------------------------------------------------------------------------
1 | #import
2 |
3 | #import "SHTwoDimensionalArray.h"
4 |
5 | FOUNDATION_EXPORT double SHTwoDimensionalArrayVersionNumber;
6 | FOUNDATION_EXPORT const unsigned char SHTwoDimensionalArrayVersionString[];
7 |
8 |
--------------------------------------------------------------------------------
/Example/Pods/Target Support Files/SHTwoDimensionalArray/SHTwoDimensionalArray.modulemap:
--------------------------------------------------------------------------------
1 | framework module SHTwoDimensionalArray {
2 | umbrella header "SHTwoDimensionalArray-umbrella.h"
3 |
4 | export *
5 | module * { export * }
6 | }
7 |
--------------------------------------------------------------------------------
/Example/Pods/Target Support Files/SHTwoDimensionalArray/SHTwoDimensionalArray.xcconfig:
--------------------------------------------------------------------------------
1 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
2 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/SHTwoDimensionalArray" "${PODS_ROOT}/Headers/Public"
3 | PODS_ROOT = ${SRCROOT}
4 | SKIP_INSTALL = YES
--------------------------------------------------------------------------------
/Example/SHTwoDimensionalArray.xcodeproj/project.pbxproj:
--------------------------------------------------------------------------------
1 | // !$*UTF8*$!
2 | {
3 | archiveVersion = 1;
4 | classes = {
5 | };
6 | objectVersion = 46;
7 | objects = {
8 |
9 | /* Begin PBXBuildFile section */
10 | 6003F5B0195388D20070C39A /* XCTest.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F5AF195388D20070C39A /* XCTest.framework */; };
11 | 6003F5B1195388D20070C39A /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F58D195388D20070C39A /* Foundation.framework */; };
12 | 6003F5B2195388D20070C39A /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F591195388D20070C39A /* UIKit.framework */; };
13 | 6003F5BA195388D20070C39A /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 6003F5B8195388D20070C39A /* InfoPlist.strings */; };
14 | F05FC4301D68265E006650FA /* SHTwoDArrayTests.m in Sources */ = {isa = PBXBuildFile; fileRef = F05FC42F1D68265D006650FA /* SHTwoDArrayTests.m */; };
15 | FDC1338A72D69B9D6280E017 /* Pods_SHTwoDimensionalArray_Tests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CD2578DC4AD32221201526F7 /* Pods_SHTwoDimensionalArray_Tests.framework */; };
16 | /* End PBXBuildFile section */
17 |
18 | /* Begin PBXFileReference section */
19 | 18C9EA4582B1DFE72B5188DD /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; lineEnding = 0; name = README.md; path = ../README.md; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.markdown; };
20 | 4B0926C1683B841B3566F66E /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; lineEnding = 0; name = LICENSE; path = ../LICENSE; sourceTree = ""; xcLanguageSpecificationIdentifier = ""; };
21 | 4E4E59E52B48ED7EDD3A4752 /* SHTwoDimensionalArray.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; lineEnding = 0; name = SHTwoDimensionalArray.podspec; path = ../SHTwoDimensionalArray.podspec; sourceTree = ""; xcLanguageSpecificationIdentifier = ""; };
22 | 6003F58D195388D20070C39A /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
23 | 6003F58F195388D20070C39A /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; };
24 | 6003F591195388D20070C39A /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };
25 | 6003F5AE195388D20070C39A /* SHTwoDimensionalArray_Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = SHTwoDimensionalArray_Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
26 | 6003F5AF195388D20070C39A /* XCTest.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = XCTest.framework; path = Library/Frameworks/XCTest.framework; sourceTree = DEVELOPER_DIR; };
27 | 6003F5B7195388D20070C39A /* Tests-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "Tests-Info.plist"; sourceTree = ""; };
28 | 6003F5B9195388D20070C39A /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; };
29 | 606FC2411953D9B200FFA9A0 /* Tests-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Tests-Prefix.pch"; sourceTree = ""; };
30 | AEE5676015A6AF837D44F686 /* Pods-SHTwoDimensionalArray_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SHTwoDimensionalArray_Tests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-SHTwoDimensionalArray_Tests/Pods-SHTwoDimensionalArray_Tests.debug.xcconfig"; sourceTree = ""; };
31 | CD2578DC4AD32221201526F7 /* Pods_SHTwoDimensionalArray_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_SHTwoDimensionalArray_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; };
32 | DC0A2E5CADADCCDD2E0B8A81 /* Pods-SHTwoDimensionalArray_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SHTwoDimensionalArray_Tests.release.xcconfig"; path = "Pods/Target Support Files/Pods-SHTwoDimensionalArray_Tests/Pods-SHTwoDimensionalArray_Tests.release.xcconfig"; sourceTree = ""; };
33 | F05FC42F1D68265D006650FA /* SHTwoDArrayTests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SHTwoDArrayTests.m; sourceTree = ""; };
34 | /* End PBXFileReference section */
35 |
36 | /* Begin PBXFrameworksBuildPhase section */
37 | 6003F5AB195388D20070C39A /* Frameworks */ = {
38 | isa = PBXFrameworksBuildPhase;
39 | buildActionMask = 2147483647;
40 | files = (
41 | 6003F5B0195388D20070C39A /* XCTest.framework in Frameworks */,
42 | 6003F5B2195388D20070C39A /* UIKit.framework in Frameworks */,
43 | 6003F5B1195388D20070C39A /* Foundation.framework in Frameworks */,
44 | FDC1338A72D69B9D6280E017 /* Pods_SHTwoDimensionalArray_Tests.framework in Frameworks */,
45 | );
46 | runOnlyForDeploymentPostprocessing = 0;
47 | };
48 | /* End PBXFrameworksBuildPhase section */
49 |
50 | /* Begin PBXGroup section */
51 | 6003F581195388D10070C39A = {
52 | isa = PBXGroup;
53 | children = (
54 | 60FF7A9C1954A5C5007DD14C /* Podspec Metadata */,
55 | 6003F5B5195388D20070C39A /* Tests */,
56 | 6003F58C195388D20070C39A /* Frameworks */,
57 | 6003F58B195388D20070C39A /* Products */,
58 | 9AA8B8B515BCEEBDD19E3CEF /* Pods */,
59 | );
60 | sourceTree = "";
61 | };
62 | 6003F58B195388D20070C39A /* Products */ = {
63 | isa = PBXGroup;
64 | children = (
65 | 6003F5AE195388D20070C39A /* SHTwoDimensionalArray_Tests.xctest */,
66 | );
67 | name = Products;
68 | sourceTree = "";
69 | };
70 | 6003F58C195388D20070C39A /* Frameworks */ = {
71 | isa = PBXGroup;
72 | children = (
73 | 6003F58D195388D20070C39A /* Foundation.framework */,
74 | 6003F58F195388D20070C39A /* CoreGraphics.framework */,
75 | 6003F591195388D20070C39A /* UIKit.framework */,
76 | 6003F5AF195388D20070C39A /* XCTest.framework */,
77 | CD2578DC4AD32221201526F7 /* Pods_SHTwoDimensionalArray_Tests.framework */,
78 | );
79 | name = Frameworks;
80 | sourceTree = "";
81 | };
82 | 6003F5B5195388D20070C39A /* Tests */ = {
83 | isa = PBXGroup;
84 | children = (
85 | 6003F5B6195388D20070C39A /* Supporting Files */,
86 | F05FC42F1D68265D006650FA /* SHTwoDArrayTests.m */,
87 | );
88 | path = Tests;
89 | sourceTree = "";
90 | };
91 | 6003F5B6195388D20070C39A /* Supporting Files */ = {
92 | isa = PBXGroup;
93 | children = (
94 | 6003F5B7195388D20070C39A /* Tests-Info.plist */,
95 | 6003F5B8195388D20070C39A /* InfoPlist.strings */,
96 | 606FC2411953D9B200FFA9A0 /* Tests-Prefix.pch */,
97 | );
98 | name = "Supporting Files";
99 | sourceTree = "";
100 | };
101 | 60FF7A9C1954A5C5007DD14C /* Podspec Metadata */ = {
102 | isa = PBXGroup;
103 | children = (
104 | 4E4E59E52B48ED7EDD3A4752 /* SHTwoDimensionalArray.podspec */,
105 | 18C9EA4582B1DFE72B5188DD /* README.md */,
106 | 4B0926C1683B841B3566F66E /* LICENSE */,
107 | );
108 | name = "Podspec Metadata";
109 | sourceTree = "";
110 | };
111 | 9AA8B8B515BCEEBDD19E3CEF /* Pods */ = {
112 | isa = PBXGroup;
113 | children = (
114 | AEE5676015A6AF837D44F686 /* Pods-SHTwoDimensionalArray_Tests.debug.xcconfig */,
115 | DC0A2E5CADADCCDD2E0B8A81 /* Pods-SHTwoDimensionalArray_Tests.release.xcconfig */,
116 | );
117 | name = Pods;
118 | sourceTree = "";
119 | };
120 | /* End PBXGroup section */
121 |
122 | /* Begin PBXNativeTarget section */
123 | 6003F5AD195388D20070C39A /* SHTwoDimensionalArray_Tests */ = {
124 | isa = PBXNativeTarget;
125 | buildConfigurationList = 6003F5C2195388D20070C39A /* Build configuration list for PBXNativeTarget "SHTwoDimensionalArray_Tests" */;
126 | buildPhases = (
127 | CFEBC1E440D90157FCB9EC26 /* Check Pods Manifest.lock */,
128 | 6003F5AA195388D20070C39A /* Sources */,
129 | 6003F5AB195388D20070C39A /* Frameworks */,
130 | 6003F5AC195388D20070C39A /* Resources */,
131 | B9527AE6AB25833AD683ADDC /* Embed Pods Frameworks */,
132 | FB151017B8BFD36A9C4BA1E7 /* Copy Pods Resources */,
133 | );
134 | buildRules = (
135 | );
136 | dependencies = (
137 | );
138 | name = SHTwoDimensionalArray_Tests;
139 | productName = SHTwoDimensionalArrayTests;
140 | productReference = 6003F5AE195388D20070C39A /* SHTwoDimensionalArray_Tests.xctest */;
141 | productType = "com.apple.product-type.bundle.unit-test";
142 | };
143 | /* End PBXNativeTarget section */
144 |
145 | /* Begin PBXProject section */
146 | 6003F582195388D10070C39A /* Project object */ = {
147 | isa = PBXProject;
148 | attributes = {
149 | CLASSPREFIX = SH;
150 | LastUpgradeCheck = 0720;
151 | ORGANIZATIONNAME = "Ahmad Shabibul Hossain";
152 | TargetAttributes = {
153 | 6003F5AD195388D20070C39A = {
154 | TestTargetID = 6003F589195388D20070C39A;
155 | };
156 | };
157 | };
158 | buildConfigurationList = 6003F585195388D10070C39A /* Build configuration list for PBXProject "SHTwoDimensionalArray" */;
159 | compatibilityVersion = "Xcode 3.2";
160 | developmentRegion = English;
161 | hasScannedForEncodings = 0;
162 | knownRegions = (
163 | en,
164 | Base,
165 | );
166 | mainGroup = 6003F581195388D10070C39A;
167 | productRefGroup = 6003F58B195388D20070C39A /* Products */;
168 | projectDirPath = "";
169 | projectRoot = "";
170 | targets = (
171 | 6003F5AD195388D20070C39A /* SHTwoDimensionalArray_Tests */,
172 | );
173 | };
174 | /* End PBXProject section */
175 |
176 | /* Begin PBXResourcesBuildPhase section */
177 | 6003F5AC195388D20070C39A /* Resources */ = {
178 | isa = PBXResourcesBuildPhase;
179 | buildActionMask = 2147483647;
180 | files = (
181 | 6003F5BA195388D20070C39A /* InfoPlist.strings in Resources */,
182 | );
183 | runOnlyForDeploymentPostprocessing = 0;
184 | };
185 | /* End PBXResourcesBuildPhase section */
186 |
187 | /* Begin PBXShellScriptBuildPhase section */
188 | B9527AE6AB25833AD683ADDC /* Embed Pods Frameworks */ = {
189 | isa = PBXShellScriptBuildPhase;
190 | buildActionMask = 2147483647;
191 | files = (
192 | );
193 | inputPaths = (
194 | );
195 | name = "Embed Pods Frameworks";
196 | outputPaths = (
197 | );
198 | runOnlyForDeploymentPostprocessing = 0;
199 | shellPath = /bin/sh;
200 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-SHTwoDimensionalArray_Tests/Pods-SHTwoDimensionalArray_Tests-frameworks.sh\"\n";
201 | showEnvVarsInLog = 0;
202 | };
203 | CFEBC1E440D90157FCB9EC26 /* Check Pods Manifest.lock */ = {
204 | isa = PBXShellScriptBuildPhase;
205 | buildActionMask = 2147483647;
206 | files = (
207 | );
208 | inputPaths = (
209 | );
210 | name = "Check Pods Manifest.lock";
211 | outputPaths = (
212 | );
213 | runOnlyForDeploymentPostprocessing = 0;
214 | shellPath = /bin/sh;
215 | shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [[ $? != 0 ]] ; then\n cat << EOM\nerror: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\nEOM\n exit 1\nfi\n";
216 | showEnvVarsInLog = 0;
217 | };
218 | FB151017B8BFD36A9C4BA1E7 /* Copy Pods Resources */ = {
219 | isa = PBXShellScriptBuildPhase;
220 | buildActionMask = 2147483647;
221 | files = (
222 | );
223 | inputPaths = (
224 | );
225 | name = "Copy Pods Resources";
226 | outputPaths = (
227 | );
228 | runOnlyForDeploymentPostprocessing = 0;
229 | shellPath = /bin/sh;
230 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-SHTwoDimensionalArray_Tests/Pods-SHTwoDimensionalArray_Tests-resources.sh\"\n";
231 | showEnvVarsInLog = 0;
232 | };
233 | /* End PBXShellScriptBuildPhase section */
234 |
235 | /* Begin PBXSourcesBuildPhase section */
236 | 6003F5AA195388D20070C39A /* Sources */ = {
237 | isa = PBXSourcesBuildPhase;
238 | buildActionMask = 2147483647;
239 | files = (
240 | F05FC4301D68265E006650FA /* SHTwoDArrayTests.m in Sources */,
241 | );
242 | runOnlyForDeploymentPostprocessing = 0;
243 | };
244 | /* End PBXSourcesBuildPhase section */
245 |
246 | /* Begin PBXVariantGroup section */
247 | 6003F5B8195388D20070C39A /* InfoPlist.strings */ = {
248 | isa = PBXVariantGroup;
249 | children = (
250 | 6003F5B9195388D20070C39A /* en */,
251 | );
252 | name = InfoPlist.strings;
253 | sourceTree = "";
254 | };
255 | /* End PBXVariantGroup section */
256 |
257 | /* Begin XCBuildConfiguration section */
258 | 6003F5BD195388D20070C39A /* Debug */ = {
259 | isa = XCBuildConfiguration;
260 | buildSettings = {
261 | ALWAYS_SEARCH_USER_PATHS = NO;
262 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
263 | CLANG_CXX_LIBRARY = "libc++";
264 | CLANG_ENABLE_MODULES = YES;
265 | CLANG_ENABLE_OBJC_ARC = YES;
266 | CLANG_WARN_BOOL_CONVERSION = YES;
267 | CLANG_WARN_CONSTANT_CONVERSION = YES;
268 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
269 | CLANG_WARN_EMPTY_BODY = YES;
270 | CLANG_WARN_ENUM_CONVERSION = YES;
271 | CLANG_WARN_INT_CONVERSION = YES;
272 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
273 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
274 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
275 | COPY_PHASE_STRIP = NO;
276 | ENABLE_TESTABILITY = YES;
277 | GCC_C_LANGUAGE_STANDARD = gnu99;
278 | GCC_DYNAMIC_NO_PIC = NO;
279 | GCC_OPTIMIZATION_LEVEL = 0;
280 | GCC_PREPROCESSOR_DEFINITIONS = (
281 | "DEBUG=1",
282 | "$(inherited)",
283 | );
284 | GCC_SYMBOLS_PRIVATE_EXTERN = NO;
285 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
286 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
287 | GCC_WARN_UNDECLARED_SELECTOR = YES;
288 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
289 | GCC_WARN_UNUSED_FUNCTION = YES;
290 | GCC_WARN_UNUSED_VARIABLE = YES;
291 | IPHONEOS_DEPLOYMENT_TARGET = 7.0;
292 | ONLY_ACTIVE_ARCH = YES;
293 | SDKROOT = iphoneos;
294 | TARGETED_DEVICE_FAMILY = "1,2";
295 | };
296 | name = Debug;
297 | };
298 | 6003F5BE195388D20070C39A /* Release */ = {
299 | isa = XCBuildConfiguration;
300 | buildSettings = {
301 | ALWAYS_SEARCH_USER_PATHS = NO;
302 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
303 | CLANG_CXX_LIBRARY = "libc++";
304 | CLANG_ENABLE_MODULES = YES;
305 | CLANG_ENABLE_OBJC_ARC = YES;
306 | CLANG_WARN_BOOL_CONVERSION = YES;
307 | CLANG_WARN_CONSTANT_CONVERSION = YES;
308 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
309 | CLANG_WARN_EMPTY_BODY = YES;
310 | CLANG_WARN_ENUM_CONVERSION = YES;
311 | CLANG_WARN_INT_CONVERSION = YES;
312 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
313 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
314 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
315 | COPY_PHASE_STRIP = YES;
316 | ENABLE_NS_ASSERTIONS = NO;
317 | GCC_C_LANGUAGE_STANDARD = gnu99;
318 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
319 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
320 | GCC_WARN_UNDECLARED_SELECTOR = YES;
321 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
322 | GCC_WARN_UNUSED_FUNCTION = YES;
323 | GCC_WARN_UNUSED_VARIABLE = YES;
324 | IPHONEOS_DEPLOYMENT_TARGET = 7.0;
325 | SDKROOT = iphoneos;
326 | TARGETED_DEVICE_FAMILY = "1,2";
327 | VALIDATE_PRODUCT = YES;
328 | };
329 | name = Release;
330 | };
331 | 6003F5C3195388D20070C39A /* Debug */ = {
332 | isa = XCBuildConfiguration;
333 | baseConfigurationReference = AEE5676015A6AF837D44F686 /* Pods-SHTwoDimensionalArray_Tests.debug.xcconfig */;
334 | buildSettings = {
335 | FRAMEWORK_SEARCH_PATHS = (
336 | "$(SDKROOT)/Developer/Library/Frameworks",
337 | "$(inherited)",
338 | "$(DEVELOPER_FRAMEWORKS_DIR)",
339 | );
340 | GCC_PRECOMPILE_PREFIX_HEADER = YES;
341 | GCC_PREFIX_HEADER = "Tests/Tests-Prefix.pch";
342 | GCC_PREPROCESSOR_DEFINITIONS = (
343 | "DEBUG=1",
344 | "$(inherited)",
345 | );
346 | INFOPLIST_FILE = "Tests/Tests-Info.plist";
347 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}";
348 | PRODUCT_NAME = "$(TARGET_NAME)";
349 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/SHTwoDimensionalArray_Example.app/SHTwoDimensionalArray_Example";
350 | WRAPPER_EXTENSION = xctest;
351 | };
352 | name = Debug;
353 | };
354 | 6003F5C4195388D20070C39A /* Release */ = {
355 | isa = XCBuildConfiguration;
356 | baseConfigurationReference = DC0A2E5CADADCCDD2E0B8A81 /* Pods-SHTwoDimensionalArray_Tests.release.xcconfig */;
357 | buildSettings = {
358 | FRAMEWORK_SEARCH_PATHS = (
359 | "$(SDKROOT)/Developer/Library/Frameworks",
360 | "$(inherited)",
361 | "$(DEVELOPER_FRAMEWORKS_DIR)",
362 | );
363 | GCC_PRECOMPILE_PREFIX_HEADER = YES;
364 | GCC_PREFIX_HEADER = "Tests/Tests-Prefix.pch";
365 | INFOPLIST_FILE = "Tests/Tests-Info.plist";
366 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}";
367 | PRODUCT_NAME = "$(TARGET_NAME)";
368 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/SHTwoDimensionalArray_Example.app/SHTwoDimensionalArray_Example";
369 | WRAPPER_EXTENSION = xctest;
370 | };
371 | name = Release;
372 | };
373 | /* End XCBuildConfiguration section */
374 |
375 | /* Begin XCConfigurationList section */
376 | 6003F585195388D10070C39A /* Build configuration list for PBXProject "SHTwoDimensionalArray" */ = {
377 | isa = XCConfigurationList;
378 | buildConfigurations = (
379 | 6003F5BD195388D20070C39A /* Debug */,
380 | 6003F5BE195388D20070C39A /* Release */,
381 | );
382 | defaultConfigurationIsVisible = 0;
383 | defaultConfigurationName = Release;
384 | };
385 | 6003F5C2195388D20070C39A /* Build configuration list for PBXNativeTarget "SHTwoDimensionalArray_Tests" */ = {
386 | isa = XCConfigurationList;
387 | buildConfigurations = (
388 | 6003F5C3195388D20070C39A /* Debug */,
389 | 6003F5C4195388D20070C39A /* Release */,
390 | );
391 | defaultConfigurationIsVisible = 0;
392 | defaultConfigurationName = Release;
393 | };
394 | /* End XCConfigurationList section */
395 | };
396 | rootObject = 6003F582195388D10070C39A /* Project object */;
397 | }
398 |
--------------------------------------------------------------------------------
/Example/SHTwoDimensionalArray.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Example/SHTwoDimensionalArray.xcodeproj/xcshareddata/xcschemes/SHTwoDimensionalArray-Example.xcscheme:
--------------------------------------------------------------------------------
1 |
2 |
5 |
8 |
9 |
15 |
21 |
22 |
23 |
24 |
25 |
30 |
31 |
33 |
39 |
40 |
41 |
42 |
43 |
49 |
50 |
51 |
52 |
53 |
54 |
64 |
66 |
72 |
73 |
74 |
75 |
76 |
77 |
83 |
85 |
91 |
92 |
93 |
94 |
96 |
97 |
100 |
101 |
102 |
--------------------------------------------------------------------------------
/Example/SHTwoDimensionalArray.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/Example/Tests/SHTwoDArrayTests.m:
--------------------------------------------------------------------------------
1 | //
2 | // SHTwoDArrayTests.m
3 | // SHTwoDimensionalArray
4 | //
5 | // Created by shabib hossain on 8/20/16.
6 | // Copyright © 2016 Ahmad Shabibul Hossain. All rights reserved.
7 | //
8 |
9 | #import
10 | #import "SHTwoDimensionalArray.h"
11 |
12 | @interface SHTwoDArrayTests : XCTestCase
13 |
14 | @property (nonatomic, strong) SHTwoDimensionalArray *twoDArray;
15 |
16 | @end
17 |
18 | @implementation SHTwoDArrayTests
19 |
20 | - (void)setUp {
21 | [super setUp];
22 |
23 | self.twoDArray = [SHTwoDimensionalArray arrayWithRows:2 andColumns:2];
24 | XCTAssertNotNil(self.twoDArray, "Allocation passed.");
25 | }
26 |
27 | - (void)testTwoDarrayNotNilAfterSetObject {
28 |
29 | [self.twoDArray setObject:@"Foo" inRow:0 column:0];
30 |
31 | NSString *fooString = [self.twoDArray objectInRow:0 column:0];
32 | XCTAssertNotNil(fooString, "Object at index[0][0] can not be nil");
33 | }
34 |
35 | - (void)testTwoDArraySetAndGetObject {
36 |
37 | [self.twoDArray setObject:@"Foo" inRow:0 column:0];
38 |
39 | NSString *fooString = [self.twoDArray objectInRow:0 column:0];
40 | XCTAssertEqualObjects(@"Foo", fooString, "Object at index[0][0] and foo string should be equal");
41 | }
42 |
43 | - (void)testTwoDArrayIndexOverWriting {
44 |
45 | [self.twoDArray setObject:@"Foo" inRow:0 column:0];
46 | [self.twoDArray setObject:@"Bar" inRow:1 column:1];
47 |
48 | NSString *barString = [self.twoDArray objectInRow:1 column:1];
49 |
50 | XCTAssertNotEqualObjects(@"foo", barString, "Object at index[0][0] and object at index[1][1] are different.");
51 | }
52 |
53 | - (void)tearDown {
54 | self.twoDArray = nil;
55 | [super tearDown];
56 | }
57 |
58 | @end
59 |
--------------------------------------------------------------------------------
/Example/Tests/Tests-Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | ${EXECUTABLE_NAME}
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundlePackageType
14 | BNDL
15 | CFBundleShortVersionString
16 | 1.0
17 | CFBundleSignature
18 | ????
19 | CFBundleVersion
20 | 1
21 |
22 |
23 |
--------------------------------------------------------------------------------
/Example/Tests/Tests-Prefix.pch:
--------------------------------------------------------------------------------
1 | // The contents of this file are implicitly included at the beginning of every test case source file.
2 |
3 | #ifdef __OBJC__
4 |
5 |
6 |
7 | #endif
8 |
--------------------------------------------------------------------------------
/Example/Tests/en.lproj/InfoPlist.strings:
--------------------------------------------------------------------------------
1 | /* Localized versions of Info.plist keys */
2 |
3 |
--------------------------------------------------------------------------------
/Images/codewithshabib.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shabib87/SHTwoDimensionalArray/cf2118310673074d1762429442f6764dec8b3edc/Images/codewithshabib.png
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | Copyright (c) 2016 Ahmad Shabibul Hossain
2 |
3 | Permission is hereby granted, free of charge, to any person obtaining a copy
4 | of this software and associated documentation files (the "Software"), to deal
5 | in the Software without restriction, including without limitation the rights
6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7 | copies of the Software, and to permit persons to whom the Software is
8 | furnished to do so, subject to the following conditions:
9 |
10 | The above copyright notice and this permission notice shall be included in
11 | all copies or substantial portions of the Software.
12 |
13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19 | THE SOFTWARE.
20 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | 
2 | # SHTwoDimensionalArray
3 |
4 | [](http://cocoapods.org/pods/SHTwoDimensionalArray)
5 | [](http://cocoapods.org/pods/SHTwoDimensionalArray)
6 | [](http://cocoapods.org/pods/SHTwoDimensionalArray)
7 |
8 | ## Overview
9 |
10 | This CocoaPod provides the ability to use a two dimensional array that can be used using row and column index.
11 |
12 | ## Requirements
13 |
14 | * ARC
15 | * iOS7
16 |
17 | ## Installation
18 |
19 | SHTwoDimensionalArray is available through [CocoaPods](http://cocoapods.org). To install
20 | it, simply add the following line to your Podfile:
21 |
22 | ```ruby
23 | pod 'SHTwoDimensionalArray'
24 | ```
25 |
26 | ## Usage
27 |
28 | ```ObjC
29 | #import "SHTwoDimensionalArray.h"
30 |
31 | SHTwoDimensionalArray *twoDArray = [SHTwoDimensionalArray arrayWithRows:2 andColumns:2];
32 | [twoDArray setObject:@"Foo" inRow:0 column:0];
33 | ...
34 |
35 | NSString *foo = [twoDArray objectInRow:0 column:0];
36 | ```
37 |
38 | ## Author
39 |
40 | **Created by** Ahmad Shabibul Hossain on 5/15/14. [@shabib_hossain](https://twitter.com/shabib_hossain).
41 |
42 | ## Contact
43 |
44 | Share feedbacks and ideas to improve this project, I would love to hear them out. You can also follow me on [@shabib_hossain](https://twitter.com/shabib_hossain).
45 |
46 | ## License
47 |
48 | SHTwoDimensionalArray is available under the MIT license. See the LICENSE file for more info.
49 |
--------------------------------------------------------------------------------
/SHTwoDimensionalArray.podspec:
--------------------------------------------------------------------------------
1 |
2 | Pod::Spec.new do |s|
3 | s.name = 'SHTwoDimensionalArray'
4 | s.version = '0.1.4'
5 | s.summary = 'Easy to use two dimensional array for iOS applications.'
6 |
7 |
8 | s.description = <<-DESC
9 | This CocoaPod provides the ability to use a two dimensional array that can be used using row and column index.
10 | DESC
11 |
12 | s.homepage = 'https://github.com/shabib87/SHTwoDimensionalArray'
13 | s.license = { :type => 'MIT', :file => 'LICENSE' }
14 | s.author = { 'Ahmad Shabibul Hossain' => 'shabib.sust@gmail.com' }
15 | s.source = { :git => 'https://github.com/shabib87/SHTwoDimensionalArray.git', :tag => s.version.to_s }
16 | s.social_media_url = 'https://twitter.com/shabib_hossain'
17 |
18 | s.ios.deployment_target = '7.0'
19 | s.requires_arc = true
20 |
21 | s.source_files = 'SHTwoDimensionalArray/Classes/**/*'
22 |
23 | s.frameworks = 'Foundation'
24 |
25 | end
26 |
--------------------------------------------------------------------------------
/SHTwoDimensionalArray/Assets/.gitkeep:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shabib87/SHTwoDimensionalArray/cf2118310673074d1762429442f6764dec8b3edc/SHTwoDimensionalArray/Assets/.gitkeep
--------------------------------------------------------------------------------
/SHTwoDimensionalArray/Classes/.gitkeep:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shabib87/SHTwoDimensionalArray/cf2118310673074d1762429442f6764dec8b3edc/SHTwoDimensionalArray/Classes/.gitkeep
--------------------------------------------------------------------------------
/SHTwoDimensionalArray/Classes/SHTwoDimensionalArray.h:
--------------------------------------------------------------------------------
1 | //
2 | // SHTwoDimensionalArray.h
3 | // SHTwoDimensionalArray
4 | //
5 | // Created by shabib hossain on 2/5/16.
6 | // Copyright © 2016 shabib hossain. All rights reserved.
7 | //
8 |
9 | #import
10 |
11 | @interface SHTwoDimensionalArray : NSObject
12 |
13 | /**
14 | * @author Shabib Hossain
15 | *
16 | * Constructor method for the two dimensional array.
17 | *
18 | * @param rows Number of rows to be in the 2D array.
19 | * @param columns Number of columns to be in the 2D array.
20 | *
21 | * @return An initialized empty 2D array witht he desired number of rows and columns.
22 | */
23 | + (id)arrayWithRows:(NSUInteger)rows andColumns:(NSUInteger)columns;
24 |
25 | /**
26 | * @author Shabib Hossain
27 | *
28 | * Returns the object at desired row and column position.
29 | *
30 | * @param row Desired object's row position.
31 | * @param column Desired object's column position.
32 | *
33 | * @return Object at the [row][column] position.
34 | */
35 | - (id)objectInRow:(NSUInteger)row column:(NSUInteger)column;
36 |
37 | /**
38 | * @author Shabib Hossain
39 | *
40 | * Sets an object at the desired [row][column] position.
41 | *
42 | * @param obj The object that is to be placed in the array.
43 | * @param row Index of the row.
44 | * @param column Index of the column.
45 | */
46 | - (void)setObject:(id)obj inRow:(NSUInteger)row column:(NSUInteger)column;
47 |
48 | @end
49 |
--------------------------------------------------------------------------------
/SHTwoDimensionalArray/Classes/SHTwoDimensionalArray.m:
--------------------------------------------------------------------------------
1 | //
2 | // SHTwoDimensionalArray.m
3 | // SHTwoDimensionalArray
4 | //
5 | // Created by shabib hossain on 2/5/16.
6 | // Copyright © 2016 shabib hossain. All rights reserved.
7 | //
8 |
9 | #import "SHTwoDimensionalArray.h"
10 |
11 | @interface SHTwoDimensionalArray ()
12 |
13 | @property (nonatomic, strong) NSMutableArray *rows;
14 |
15 | @end
16 |
17 | @implementation SHTwoDimensionalArray
18 |
19 | - (id)initWithRows:(NSUInteger)rows andColumns:(NSUInteger)columns {
20 |
21 | if ((self = [self init])) {
22 |
23 | self.rows = [[NSMutableArray alloc] initWithCapacity: rows];
24 |
25 | for (int i = 0; i < rows; i++) {
26 |
27 | NSMutableArray *column = [NSMutableArray arrayWithCapacity:columns];
28 |
29 | for (int j = 0; j < columns; j++) {
30 |
31 | [column setObject:[NSNull null] atIndexedSubscript:j];
32 | }
33 | [self.rows addObject:column];
34 | }
35 | }
36 | return self;
37 | }
38 |
39 | + (id)arrayWithRows:(NSUInteger)rows andColumns:(NSUInteger)columns {
40 |
41 | return [[self alloc] initWithRows:rows andColumns:columns];
42 | }
43 |
44 | - (id)objectInRow:(NSUInteger)row column:(NSUInteger)column {
45 |
46 | return [[self.rows objectAtIndex:row] objectAtIndex:column];
47 | }
48 |
49 | - (void)setObject:(id)obj inRow:(NSUInteger)row column:(NSUInteger)column {
50 |
51 | [[self.rows objectAtIndex:row] replaceObjectAtIndex:column withObject:obj];
52 | }
53 |
54 | @end
55 |
--------------------------------------------------------------------------------
/_Pods.xcodeproj:
--------------------------------------------------------------------------------
1 | Example/Pods/Pods.xcodeproj
--------------------------------------------------------------------------------