├── FacePass Webservice ├── .gitignore ├── Procfile ├── app.pyc ├── fc.py ├── fc.pyc ├── haarcascade_frontalface_default.xml ├── requirements.txt ├── runApp.py ├── runApp.pyc └── runtime.txt ├── FacePass-iOS Source Code ├── FacePass.xcodeproj │ ├── project.pbxproj │ ├── project.xcworkspace │ │ ├── contents.xcworkspacedata │ │ └── xcuserdata │ │ │ └── waseemakram.xcuserdatad │ │ │ └── UserInterfaceState.xcuserstate │ └── xcuserdata │ │ └── waseemakram.xcuserdatad │ │ ├── xcdebugger │ │ └── Breakpoints_v2.xcbkptlist │ │ └── xcschemes │ │ ├── FacePass.xcscheme │ │ └── xcschememanagement.plist ├── FacePass.xcworkspace │ ├── contents.xcworkspacedata │ └── xcuserdata │ │ └── waseemakram.xcuserdatad │ │ ├── UserInterfaceState.xcuserstate │ │ └── xcdebugger │ │ └── Breakpoints_v2.xcbkptlist ├── FacePass │ ├── AppDelegate.swift │ ├── Assets.xcassets │ │ ├── AppIcon.appiconset │ │ │ ├── Contents.json │ │ │ ├── Icon-App-20x20@1x.png │ │ │ ├── Icon-App-20x20@2x.png │ │ │ ├── Icon-App-20x20@3x.png │ │ │ ├── Icon-App-29x29@1x.png │ │ │ ├── Icon-App-29x29@2x.png │ │ │ ├── Icon-App-29x29@3x.png │ │ │ ├── Icon-App-40x40@1x.png │ │ │ ├── Icon-App-40x40@2x.png │ │ │ ├── Icon-App-40x40@3x.png │ │ │ ├── Icon-App-57x57@1x.png │ │ │ ├── Icon-App-57x57@2x.png │ │ │ ├── Icon-App-60x60@1x.png │ │ │ ├── Icon-App-60x60@2x.png │ │ │ ├── Icon-App-60x60@3x.png │ │ │ ├── Icon-App-72x72@1x.png │ │ │ ├── Icon-App-72x72@2x.png │ │ │ ├── Icon-App-76x76@1x.png │ │ │ ├── Icon-App-76x76@2x.png │ │ │ ├── Icon-App-76x76@3x.png │ │ │ ├── Icon-App-83.5x83.5@2x.png │ │ │ ├── Icon-Small-50x50@1x.png │ │ │ ├── Icon-Small-50x50@2x.png │ │ │ └── Original icon.png │ │ ├── Avatar.imageset │ │ │ ├── Avatar.png │ │ │ ├── Avatar@2x.png │ │ │ ├── Avatar@3x.png │ │ │ └── Contents.json │ │ ├── Circle.imageset │ │ │ ├── Circle.png │ │ │ ├── Circle@2x.png │ │ │ ├── Circle@3x.png │ │ │ └── Contents.json │ │ ├── Contents.json │ │ ├── Conversation.imageset │ │ │ ├── Contents.json │ │ │ ├── Conversation.png │ │ │ ├── Conversation@2x.png │ │ │ └── Conversation@3x.png │ │ ├── Rcamera.imageset │ │ │ ├── Contents.json │ │ │ ├── Rcamera.png │ │ │ ├── Rcamera@2x.png │ │ │ └── Rcamera@3x.png │ │ ├── Screens.imageset │ │ │ ├── Contents.json │ │ │ ├── Screens.png │ │ │ ├── Screens@2x.png │ │ │ └── Screens@3x.png │ │ ├── Wback.imageset │ │ │ ├── Back Chevron.png │ │ │ ├── Back Chevron@2x.png │ │ │ ├── Back Chevron@3x.png │ │ │ └── Contents.json │ │ ├── back.imageset │ │ │ ├── Contents.json │ │ │ ├── back.png │ │ │ ├── back@2x.png │ │ │ └── back@3x.png │ │ ├── check.imageset │ │ │ ├── Contents.json │ │ │ ├── check-symbol.png │ │ │ ├── check-symbol@2x.png │ │ │ └── check-symbol@3x.png │ │ ├── error.imageset │ │ │ ├── Contents.json │ │ │ ├── Group 2.png │ │ │ ├── Group 2@2x.png │ │ │ └── Group 2@3x.png │ │ ├── newface.imageset │ │ │ ├── Contents.json │ │ │ ├── ic.png │ │ │ ├── ic@2x.png │ │ │ └── ic@3x.png │ │ ├── pinAlert.imageset │ │ │ ├── Contents.json │ │ │ ├── pinAlert.png │ │ │ ├── pinAlert@2x.png │ │ │ └── pinAlert@3x.png │ │ ├── prof-ph.imageset │ │ │ ├── Contents.json │ │ │ └── placeholder-profile-male.jpg │ │ └── smiley.imageset │ │ │ ├── Contents.json │ │ │ ├── smiley.png │ │ │ ├── smiley@2x.png │ │ │ └── smiley@3x.png │ ├── Base.lproj │ │ ├── LaunchScreen.storyboard │ │ └── Main.storyboard │ ├── GoogleService-Info-3.plist │ ├── GoogleService-Info.plist │ ├── GoogleService-Info].plist │ ├── Info.plist │ ├── model │ │ ├── AppColors.swift │ │ ├── FPValues.swift │ │ ├── Face Detection enums.swift │ │ └── Messages.swift │ ├── supporting Files │ │ ├── Misc extensions.swift │ │ ├── UIView Extensions.swift │ │ ├── UIView+Anchors.swift │ │ ├── UIViewController extensions.swift │ │ └── reachability.swift │ ├── view │ │ ├── FPAlert.swift │ │ ├── FPButton.swift │ │ ├── FPMsgBox.swift │ │ ├── FPTextField.swift │ │ ├── cSwitch.swift │ │ ├── cameraButton.swift │ │ ├── cameraRotateButton.swift │ │ └── newFaceProtocol.swift │ └── viewcontrollers │ │ ├── ConfirmFaceViewController.swift │ │ ├── MainCamDetectionViewController.swift │ │ ├── MaincameraVC extension.swift │ │ ├── MessageVC │ │ ├── MSGCell.swift │ │ ├── MessageVC + keyboard.swift │ │ ├── MessageVC + messageCollection.swift │ │ └── MessageViewController.swift │ │ ├── NewFaceIntroViewController.swift │ │ ├── NewFaceViewController.swift │ │ ├── RecognizeErrorViewController.swift │ │ └── onBoarding │ │ ├── onBoardingViewController.swift │ │ └── onboardingcell.swift ├── Podfile ├── Podfile.lock └── Pods │ ├── EasyPeasy │ ├── EasyPeasy │ │ ├── Attribute.swift │ │ ├── CompoundAttribute.swift │ │ ├── Constant.swift │ │ ├── Context.swift │ │ ├── DimensionAttribute+AppKit.swift │ │ ├── DimensionAttribute+UIKit.swift │ │ ├── DimensionAttribute.swift │ │ ├── Item+AppKit.swift │ │ ├── Item+UIKit.swift │ │ ├── Item.swift │ │ ├── NSLayoutGuide+Easy.swift │ │ ├── NSView+Easy.swift │ │ ├── Node.swift │ │ ├── PositionAttribute+AppKit.swift │ │ ├── PositionAttribute+UIKit.swift │ │ ├── PositionAttribute.swift │ │ ├── Priority.swift │ │ ├── ReferenceAttribute.swift │ │ ├── UILayoutGuide+Easy.swift │ │ └── UIView+Easy.swift │ ├── LICENSE │ └── README.md │ ├── Firebase │ ├── Core │ │ └── Sources │ │ │ ├── Firebase.h │ │ │ └── module.modulemap │ └── README.md │ ├── FirebaseAnalytics │ └── Frameworks │ │ └── FirebaseAnalytics.framework │ │ ├── FirebaseAnalytics │ │ ├── Headers │ │ ├── FIRAnalytics+AppDelegate.h │ │ ├── FIRAnalytics.h │ │ ├── FIRAnalyticsConfiguration.h │ │ ├── FIRAnalyticsSwiftNameSupport.h │ │ ├── FIRApp.h │ │ ├── FIRConfiguration.h │ │ ├── FIREventNames.h │ │ ├── FIROptions.h │ │ ├── FIRParameterNames.h │ │ ├── FIRUserPropertyNames.h │ │ └── FirebaseAnalytics.h │ │ └── Modules │ │ └── module.modulemap │ ├── FirebaseCore │ └── Frameworks │ │ ├── FirebaseCore.framework │ │ ├── FirebaseCore │ │ ├── Headers │ │ │ ├── FIRAnalyticsConfiguration.h │ │ │ ├── FIRApp.h │ │ │ ├── FIRConfiguration.h │ │ │ ├── FIRCoreSwiftNameSupport.h │ │ │ ├── FIRLoggerLevel.h │ │ │ ├── FIROptions.h │ │ │ └── FirebaseCore.h │ │ └── Modules │ │ │ └── module.modulemap │ │ ├── FirebaseCoreDiagnostics.framework │ │ ├── FirebaseCoreDiagnostics │ │ └── Modules │ │ │ └── module.modulemap │ │ └── FirebaseNanoPB.framework │ │ └── FirebaseNanoPB │ ├── FirebaseDatabase │ └── Frameworks │ │ └── FirebaseDatabase.framework │ │ ├── FirebaseDatabase │ │ ├── Headers │ │ ├── FIRDataEventType.h │ │ ├── FIRDataSnapshot.h │ │ ├── FIRDatabase.h │ │ ├── FIRDatabaseQuery.h │ │ ├── FIRDatabaseReference.h │ │ ├── FIRDatabaseSwiftNameSupport.h │ │ ├── FIRMutableData.h │ │ ├── FIRServerValue.h │ │ ├── FIRTransactionResult.h │ │ └── FirebaseDatabase.h │ │ └── Modules │ │ └── module.modulemap │ ├── FirebaseInstanceID │ ├── CHANGELOG.md │ ├── Frameworks │ │ └── FirebaseInstanceID.framework │ │ │ ├── FirebaseInstanceID │ │ │ ├── Headers │ │ │ ├── FIRInstanceID.h │ │ │ └── FirebaseInstanceID.h │ │ │ └── Modules │ │ │ └── module.modulemap │ └── README.md │ ├── FirebaseStorage │ └── Frameworks │ │ └── FirebaseStorage.framework │ │ ├── FirebaseStorage │ │ ├── Headers │ │ ├── FIRStorage.h │ │ ├── FIRStorageConstants.h │ │ ├── FIRStorageDownloadTask.h │ │ ├── FIRStorageMetadata.h │ │ ├── FIRStorageObservableTask.h │ │ ├── FIRStorageReference.h │ │ ├── FIRStorageSwiftNameSupport.h │ │ ├── FIRStorageTask.h │ │ ├── FIRStorageTaskSnapshot.h │ │ ├── FIRStorageUploadTask.h │ │ └── FirebaseStorage.h │ │ └── Modules │ │ └── module.modulemap │ ├── GTMSessionFetcher │ ├── LICENSE │ ├── README.md │ └── Source │ │ ├── GTMSessionFetcher.h │ │ ├── GTMSessionFetcher.m │ │ ├── GTMSessionFetcherLogging.h │ │ ├── GTMSessionFetcherLogging.m │ │ ├── GTMSessionFetcherService.h │ │ ├── GTMSessionFetcherService.m │ │ ├── GTMSessionUploadFetcher.h │ │ └── GTMSessionUploadFetcher.m │ ├── GoogleToolboxForMac │ ├── Foundation │ │ ├── GTMNSData+zlib.h │ │ └── GTMNSData+zlib.m │ ├── GTMDefines.h │ ├── LICENSE │ └── README.md │ ├── Headers │ ├── Private │ │ └── Firebase │ │ │ └── Firebase.h │ └── Public │ │ └── Firebase │ │ └── Firebase.h │ ├── ISEmojiView │ ├── LICENSE │ ├── README.md │ └── Source │ │ ├── Assets │ │ └── ISEmojiList.plist │ │ └── Classes │ │ └── ISEmojiView.swift │ ├── Manifest.lock │ ├── Pods.xcodeproj │ ├── project.pbxproj │ └── xcuserdata │ │ └── waseemakram.xcuserdatad │ │ └── xcschemes │ │ ├── EasyPeasy.xcscheme │ │ ├── GTMSessionFetcher.xcscheme │ │ ├── GoogleToolboxForMac.xcscheme │ │ ├── ISEmojiView-ISEmojiView.xcscheme │ │ ├── ISEmojiView.xcscheme │ │ ├── Pods-FacePass.xcscheme │ │ ├── SDWebImage.xcscheme │ │ ├── leveldb-library.xcscheme │ │ ├── nanopb.xcscheme │ │ └── xcschememanagement.plist │ ├── SDWebImage │ ├── LICENSE │ ├── README.md │ └── SDWebImage │ │ ├── NSData+ImageContentType.h │ │ ├── NSData+ImageContentType.m │ │ ├── NSImage+WebCache.h │ │ ├── NSImage+WebCache.m │ │ ├── SDImageCache.h │ │ ├── SDImageCache.m │ │ ├── SDImageCacheConfig.h │ │ ├── SDImageCacheConfig.m │ │ ├── SDWebImageCompat.h │ │ ├── SDWebImageCompat.m │ │ ├── SDWebImageDecoder.h │ │ ├── SDWebImageDecoder.m │ │ ├── SDWebImageDownloader.h │ │ ├── SDWebImageDownloader.m │ │ ├── SDWebImageDownloaderOperation.h │ │ ├── SDWebImageDownloaderOperation.m │ │ ├── SDWebImageManager.h │ │ ├── SDWebImageManager.m │ │ ├── SDWebImageOperation.h │ │ ├── SDWebImagePrefetcher.h │ │ ├── SDWebImagePrefetcher.m │ │ ├── UIButton+WebCache.h │ │ ├── UIButton+WebCache.m │ │ ├── UIImage+GIF.h │ │ ├── UIImage+GIF.m │ │ ├── UIImage+MultiFormat.h │ │ ├── UIImage+MultiFormat.m │ │ ├── UIImageView+HighlightedWebCache.h │ │ ├── UIImageView+HighlightedWebCache.m │ │ ├── UIImageView+WebCache.h │ │ ├── UIImageView+WebCache.m │ │ ├── UIView+WebCache.h │ │ ├── UIView+WebCache.m │ │ ├── UIView+WebCacheOperation.h │ │ └── UIView+WebCacheOperation.m │ ├── Target Support Files │ ├── EasyPeasy │ │ ├── EasyPeasy-dummy.m │ │ ├── EasyPeasy-prefix.pch │ │ ├── EasyPeasy-umbrella.h │ │ ├── EasyPeasy.modulemap │ │ ├── EasyPeasy.xcconfig │ │ └── Info.plist │ ├── GTMSessionFetcher │ │ ├── GTMSessionFetcher-dummy.m │ │ ├── GTMSessionFetcher-prefix.pch │ │ ├── GTMSessionFetcher-umbrella.h │ │ ├── GTMSessionFetcher.modulemap │ │ ├── GTMSessionFetcher.xcconfig │ │ └── Info.plist │ ├── GoogleToolboxForMac │ │ ├── GoogleToolboxForMac-dummy.m │ │ ├── GoogleToolboxForMac-prefix.pch │ │ ├── GoogleToolboxForMac-umbrella.h │ │ ├── GoogleToolboxForMac.modulemap │ │ ├── GoogleToolboxForMac.xcconfig │ │ └── Info.plist │ ├── ISEmojiView │ │ ├── ISEmojiView-dummy.m │ │ ├── ISEmojiView-prefix.pch │ │ ├── ISEmojiView-umbrella.h │ │ ├── ISEmojiView.modulemap │ │ ├── ISEmojiView.xcconfig │ │ ├── Info.plist │ │ └── ResourceBundle-ISEmojiView-Info.plist │ ├── Pods-FacePass │ │ ├── Info.plist │ │ ├── Pods-FacePass-acknowledgements.markdown │ │ ├── Pods-FacePass-acknowledgements.plist │ │ ├── Pods-FacePass-dummy.m │ │ ├── Pods-FacePass-frameworks.sh │ │ ├── Pods-FacePass-resources.sh │ │ ├── Pods-FacePass-umbrella.h │ │ ├── Pods-FacePass.debug.xcconfig │ │ ├── Pods-FacePass.modulemap │ │ └── Pods-FacePass.release.xcconfig │ ├── SDWebImage │ │ ├── Info.plist │ │ ├── SDWebImage-dummy.m │ │ ├── SDWebImage-prefix.pch │ │ ├── SDWebImage-umbrella.h │ │ ├── SDWebImage.modulemap │ │ └── SDWebImage.xcconfig │ ├── leveldb-library │ │ ├── Info.plist │ │ ├── leveldb-library-dummy.m │ │ ├── leveldb-library-prefix.pch │ │ ├── leveldb-library-umbrella.h │ │ ├── leveldb-library.modulemap │ │ └── leveldb-library.xcconfig │ └── nanopb │ │ ├── Info.plist │ │ ├── nanopb-dummy.m │ │ ├── nanopb-prefix.pch │ │ ├── nanopb-umbrella.h │ │ ├── nanopb.modulemap │ │ └── nanopb.xcconfig │ ├── leveldb-library │ ├── LICENSE │ ├── README │ ├── README.md │ ├── db │ │ ├── autocompact_test.cc │ │ ├── builder.cc │ │ ├── builder.h │ │ ├── c.cc │ │ ├── c_test.c │ │ ├── corruption_test.cc │ │ ├── db_bench.cc │ │ ├── db_impl.cc │ │ ├── db_impl.h │ │ ├── db_iter.cc │ │ ├── db_iter.h │ │ ├── db_test.cc │ │ ├── dbformat.cc │ │ ├── dbformat.h │ │ ├── dbformat_test.cc │ │ ├── dumpfile.cc │ │ ├── filename.cc │ │ ├── filename.h │ │ ├── filename_test.cc │ │ ├── leveldb_main.cc │ │ ├── log_format.h │ │ ├── log_reader.cc │ │ ├── log_reader.h │ │ ├── log_test.cc │ │ ├── log_writer.cc │ │ ├── log_writer.h │ │ ├── memtable.cc │ │ ├── memtable.h │ │ ├── repair.cc │ │ ├── skiplist.h │ │ ├── skiplist_test.cc │ │ ├── snapshot.h │ │ ├── table_cache.cc │ │ ├── table_cache.h │ │ ├── version_edit.cc │ │ ├── version_edit.h │ │ ├── version_edit_test.cc │ │ ├── version_set.cc │ │ ├── version_set.h │ │ ├── version_set_test.cc │ │ ├── write_batch.cc │ │ ├── write_batch_internal.h │ │ └── write_batch_test.cc │ ├── include │ │ └── leveldb │ │ │ ├── c.h │ │ │ ├── cache.h │ │ │ ├── comparator.h │ │ │ ├── db.h │ │ │ ├── dumpfile.h │ │ │ ├── env.h │ │ │ ├── filter_policy.h │ │ │ ├── iterator.h │ │ │ ├── options.h │ │ │ ├── slice.h │ │ │ ├── status.h │ │ │ ├── table.h │ │ │ ├── table_builder.h │ │ │ └── write_batch.h │ ├── port │ │ ├── README │ │ ├── atomic_pointer.h │ │ ├── port.h │ │ ├── port_example.h │ │ ├── port_posix.cc │ │ ├── port_posix.h │ │ ├── thread_annotations.h │ │ └── win │ │ │ └── stdint.h │ ├── table │ │ ├── block.cc │ │ ├── block.h │ │ ├── block_builder.cc │ │ ├── block_builder.h │ │ ├── filter_block.cc │ │ ├── filter_block.h │ │ ├── filter_block_test.cc │ │ ├── format.cc │ │ ├── format.h │ │ ├── iterator.cc │ │ ├── iterator_wrapper.h │ │ ├── merger.cc │ │ ├── merger.h │ │ ├── table.cc │ │ ├── table_builder.cc │ │ ├── table_test.cc │ │ ├── two_level_iterator.cc │ │ └── two_level_iterator.h │ └── util │ │ ├── arena.cc │ │ ├── arena.h │ │ ├── arena_test.cc │ │ ├── bloom.cc │ │ ├── bloom_test.cc │ │ ├── cache.cc │ │ ├── cache_test.cc │ │ ├── coding.cc │ │ ├── coding.h │ │ ├── coding_test.cc │ │ ├── comparator.cc │ │ ├── crc32c.cc │ │ ├── crc32c.h │ │ ├── crc32c_test.cc │ │ ├── env.cc │ │ ├── env_posix.cc │ │ ├── env_test.cc │ │ ├── filter_policy.cc │ │ ├── hash.cc │ │ ├── hash.h │ │ ├── hash_test.cc │ │ ├── histogram.cc │ │ ├── histogram.h │ │ ├── logging.cc │ │ ├── logging.h │ │ ├── mutexlock.h │ │ ├── options.cc │ │ ├── posix_logger.h │ │ ├── random.h │ │ ├── status.cc │ │ ├── testharness.cc │ │ ├── testharness.h │ │ ├── testutil.cc │ │ └── testutil.h │ └── nanopb │ ├── LICENSE.txt │ ├── README.md │ ├── pb.h │ ├── pb_common.c │ ├── pb_common.h │ ├── pb_decode.c │ ├── pb_decode.h │ ├── pb_encode.c │ └── pb_encode.h ├── README.md └── privacy-policy /FacePass Webservice/.gitignore: -------------------------------------------------------------------------------- 1 | dataset 2 | datasets 3 | dataset/ 4 | train 5 | model 6 | ds 7 | genv 8 | fc1.py 9 | train/trainner.yml 10 | trainer.yml 11 | tempfolderfortraining 12 | logs 13 | -------------------------------------------------------------------------------- /FacePass Webservice/Procfile: -------------------------------------------------------------------------------- 1 | web: gunicorn -w 10 -t 600 runApp:app 2 | #$((2* `cat /proc/cpuinfo | grep 'core id' | wc -l` + 1 )) -------------------------------------------------------------------------------- /FacePass Webservice/app.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devwaseem/FacePass/042b8461582ed0efc459cf12930016d8c5037478/FacePass Webservice/app.pyc -------------------------------------------------------------------------------- /FacePass Webservice/fc.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devwaseem/FacePass/042b8461582ed0efc459cf12930016d8c5037478/FacePass Webservice/fc.pyc -------------------------------------------------------------------------------- /FacePass Webservice/requirements.txt: -------------------------------------------------------------------------------- 1 | click==6.7 2 | Flask==0.12.2 3 | itsdangerous==0.24 4 | Jinja2==2.9.6 5 | MarkupSafe==1.0 6 | numpy==1.13.1 7 | opencv-contrib-python==3.3.0.10 8 | Werkzeug==0.12.2 9 | Pillow==4.2.1 10 | gunicorn -------------------------------------------------------------------------------- /FacePass Webservice/runApp.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devwaseem/FacePass/042b8461582ed0efc459cf12930016d8c5037478/FacePass Webservice/runApp.pyc -------------------------------------------------------------------------------- /FacePass Webservice/runtime.txt: -------------------------------------------------------------------------------- 1 | python-2.7.10 2 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/FacePass.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/FacePass.xcodeproj/project.xcworkspace/xcuserdata/waseemakram.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devwaseem/FacePass/042b8461582ed0efc459cf12930016d8c5037478/FacePass-iOS Source Code/FacePass.xcodeproj/project.xcworkspace/xcuserdata/waseemakram.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /FacePass-iOS Source Code/FacePass.xcodeproj/xcuserdata/waseemakram.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/FacePass.xcodeproj/xcuserdata/waseemakram.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | FacePass.xcscheme 8 | 9 | orderHint 10 | 9 11 | 12 | 13 | SuppressBuildableAutocreation 14 | 15 | 75AD3E271F77EABF00D0A0F4 16 | 17 | primary 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/FacePass.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/FacePass.xcworkspace/xcuserdata/waseemakram.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devwaseem/FacePass/042b8461582ed0efc459cf12930016d8c5037478/FacePass-iOS Source Code/FacePass.xcworkspace/xcuserdata/waseemakram.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /FacePass-iOS Source Code/FacePass.xcworkspace/xcuserdata/waseemakram.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/FacePass/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.swift 3 | // FacePass 4 | // 5 | // Created by Waseem Akram on 24/09/17. 6 | // Copyright © 2017 Haze. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | import Foundation 11 | import Firebase 12 | 13 | @UIApplicationMain 14 | class AppDelegate: UIResponder, UIApplicationDelegate { 15 | 16 | var window: UIWindow? 17 | 18 | 19 | func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { 20 | FirebaseApp.configure() 21 | self.window = UIWindow(frame: UIScreen.main.bounds) 22 | 23 | if !UserDefaults.standard.bool(forKey: "isFirstTime") { 24 | UserDefaults.standard.set(true, forKey: "isFirstTime") 25 | self.window?.rootViewController = onBoardingViewController() 26 | }else{ 27 | self.window?.rootViewController = MainCamDetectionViewController() 28 | } 29 | self.window?.makeKeyAndVisible() 30 | return true 31 | } 32 | 33 | 34 | 35 | 36 | } 37 | 38 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/FacePass/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devwaseem/FacePass/042b8461582ed0efc459cf12930016d8c5037478/FacePass-iOS Source Code/FacePass/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png -------------------------------------------------------------------------------- /FacePass-iOS Source Code/FacePass/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devwaseem/FacePass/042b8461582ed0efc459cf12930016d8c5037478/FacePass-iOS Source Code/FacePass/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png -------------------------------------------------------------------------------- /FacePass-iOS Source Code/FacePass/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devwaseem/FacePass/042b8461582ed0efc459cf12930016d8c5037478/FacePass-iOS Source Code/FacePass/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png -------------------------------------------------------------------------------- /FacePass-iOS Source Code/FacePass/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devwaseem/FacePass/042b8461582ed0efc459cf12930016d8c5037478/FacePass-iOS Source Code/FacePass/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png -------------------------------------------------------------------------------- /FacePass-iOS Source Code/FacePass/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devwaseem/FacePass/042b8461582ed0efc459cf12930016d8c5037478/FacePass-iOS Source Code/FacePass/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png -------------------------------------------------------------------------------- /FacePass-iOS Source Code/FacePass/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devwaseem/FacePass/042b8461582ed0efc459cf12930016d8c5037478/FacePass-iOS Source Code/FacePass/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png -------------------------------------------------------------------------------- /FacePass-iOS Source Code/FacePass/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devwaseem/FacePass/042b8461582ed0efc459cf12930016d8c5037478/FacePass-iOS Source Code/FacePass/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png -------------------------------------------------------------------------------- /FacePass-iOS Source Code/FacePass/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devwaseem/FacePass/042b8461582ed0efc459cf12930016d8c5037478/FacePass-iOS Source Code/FacePass/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png -------------------------------------------------------------------------------- /FacePass-iOS Source Code/FacePass/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devwaseem/FacePass/042b8461582ed0efc459cf12930016d8c5037478/FacePass-iOS Source Code/FacePass/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png -------------------------------------------------------------------------------- /FacePass-iOS Source Code/FacePass/Assets.xcassets/AppIcon.appiconset/Icon-App-57x57@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devwaseem/FacePass/042b8461582ed0efc459cf12930016d8c5037478/FacePass-iOS Source Code/FacePass/Assets.xcassets/AppIcon.appiconset/Icon-App-57x57@1x.png -------------------------------------------------------------------------------- /FacePass-iOS Source Code/FacePass/Assets.xcassets/AppIcon.appiconset/Icon-App-57x57@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devwaseem/FacePass/042b8461582ed0efc459cf12930016d8c5037478/FacePass-iOS Source Code/FacePass/Assets.xcassets/AppIcon.appiconset/Icon-App-57x57@2x.png -------------------------------------------------------------------------------- /FacePass-iOS Source Code/FacePass/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devwaseem/FacePass/042b8461582ed0efc459cf12930016d8c5037478/FacePass-iOS Source Code/FacePass/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@1x.png -------------------------------------------------------------------------------- /FacePass-iOS Source Code/FacePass/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devwaseem/FacePass/042b8461582ed0efc459cf12930016d8c5037478/FacePass-iOS Source Code/FacePass/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png -------------------------------------------------------------------------------- /FacePass-iOS Source Code/FacePass/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devwaseem/FacePass/042b8461582ed0efc459cf12930016d8c5037478/FacePass-iOS Source Code/FacePass/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png -------------------------------------------------------------------------------- /FacePass-iOS Source Code/FacePass/Assets.xcassets/AppIcon.appiconset/Icon-App-72x72@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devwaseem/FacePass/042b8461582ed0efc459cf12930016d8c5037478/FacePass-iOS Source Code/FacePass/Assets.xcassets/AppIcon.appiconset/Icon-App-72x72@1x.png -------------------------------------------------------------------------------- /FacePass-iOS Source Code/FacePass/Assets.xcassets/AppIcon.appiconset/Icon-App-72x72@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devwaseem/FacePass/042b8461582ed0efc459cf12930016d8c5037478/FacePass-iOS Source Code/FacePass/Assets.xcassets/AppIcon.appiconset/Icon-App-72x72@2x.png -------------------------------------------------------------------------------- /FacePass-iOS Source Code/FacePass/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devwaseem/FacePass/042b8461582ed0efc459cf12930016d8c5037478/FacePass-iOS Source Code/FacePass/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png -------------------------------------------------------------------------------- /FacePass-iOS Source Code/FacePass/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devwaseem/FacePass/042b8461582ed0efc459cf12930016d8c5037478/FacePass-iOS Source Code/FacePass/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png -------------------------------------------------------------------------------- /FacePass-iOS Source Code/FacePass/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devwaseem/FacePass/042b8461582ed0efc459cf12930016d8c5037478/FacePass-iOS Source Code/FacePass/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@3x.png -------------------------------------------------------------------------------- /FacePass-iOS Source Code/FacePass/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devwaseem/FacePass/042b8461582ed0efc459cf12930016d8c5037478/FacePass-iOS Source Code/FacePass/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png -------------------------------------------------------------------------------- /FacePass-iOS Source Code/FacePass/Assets.xcassets/AppIcon.appiconset/Icon-Small-50x50@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devwaseem/FacePass/042b8461582ed0efc459cf12930016d8c5037478/FacePass-iOS Source Code/FacePass/Assets.xcassets/AppIcon.appiconset/Icon-Small-50x50@1x.png -------------------------------------------------------------------------------- /FacePass-iOS Source Code/FacePass/Assets.xcassets/AppIcon.appiconset/Icon-Small-50x50@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devwaseem/FacePass/042b8461582ed0efc459cf12930016d8c5037478/FacePass-iOS Source Code/FacePass/Assets.xcassets/AppIcon.appiconset/Icon-Small-50x50@2x.png -------------------------------------------------------------------------------- /FacePass-iOS Source Code/FacePass/Assets.xcassets/AppIcon.appiconset/Original icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devwaseem/FacePass/042b8461582ed0efc459cf12930016d8c5037478/FacePass-iOS Source Code/FacePass/Assets.xcassets/AppIcon.appiconset/Original icon.png -------------------------------------------------------------------------------- /FacePass-iOS Source Code/FacePass/Assets.xcassets/Avatar.imageset/Avatar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devwaseem/FacePass/042b8461582ed0efc459cf12930016d8c5037478/FacePass-iOS Source Code/FacePass/Assets.xcassets/Avatar.imageset/Avatar.png -------------------------------------------------------------------------------- /FacePass-iOS Source Code/FacePass/Assets.xcassets/Avatar.imageset/Avatar@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devwaseem/FacePass/042b8461582ed0efc459cf12930016d8c5037478/FacePass-iOS Source Code/FacePass/Assets.xcassets/Avatar.imageset/Avatar@2x.png -------------------------------------------------------------------------------- /FacePass-iOS Source Code/FacePass/Assets.xcassets/Avatar.imageset/Avatar@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devwaseem/FacePass/042b8461582ed0efc459cf12930016d8c5037478/FacePass-iOS Source Code/FacePass/Assets.xcassets/Avatar.imageset/Avatar@3x.png -------------------------------------------------------------------------------- /FacePass-iOS Source Code/FacePass/Assets.xcassets/Avatar.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "Avatar.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "Avatar@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "filename" : "Avatar@3x.png", 16 | "scale" : "3x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /FacePass-iOS Source Code/FacePass/Assets.xcassets/Circle.imageset/Circle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devwaseem/FacePass/042b8461582ed0efc459cf12930016d8c5037478/FacePass-iOS Source Code/FacePass/Assets.xcassets/Circle.imageset/Circle.png -------------------------------------------------------------------------------- /FacePass-iOS Source Code/FacePass/Assets.xcassets/Circle.imageset/Circle@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devwaseem/FacePass/042b8461582ed0efc459cf12930016d8c5037478/FacePass-iOS Source Code/FacePass/Assets.xcassets/Circle.imageset/Circle@2x.png -------------------------------------------------------------------------------- /FacePass-iOS Source Code/FacePass/Assets.xcassets/Circle.imageset/Circle@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devwaseem/FacePass/042b8461582ed0efc459cf12930016d8c5037478/FacePass-iOS Source Code/FacePass/Assets.xcassets/Circle.imageset/Circle@3x.png -------------------------------------------------------------------------------- /FacePass-iOS Source Code/FacePass/Assets.xcassets/Circle.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "Circle.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "Circle@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "filename" : "Circle@3x.png", 16 | "scale" : "3x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /FacePass-iOS Source Code/FacePass/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /FacePass-iOS Source Code/FacePass/Assets.xcassets/Conversation.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "Conversation.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "Conversation@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "filename" : "Conversation@3x.png", 16 | "scale" : "3x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /FacePass-iOS Source Code/FacePass/Assets.xcassets/Conversation.imageset/Conversation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devwaseem/FacePass/042b8461582ed0efc459cf12930016d8c5037478/FacePass-iOS Source Code/FacePass/Assets.xcassets/Conversation.imageset/Conversation.png -------------------------------------------------------------------------------- /FacePass-iOS Source Code/FacePass/Assets.xcassets/Conversation.imageset/Conversation@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devwaseem/FacePass/042b8461582ed0efc459cf12930016d8c5037478/FacePass-iOS Source Code/FacePass/Assets.xcassets/Conversation.imageset/Conversation@2x.png -------------------------------------------------------------------------------- /FacePass-iOS Source Code/FacePass/Assets.xcassets/Conversation.imageset/Conversation@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devwaseem/FacePass/042b8461582ed0efc459cf12930016d8c5037478/FacePass-iOS Source Code/FacePass/Assets.xcassets/Conversation.imageset/Conversation@3x.png -------------------------------------------------------------------------------- /FacePass-iOS Source Code/FacePass/Assets.xcassets/Rcamera.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "Rcamera.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "Rcamera@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "filename" : "Rcamera@3x.png", 16 | "scale" : "3x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /FacePass-iOS Source Code/FacePass/Assets.xcassets/Rcamera.imageset/Rcamera.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devwaseem/FacePass/042b8461582ed0efc459cf12930016d8c5037478/FacePass-iOS Source Code/FacePass/Assets.xcassets/Rcamera.imageset/Rcamera.png -------------------------------------------------------------------------------- /FacePass-iOS Source Code/FacePass/Assets.xcassets/Rcamera.imageset/Rcamera@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devwaseem/FacePass/042b8461582ed0efc459cf12930016d8c5037478/FacePass-iOS Source Code/FacePass/Assets.xcassets/Rcamera.imageset/Rcamera@2x.png -------------------------------------------------------------------------------- /FacePass-iOS Source Code/FacePass/Assets.xcassets/Rcamera.imageset/Rcamera@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devwaseem/FacePass/042b8461582ed0efc459cf12930016d8c5037478/FacePass-iOS Source Code/FacePass/Assets.xcassets/Rcamera.imageset/Rcamera@3x.png -------------------------------------------------------------------------------- /FacePass-iOS Source Code/FacePass/Assets.xcassets/Screens.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "Screens.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "Screens@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "filename" : "Screens@3x.png", 16 | "scale" : "3x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /FacePass-iOS Source Code/FacePass/Assets.xcassets/Screens.imageset/Screens.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devwaseem/FacePass/042b8461582ed0efc459cf12930016d8c5037478/FacePass-iOS Source Code/FacePass/Assets.xcassets/Screens.imageset/Screens.png -------------------------------------------------------------------------------- /FacePass-iOS Source Code/FacePass/Assets.xcassets/Screens.imageset/Screens@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devwaseem/FacePass/042b8461582ed0efc459cf12930016d8c5037478/FacePass-iOS Source Code/FacePass/Assets.xcassets/Screens.imageset/Screens@2x.png -------------------------------------------------------------------------------- /FacePass-iOS Source Code/FacePass/Assets.xcassets/Screens.imageset/Screens@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devwaseem/FacePass/042b8461582ed0efc459cf12930016d8c5037478/FacePass-iOS Source Code/FacePass/Assets.xcassets/Screens.imageset/Screens@3x.png -------------------------------------------------------------------------------- /FacePass-iOS Source Code/FacePass/Assets.xcassets/Wback.imageset/Back Chevron.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devwaseem/FacePass/042b8461582ed0efc459cf12930016d8c5037478/FacePass-iOS Source Code/FacePass/Assets.xcassets/Wback.imageset/Back Chevron.png -------------------------------------------------------------------------------- /FacePass-iOS Source Code/FacePass/Assets.xcassets/Wback.imageset/Back Chevron@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devwaseem/FacePass/042b8461582ed0efc459cf12930016d8c5037478/FacePass-iOS Source Code/FacePass/Assets.xcassets/Wback.imageset/Back Chevron@2x.png -------------------------------------------------------------------------------- /FacePass-iOS Source Code/FacePass/Assets.xcassets/Wback.imageset/Back Chevron@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devwaseem/FacePass/042b8461582ed0efc459cf12930016d8c5037478/FacePass-iOS Source Code/FacePass/Assets.xcassets/Wback.imageset/Back Chevron@3x.png -------------------------------------------------------------------------------- /FacePass-iOS Source Code/FacePass/Assets.xcassets/Wback.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "Back Chevron.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "Back Chevron@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "filename" : "Back Chevron@3x.png", 16 | "scale" : "3x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /FacePass-iOS Source Code/FacePass/Assets.xcassets/back.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "back.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "back@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "filename" : "back@3x.png", 16 | "scale" : "3x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /FacePass-iOS Source Code/FacePass/Assets.xcassets/back.imageset/back.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devwaseem/FacePass/042b8461582ed0efc459cf12930016d8c5037478/FacePass-iOS Source Code/FacePass/Assets.xcassets/back.imageset/back.png -------------------------------------------------------------------------------- /FacePass-iOS Source Code/FacePass/Assets.xcassets/back.imageset/back@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devwaseem/FacePass/042b8461582ed0efc459cf12930016d8c5037478/FacePass-iOS Source Code/FacePass/Assets.xcassets/back.imageset/back@2x.png -------------------------------------------------------------------------------- /FacePass-iOS Source Code/FacePass/Assets.xcassets/back.imageset/back@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devwaseem/FacePass/042b8461582ed0efc459cf12930016d8c5037478/FacePass-iOS Source Code/FacePass/Assets.xcassets/back.imageset/back@3x.png -------------------------------------------------------------------------------- /FacePass-iOS Source Code/FacePass/Assets.xcassets/check.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "check-symbol.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "check-symbol@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "filename" : "check-symbol@3x.png", 16 | "scale" : "3x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /FacePass-iOS Source Code/FacePass/Assets.xcassets/check.imageset/check-symbol.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devwaseem/FacePass/042b8461582ed0efc459cf12930016d8c5037478/FacePass-iOS Source Code/FacePass/Assets.xcassets/check.imageset/check-symbol.png -------------------------------------------------------------------------------- /FacePass-iOS Source Code/FacePass/Assets.xcassets/check.imageset/check-symbol@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devwaseem/FacePass/042b8461582ed0efc459cf12930016d8c5037478/FacePass-iOS Source Code/FacePass/Assets.xcassets/check.imageset/check-symbol@2x.png -------------------------------------------------------------------------------- /FacePass-iOS Source Code/FacePass/Assets.xcassets/check.imageset/check-symbol@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devwaseem/FacePass/042b8461582ed0efc459cf12930016d8c5037478/FacePass-iOS Source Code/FacePass/Assets.xcassets/check.imageset/check-symbol@3x.png -------------------------------------------------------------------------------- /FacePass-iOS Source Code/FacePass/Assets.xcassets/error.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "Group 2.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "Group 2@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "filename" : "Group 2@3x.png", 16 | "scale" : "3x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /FacePass-iOS Source Code/FacePass/Assets.xcassets/error.imageset/Group 2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devwaseem/FacePass/042b8461582ed0efc459cf12930016d8c5037478/FacePass-iOS Source Code/FacePass/Assets.xcassets/error.imageset/Group 2.png -------------------------------------------------------------------------------- /FacePass-iOS Source Code/FacePass/Assets.xcassets/error.imageset/Group 2@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devwaseem/FacePass/042b8461582ed0efc459cf12930016d8c5037478/FacePass-iOS Source Code/FacePass/Assets.xcassets/error.imageset/Group 2@2x.png -------------------------------------------------------------------------------- /FacePass-iOS Source Code/FacePass/Assets.xcassets/error.imageset/Group 2@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devwaseem/FacePass/042b8461582ed0efc459cf12930016d8c5037478/FacePass-iOS Source Code/FacePass/Assets.xcassets/error.imageset/Group 2@3x.png -------------------------------------------------------------------------------- /FacePass-iOS Source Code/FacePass/Assets.xcassets/newface.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "ic.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "ic@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "filename" : "ic@3x.png", 16 | "scale" : "3x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /FacePass-iOS Source Code/FacePass/Assets.xcassets/newface.imageset/ic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devwaseem/FacePass/042b8461582ed0efc459cf12930016d8c5037478/FacePass-iOS Source Code/FacePass/Assets.xcassets/newface.imageset/ic.png -------------------------------------------------------------------------------- /FacePass-iOS Source Code/FacePass/Assets.xcassets/newface.imageset/ic@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devwaseem/FacePass/042b8461582ed0efc459cf12930016d8c5037478/FacePass-iOS Source Code/FacePass/Assets.xcassets/newface.imageset/ic@2x.png -------------------------------------------------------------------------------- /FacePass-iOS Source Code/FacePass/Assets.xcassets/newface.imageset/ic@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devwaseem/FacePass/042b8461582ed0efc459cf12930016d8c5037478/FacePass-iOS Source Code/FacePass/Assets.xcassets/newface.imageset/ic@3x.png -------------------------------------------------------------------------------- /FacePass-iOS Source Code/FacePass/Assets.xcassets/pinAlert.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "pinAlert.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "pinAlert@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "filename" : "pinAlert@3x.png", 16 | "scale" : "3x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /FacePass-iOS Source Code/FacePass/Assets.xcassets/pinAlert.imageset/pinAlert.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devwaseem/FacePass/042b8461582ed0efc459cf12930016d8c5037478/FacePass-iOS Source Code/FacePass/Assets.xcassets/pinAlert.imageset/pinAlert.png -------------------------------------------------------------------------------- /FacePass-iOS Source Code/FacePass/Assets.xcassets/pinAlert.imageset/pinAlert@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devwaseem/FacePass/042b8461582ed0efc459cf12930016d8c5037478/FacePass-iOS Source Code/FacePass/Assets.xcassets/pinAlert.imageset/pinAlert@2x.png -------------------------------------------------------------------------------- /FacePass-iOS Source Code/FacePass/Assets.xcassets/pinAlert.imageset/pinAlert@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devwaseem/FacePass/042b8461582ed0efc459cf12930016d8c5037478/FacePass-iOS Source Code/FacePass/Assets.xcassets/pinAlert.imageset/pinAlert@3x.png -------------------------------------------------------------------------------- /FacePass-iOS Source Code/FacePass/Assets.xcassets/prof-ph.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "placeholder-profile-male.jpg", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /FacePass-iOS Source Code/FacePass/Assets.xcassets/prof-ph.imageset/placeholder-profile-male.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devwaseem/FacePass/042b8461582ed0efc459cf12930016d8c5037478/FacePass-iOS Source Code/FacePass/Assets.xcassets/prof-ph.imageset/placeholder-profile-male.jpg -------------------------------------------------------------------------------- /FacePass-iOS Source Code/FacePass/Assets.xcassets/smiley.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "smiley.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "smiley@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "filename" : "smiley@3x.png", 16 | "scale" : "3x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /FacePass-iOS Source Code/FacePass/Assets.xcassets/smiley.imageset/smiley.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devwaseem/FacePass/042b8461582ed0efc459cf12930016d8c5037478/FacePass-iOS Source Code/FacePass/Assets.xcassets/smiley.imageset/smiley.png -------------------------------------------------------------------------------- /FacePass-iOS Source Code/FacePass/Assets.xcassets/smiley.imageset/smiley@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devwaseem/FacePass/042b8461582ed0efc459cf12930016d8c5037478/FacePass-iOS Source Code/FacePass/Assets.xcassets/smiley.imageset/smiley@2x.png -------------------------------------------------------------------------------- /FacePass-iOS Source Code/FacePass/Assets.xcassets/smiley.imageset/smiley@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devwaseem/FacePass/042b8461582ed0efc459cf12930016d8c5037478/FacePass-iOS Source Code/FacePass/Assets.xcassets/smiley.imageset/smiley@3x.png -------------------------------------------------------------------------------- /FacePass-iOS Source Code/FacePass/Base.lproj/LaunchScreen.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/FacePass/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/FacePass/GoogleService-Info-3.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | AD_UNIT_ID_FOR_BANNER_TEST 6 | ca-app-pub-3940256099942544/2934735716 7 | AD_UNIT_ID_FOR_INTERSTITIAL_TEST 8 | ca-app-pub-3940256099942544/4411468910 9 | CLIENT_ID 10 | 599529537553-vi7vtcgmlftuhevuea4fjm9bi2f6s2qu.apps.googleusercontent.com 11 | REVERSED_CLIENT_ID 12 | com.googleusercontent.apps.599529537553-vi7vtcgmlftuhevuea4fjm9bi2f6s2qu 13 | API_KEY 14 | AIzaSyDeHZoMz1d7epgvuFTCNCOniTmsPn3K8yI 15 | GCM_SENDER_ID 16 | 599529537553 17 | PLIST_VERSION 18 | 1 19 | BUNDLE_ID 20 | com.hazecorp.FacePass 21 | PROJECT_ID 22 | facepass-adb48 23 | STORAGE_BUCKET 24 | facepass-adb48.appspot.com 25 | IS_ADS_ENABLED 26 | 27 | IS_ANALYTICS_ENABLED 28 | 29 | IS_APPINVITE_ENABLED 30 | 31 | IS_GCM_ENABLED 32 | 33 | IS_SIGNIN_ENABLED 34 | 35 | GOOGLE_APP_ID 36 | 1:599529537553:ios:b7e2106e64fc3c8d 37 | DATABASE_URL 38 | https://facepass-adb48.firebaseio.com 39 | 40 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/FacePass/GoogleService-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | AD_UNIT_ID_FOR_BANNER_TEST 6 | ca-app-pub-3940256099942544/2934735716 7 | AD_UNIT_ID_FOR_INTERSTITIAL_TEST 8 | ca-app-pub-3940256099942544/4411468910 9 | CLIENT_ID 10 | 599529537553-ge0cvao15hk5tsvufekqbrjlijpt88qj.apps.googleusercontent.com 11 | REVERSED_CLIENT_ID 12 | com.googleusercontent.apps.599529537553-ge0cvao15hk5tsvufekqbrjlijpt88qj 13 | API_KEY 14 | AIzaSyDeHZoMz1d7epgvuFTCNCOniTmsPn3K8yI 15 | GCM_SENDER_ID 16 | 599529537553 17 | PLIST_VERSION 18 | 1 19 | BUNDLE_ID 20 | com.haze.FacePass 21 | PROJECT_ID 22 | facepass-adb48 23 | STORAGE_BUCKET 24 | facepass-adb48.appspot.com 25 | IS_ADS_ENABLED 26 | 27 | IS_ANALYTICS_ENABLED 28 | 29 | IS_APPINVITE_ENABLED 30 | 31 | IS_GCM_ENABLED 32 | 33 | IS_SIGNIN_ENABLED 34 | 35 | GOOGLE_APP_ID 36 | 1:599529537553:ios:fa0218be5c06930f 37 | DATABASE_URL 38 | https://facepass-adb48.firebaseio.com 39 | 40 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/FacePass/GoogleService-Info].plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | AD_UNIT_ID_FOR_BANNER_TEST 6 | ca-app-pub-3940256099942544/2934735716 7 | AD_UNIT_ID_FOR_INTERSTITIAL_TEST 8 | ca-app-pub-3940256099942544/4411468910 9 | CLIENT_ID 10 | 599529537553-vi7vtcgmlftuhevuea4fjm9bi2f6s2qu.apps.googleusercontent.com 11 | REVERSED_CLIENT_ID 12 | com.googleusercontent.apps.599529537553-vi7vtcgmlftuhevuea4fjm9bi2f6s2qu 13 | API_KEY 14 | AIzaSyDeHZoMz1d7epgvuFTCNCOniTmsPn3K8yI 15 | GCM_SENDER_ID 16 | 599529537553 17 | PLIST_VERSION 18 | 1 19 | BUNDLE_ID 20 | com.hazecorp.FacePass 21 | PROJECT_ID 22 | facepass-adb48 23 | STORAGE_BUCKET 24 | facepass-adb48.appspot.com 25 | IS_ADS_ENABLED 26 | 27 | IS_ANALYTICS_ENABLED 28 | 29 | IS_APPINVITE_ENABLED 30 | 31 | IS_GCM_ENABLED 32 | 33 | IS_SIGNIN_ENABLED 34 | 35 | GOOGLE_APP_ID 36 | 1:599529537553:ios:b7e2106e64fc3c8d 37 | DATABASE_URL 38 | https://facepass-adb48.firebaseio.com 39 | 40 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/FacePass/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | $(DEVELOPMENT_LANGUAGE) 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | APPL 17 | CFBundleShortVersionString 18 | 1.1 19 | CFBundleVersion 20 | 1 21 | LSRequiresIPhoneOS 22 | 23 | NSCameraUsageDescription 24 | Please allow us the permission to start face recognition 25 | UILaunchStoryboardName 26 | LaunchScreen 27 | UIMainStoryboardFile 28 | Main 29 | UIRequiredDeviceCapabilities 30 | 31 | armv7 32 | 33 | UISupportedInterfaceOrientations 34 | 35 | UIInterfaceOrientationPortrait 36 | 37 | UISupportedInterfaceOrientations~ipad 38 | 39 | UIInterfaceOrientationPortrait 40 | UIInterfaceOrientationPortraitUpsideDown 41 | UIInterfaceOrientationLandscapeLeft 42 | UIInterfaceOrientationLandscapeRight 43 | 44 | 45 | 46 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/FacePass/model/AppColors.swift: -------------------------------------------------------------------------------- 1 | // 2 | // AppColors.swift 3 | // FacePass 4 | // 5 | // Created by Waseem Akram on 24/09/17. 6 | // Copyright © 2017 Haze. All rights reserved. 7 | // 8 | 9 | import Foundation 10 | import UIKit 11 | 12 | struct FPColors { 13 | static let green = UIColor(red: 123/255, green: 229/255, blue: 163/255, alpha: 1) 14 | static let blue = UIColor(red: 72/255, green: 151/255, blue: 181/255, alpha: 1) 15 | static let lightBlue = UIColor(red: 85/255, green: 172/255, blue: 199/255, alpha: 1) 16 | static let lightBlue2 = UIColor(red: 102/255, green: 200/255, blue: 206/255, alpha: 1) 17 | static let messageViewColor = UIColor(red: 229/255, green: 234/255, blue: 245/255, alpha: 1) 18 | static let shadowColor = UIColor(red: 57/255, green: 81/255, blue: 142/255, alpha: 1).cgColor 19 | static var gray = UIColor.init(red: 70/255, green: 72/255, blue: 90/255, alpha: 0.6) 20 | } 21 | 22 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/FacePass/model/FPValues.swift: -------------------------------------------------------------------------------- 1 | // 2 | // FPValues.swift 3 | // FacePass 4 | // 5 | // Created by Waseem Akram on 30/09/17. 6 | // Copyright © 2017 Haze. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | class FPValues { 12 | class urls { 13 | private static var host = "https://facepass2.herokuapp.com" //"http://192.168.43.145:5000" //"https://facepass2.herokuapp.com/" //"http://192.168.1.2:5000" 14 | static var storeFace = "\(host)/storeFace/img/id/" 15 | static var detectFace = "\(host)/detectFaces/id/" 16 | static var recognize = "\(host)/recognize/" 17 | static var train = "\(host)/train/" 18 | static var getUID = "\(host)/getUID/" 19 | } 20 | 21 | class alertMessages { 22 | static var first = "Hello, Wonderful! Please look at the camera. stay normal and don’t smile." 23 | static var second = "Remain looking at the camera but please smile this time." 24 | static var third = "Slowly tilt your face to the left" 25 | static var four = "Slowly tilt your face to the right." 26 | } 27 | 28 | } 29 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/FacePass/model/Face Detection enums.swift: -------------------------------------------------------------------------------- 1 | // 2 | // Face Detection enums.swift 3 | // FacePass 4 | // 5 | // Created by Waseem Akram on 24/09/17. 6 | // Copyright © 2017 Haze. All rights reserved. 7 | // 8 | 9 | import Foundation 10 | 11 | enum faceCaptureMode { 12 | case Normal , Smile , LTilt , RTilt , none , upload 13 | } 14 | 15 | enum captureMode{ 16 | case detection,recognition 17 | } 18 | 19 | enum cameraMode { 20 | case front,back 21 | } 22 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/FacePass/model/Messages.swift: -------------------------------------------------------------------------------- 1 | // 2 | // Messages.swift 3 | // FacePass 4 | // 5 | // Created by Waseem Akram on 29/09/17. 6 | // Copyright © 2017 Haze. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | struct Messages { 12 | var messageBody:String 13 | var time:String 14 | } 15 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/FacePass/supporting Files/UIView Extensions.swift: -------------------------------------------------------------------------------- 1 | // 2 | // UIView Extensions.swift 3 | // FacePass 4 | // 5 | // Created by Waseem Akram on 07/09/17. 6 | // Copyright © 2017 Haze. All rights reserved. 7 | // 8 | 9 | import Foundation 10 | import UIKit 11 | extension UIView { 12 | func addSubviews(views:[UIView]){ 13 | views.forEach({self.addSubview($0)}) 14 | } 15 | 16 | func dropShadow(scale: Bool = true) { 17 | self.layer.masksToBounds = false 18 | self.layer.shadowColor = UIColor.black.cgColor 19 | self.layer.shadowOpacity = 0.5 20 | self.layer.shadowOffset = CGSize(width: -1, height: 1) 21 | self.layer.shadowRadius = 1 22 | 23 | self.layer.shadowPath = UIBezierPath(rect: self.bounds).cgPath 24 | self.layer.shouldRasterize = true 25 | self.layer.rasterizationScale = scale ? UIScreen.main.scale : 1 26 | } 27 | 28 | func dropShadow(color: UIColor, opacity: Float = 0.5, offSet: CGSize, radius: CGFloat = 1, scale: Bool = true) { 29 | self.layer.masksToBounds = false 30 | self.layer.shadowColor = color.cgColor 31 | self.layer.shadowOpacity = opacity 32 | self.layer.shadowOffset = offSet 33 | self.layer.shadowRadius = radius 34 | 35 | self.layer.shadowPath = UIBezierPath(rect: self.bounds).cgPath 36 | self.layer.shouldRasterize = true 37 | self.layer.rasterizationScale = scale ? UIScreen.main.scale : 1 38 | } 39 | 40 | func shake() { 41 | let animation = CAKeyframeAnimation(keyPath: "transform.translation.x") 42 | animation.timingFunction = CAMediaTimingFunction(name: kCAMediaTimingFunctionLinear) 43 | animation.duration = 0.6 44 | animation.values = [-20.0, 20.0, -20.0, 20.0, -10.0, 10.0, -5.0, 5.0, 0.0 ] 45 | layer.add(animation, forKey: "shake") 46 | } 47 | 48 | } 49 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/FacePass/supporting Files/UIViewController extensions.swift: -------------------------------------------------------------------------------- 1 | // 2 | // UIViewController extensions.swift 3 | // FacePass 4 | // 5 | // Created by Waseem Akram on 08/09/17. 6 | // Copyright © 2017 Haze. All rights reserved. 7 | // 8 | 9 | import Foundation 10 | import UIKit 11 | 12 | extension UIViewController { 13 | func getViewController(withIdentifier:String)->UIViewController{ 14 | let storyboard = UIStoryboard(name: "Main", bundle: nil) 15 | 16 | return storyboard.instantiateViewController(withIdentifier: withIdentifier) 17 | } 18 | 19 | // func listFilesFromDocumentsFolder() -> [URL]? 20 | // { 21 | // let fileMngr = FileManager.default; 22 | // 23 | // // Full path to documents directory 24 | // let docs = fileMngr.urls(for: .documentDirectory, in: .userDomainMask)[0].path 25 | // 26 | // // List all contents of directory and return as [String] OR nil if failed 27 | // return try? fileMngr.contentsOfDirectory(at: dirPath, includingPropertiesForKeys: [], options: FileManager.DirectoryEnumerationOptions.skipsHiddenFiles) 28 | // } 29 | 30 | } 31 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/FacePass/supporting Files/reachability.swift: -------------------------------------------------------------------------------- 1 | // 2 | // reachability.swift 3 | // FacePass 4 | // 5 | // Created by Waseem Akram on 03/10/17. 6 | // Copyright © 2017 Haze. All rights reserved. 7 | // 8 | 9 | import Foundation 10 | import SystemConfiguration 11 | 12 | public class Reachability { 13 | 14 | class func isConnectedToNetwork() -> Bool { 15 | 16 | var zeroAddress = sockaddr_in(sin_len: 0, sin_family: 0, sin_port: 0, sin_addr: in_addr(s_addr: 0), sin_zero: (0, 0, 0, 0, 0, 0, 0, 0)) 17 | zeroAddress.sin_len = UInt8(MemoryLayout.size(ofValue: zeroAddress)) 18 | zeroAddress.sin_family = sa_family_t(AF_INET) 19 | 20 | let defaultRouteReachability = withUnsafePointer(to: &zeroAddress) { 21 | $0.withMemoryRebound(to: sockaddr.self, capacity: 1) {zeroSockAddress in 22 | SCNetworkReachabilityCreateWithAddress(nil, zeroSockAddress) 23 | } 24 | } 25 | 26 | var flags: SCNetworkReachabilityFlags = SCNetworkReachabilityFlags(rawValue: 0) 27 | if SCNetworkReachabilityGetFlags(defaultRouteReachability!, &flags) == false { 28 | return false 29 | } 30 | 31 | /* Only Working for WIFI 32 | let isReachable = flags == .reachable 33 | let needsConnection = flags == .connectionRequired 34 | 35 | return isReachable && !needsConnection 36 | */ 37 | 38 | // Working for Cellular and WIFI 39 | let isReachable = (flags.rawValue & UInt32(kSCNetworkFlagsReachable)) != 0 40 | let needsConnection = (flags.rawValue & UInt32(kSCNetworkFlagsConnectionRequired)) != 0 41 | let ret = (isReachable && !needsConnection) 42 | 43 | return ret 44 | 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/FacePass/view/FPAlert.swift: -------------------------------------------------------------------------------- 1 | // 2 | // FPAlert.swift 3 | // FacePass 4 | // 5 | // Created by Waseem Akram on 30/09/17. 6 | // Copyright © 2017 Haze. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | import EasyPeasy 11 | 12 | class FPAlert:UIView { 13 | 14 | private let blurEffect = UIBlurEffect(style: UIBlurEffectStyle.dark) 15 | private var blurEffectView:UIVisualEffectView? 16 | 17 | private let AlertLabel:UILabel = { 18 | let label = UILabel() 19 | label.text = "Alert message goes here.." 20 | label.textAlignment = .center 21 | label.numberOfLines=0 22 | label.textColor = UIColor.white 23 | label.lineBreakMode = .byWordWrapping 24 | return label 25 | }() 26 | 27 | 28 | override init(frame: CGRect) { 29 | super.init(frame: frame) 30 | setup() 31 | } 32 | 33 | required init?(coder aDecoder: NSCoder) { 34 | super.init(coder: aDecoder) 35 | setup() 36 | } 37 | 38 | private func setup(){ 39 | blurEffectView = UIVisualEffectView(effect: blurEffect) 40 | self.addSubviews(views: [blurEffectView!,AlertLabel]) 41 | self.bringSubview(toFront: AlertLabel) 42 | setupConstraints() 43 | self.clipsToBounds = true 44 | } 45 | 46 | private func setupConstraints(){ 47 | blurEffectView! <- Edges(0) 48 | AlertLabel <- [ 49 | Left(20), 50 | Right(20), 51 | Top(5), 52 | Bottom(5) 53 | ] 54 | } 55 | 56 | public func setAlertMessage(As text:String){ 57 | AlertLabel.text = text 58 | } 59 | 60 | 61 | } 62 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/FacePass/view/FPButton.swift: -------------------------------------------------------------------------------- 1 | // 2 | // FPButton.swift 3 | // FacePass 4 | // 5 | // Created by Waseem Akram on 01/10/17. 6 | // Copyright © 2017 Haze. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | class FPButton:UIButton { 12 | 13 | override init(frame: CGRect) { 14 | super.init(frame: frame) 15 | setup() 16 | } 17 | 18 | required init?(coder aDecoder: NSCoder) { 19 | super.init(coder: aDecoder) 20 | setup() 21 | } 22 | 23 | private func setup(){ 24 | setTitleColor(UIColor.white, for: .normal) 25 | backgroundColor = FPColors.green 26 | titleLabel?.font = UIFont.systemFont(ofSize:UIFont.buttonFontSize) 27 | layer.shadowOpacity = 0.45 28 | layer.shadowOffset = CGSize.init(width: 0, height: 10) 29 | layer.shadowRadius = 9 30 | layer.shadowColor = FPColors.shadowColor 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/FacePass/view/FPMsgBox.swift: -------------------------------------------------------------------------------- 1 | // 2 | // FPMsgBox.swift 3 | // FacePass 4 | // 5 | // Created by Waseem Akram on 28/09/17. 6 | // Copyright © 2017 Haze. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | import EasyPeasy 11 | 12 | class FPMsgBox: UIView { 13 | 14 | let emojiButton:UIButton = { 15 | let button = UIButton() 16 | button.setImage(#imageLiteral(resourceName: "smiley"), for: .normal) 17 | return button 18 | }() 19 | 20 | let msgField:UITextField = { 21 | let field = UITextField() 22 | field.borderStyle = .none 23 | field.placeholder = "Type your message here.." 24 | return field 25 | }() 26 | 27 | override init(frame: CGRect) { 28 | super.init(frame: frame) 29 | commonInit() 30 | } 31 | 32 | required init?(coder aDecoder: NSCoder) { 33 | super.init(coder: aDecoder) 34 | commonInit() 35 | 36 | } 37 | 38 | func commonInit(){ 39 | self.addSubviews(views: [emojiButton,msgField]) 40 | msgField.backgroundColor = UIColor.white 41 | self.backgroundColor = UIColor.white 42 | msgField.clearButtonMode = .unlessEditing 43 | emojiButton <- [ 44 | Top(), 45 | Left(), 46 | Bottom(), 47 | Width(60) 48 | ] 49 | msgField <- [ 50 | Left().to(emojiButton,.right), 51 | Right(), 52 | Top(), 53 | Bottom() 54 | ] 55 | 56 | } 57 | 58 | 59 | 60 | 61 | } 62 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/FacePass/view/FPTextField.swift: -------------------------------------------------------------------------------- 1 | // 2 | // FPTextField.swift 3 | // FacePass 4 | // 5 | // Created by Waseem Akram on 27/09/17. 6 | // Copyright © 2017 Haze. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | import EasyPeasy 11 | 12 | class FPTextField:UIView { 13 | 14 | let textfield = UITextField() 15 | let line = UIView() 16 | 17 | 18 | override init(frame: CGRect) { 19 | super.init(frame: frame) 20 | setup() 21 | } 22 | 23 | required init?(coder aDecoder: NSCoder) { 24 | super.init(coder: aDecoder) 25 | setup() 26 | } 27 | 28 | func setup(){ 29 | self.addSubviews(views: [textfield,line]) 30 | line.backgroundColor = FPColors.blue 31 | textfield.borderStyle = .none 32 | textfield.placeholder = "Your name" 33 | textfield.textAlignment = .center 34 | textfield.textColor = FPColors.blue 35 | 36 | textfield <- [ 37 | Top(), 38 | Left(), 39 | Right(), 40 | Bottom(-5) 41 | ] 42 | 43 | line <- [ 44 | Top().to(textfield,.bottom), 45 | Left(), 46 | Right(), 47 | Height(2), 48 | ] 49 | } 50 | 51 | } 52 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/FacePass/view/cSwitch.swift: -------------------------------------------------------------------------------- 1 | // 2 | // cSwitch.swift 3 | // FacePass 4 | // 5 | // Created by Waseem Akram on 27/09/17. 6 | // Copyright © 2017 Haze. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | import EasyPeasy 11 | 12 | class customSwitch:UIView { 13 | 14 | let selectedView = UIView() 15 | private let buttonLayer = UIView() 16 | let PositiveButton = UIButton() 17 | let NegativeButton = UIButton() 18 | override init(frame: CGRect) { 19 | super.init(frame: frame) 20 | commonInit() 21 | } 22 | 23 | required init?(coder aDecoder: NSCoder) { 24 | super.init(coder: aDecoder) 25 | commonInit() 26 | } 27 | 28 | 29 | func commonInit(){ 30 | self.addSubviews(views: [buttonLayer,selectedView]) 31 | buttonLayer.addSubviews(views: [PositiveButton,NegativeButton]) 32 | selectedView.backgroundColor = FPColors.green 33 | self.backgroundColor = FPColors.blue 34 | selectedView.frame = CGRect(origin: CGPoint.init(x: 0, y: 0), size: CGSize(width: self.frame.width/2, height: self.frame.height)) 35 | self.bringSubview(toFront: buttonLayer) 36 | 37 | buttonLayer.backgroundColor = UIColor.clear 38 | PositiveButton.backgroundColor = UIColor.clear 39 | NegativeButton.backgroundColor = UIColor.clear 40 | PositiveButton.setTitleColor(UIColor.white, for: .normal) 41 | NegativeButton.setTitleColor(UIColor.white, for: .normal) 42 | 43 | buttonLayer <- [Edges()] 44 | 45 | PositiveButton <- [ 46 | Left().to(buttonLayer), 47 | CenterY(), 48 | Top().to(buttonLayer), 49 | Width(*0.5).like(self) 50 | ] 51 | 52 | NegativeButton <- [ 53 | Right().to(buttonLayer), 54 | CenterY(), 55 | Top().to(buttonLayer), 56 | Width(*0.5).like(self) 57 | ] 58 | } 59 | 60 | 61 | } 62 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/FacePass/view/cameraButton.swift: -------------------------------------------------------------------------------- 1 | // 2 | // cameraButton.swift 3 | // FacePass 4 | // 5 | // Created by Waseem Akram on 29/09/17. 6 | // Copyright © 2017 Haze. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | import EasyPeasy 11 | 12 | class cameraButton:UIView { 13 | 14 | let button = UIButton() 15 | 16 | override init(frame: CGRect) { 17 | super.init(frame: frame) 18 | setup() 19 | } 20 | 21 | required init?(coder aDecoder: NSCoder) { 22 | super.init(coder: aDecoder) 23 | setup() 24 | } 25 | 26 | private func setup(){ 27 | self.addSubview(button) 28 | 29 | button <- [ 30 | Center(), 31 | Size(90).like(self) 32 | ] 33 | self.clipsToBounds = true 34 | setupDefaultMode() 35 | } 36 | 37 | func setupDefaultMode(){ 38 | button.setImage(#imageLiteral(resourceName: "Circle"), for: .normal) 39 | button.backgroundColor = FPColors.blue 40 | } 41 | 42 | func setupOkMode(){ 43 | button.setImage(#imageLiteral(resourceName: "check"), for: .normal) 44 | button.backgroundColor = FPColors.green 45 | } 46 | 47 | 48 | 49 | 50 | 51 | } 52 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/FacePass/view/cameraRotateButton.swift: -------------------------------------------------------------------------------- 1 | // 2 | // cameraRotateButton.swift 3 | // FacePass 4 | // 5 | // Created by Waseem Akram on 30/09/17. 6 | // Copyright © 2017 Haze. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | import EasyPeasy 11 | 12 | class cameraRotateButton:UIView { 13 | 14 | let button = UIButton() 15 | 16 | override init(frame: CGRect) { 17 | super.init(frame: frame) 18 | setup() 19 | } 20 | 21 | 22 | required init?(coder aDecoder: NSCoder) { 23 | super.init(coder: aDecoder) 24 | setup() 25 | } 26 | 27 | private func setup(){ 28 | self.addSubview(button) 29 | self.backgroundColor = UIColor.black.withAlphaComponent(0.5) 30 | button.setImage(#imageLiteral(resourceName: "Rcamera"), for: .normal) 31 | button <- Edges() 32 | } 33 | 34 | 35 | 36 | 37 | 38 | } 39 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/FacePass/view/newFaceProtocol.swift: -------------------------------------------------------------------------------- 1 | // 2 | // confirmFaceProtocol.swift 3 | // FacePass 4 | // 5 | // Created by Waseem Akram on 01/10/17. 6 | // Copyright © 2017 Haze. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | protocol NewFaceDelegate { 11 | func set(mode:captureMode) 12 | } 13 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/FacePass/viewcontrollers/MessageVC/MSGCell.swift: -------------------------------------------------------------------------------- 1 | // 2 | // MSGCell.swift 3 | // FacePass 4 | // 5 | // Created by Waseem Akram on 29/09/17. 6 | // Copyright © 2017 Haze. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | import EasyPeasy 11 | 12 | class messageCell:UICollectionViewCell { 13 | 14 | let messageLabel:UILabel = { 15 | let label = UILabel() 16 | label.numberOfLines = 0 17 | label.lineBreakMode = .byWordWrapping 18 | return label 19 | }() 20 | let time = UILabel() 21 | 22 | func setup(message:Messages){ 23 | self.addSubviews(views: [messageLabel,time]) 24 | setupConstraints() 25 | messageLabel.text = message.messageBody 26 | time.text = Date.timeAgoSinceDate((message.time.toDate(format: "yyyy-MM-dd HH:mm:ss"))!, currentDate: Date.init(timeIntervalSinceNow: 0), numericDates: true) 27 | time.textColor = FPColors.gray.withAlphaComponent(0.5) 28 | 29 | 30 | } 31 | 32 | func setupConstraints() { 33 | messageLabel <- [ 34 | Top(15), 35 | Left(25), 36 | Right(15), 37 | Bottom(30) 38 | ] 39 | 40 | time <- [ 41 | Top(0).to(messageLabel,.bottom), 42 | Left(25), 43 | Right(15), 44 | Bottom(10) 45 | ] 46 | 47 | } 48 | } 49 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/FacePass/viewcontrollers/MessageVC/MessageVC + keyboard.swift: -------------------------------------------------------------------------------- 1 | // 2 | // MessageViewController + keyboard Configs.swift 3 | // FacePass 4 | // 5 | // Created by Waseem Akram on 29/09/17. 6 | // Copyright © 2017 Haze. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | import ISEmojiView 11 | 12 | extension MessageViewController:ISEmojiViewDelegate { 13 | func emojiViewDidSelectEmoji(emojiView: ISEmojiView, emoji: String) { 14 | msgBox.msgField.insertText(emoji) 15 | } 16 | 17 | func emojiViewDidPressDeleteButton(emojiView: ISEmojiView) { 18 | msgBox.msgField.deleteBackward() 19 | } 20 | 21 | 22 | @objc func keyboardNotification(notification: NSNotification) { 23 | if let userInfo = notification.userInfo { 24 | let endFrame = (userInfo[UIKeyboardFrameEndUserInfoKey] as? NSValue)?.cgRectValue 25 | let duration:TimeInterval = (userInfo[UIKeyboardAnimationDurationUserInfoKey] as? NSNumber)?.doubleValue ?? 0 26 | let animationCurveRawNSN = userInfo[UIKeyboardAnimationCurveUserInfoKey] as? NSNumber 27 | let animationCurveRaw = animationCurveRawNSN?.uintValue ?? UIViewAnimationOptions.curveEaseInOut.rawValue 28 | let animationCurve:UIViewAnimationOptions = UIViewAnimationOptions(rawValue: animationCurveRaw) 29 | if (endFrame?.origin.y)! >= UIScreen.main.bounds.size.height { 30 | setupMsgBoxPosition() 31 | } else { 32 | msgBox.easy_clear() 33 | setupMsgBoxPosition(pushUpBy: endFrame?.size.height ?? 0.0) 34 | 35 | } 36 | UIView.animate(withDuration: duration, 37 | delay: TimeInterval(0), 38 | options: animationCurve, 39 | animations: { self.view.layoutIfNeeded() }, 40 | completion: nil) 41 | } 42 | } 43 | } 44 | 45 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Podfile: -------------------------------------------------------------------------------- 1 | # Uncomment the next line to define a global platform for your project 2 | # platform :ios, '9.0' 3 | 4 | target 'FacePass' do 5 | # Comment the next line if you're not using Swift and don't want to use dynamic frameworks 6 | use_frameworks! 7 | 8 | # Pods for FacePass 9 | pod 'EasyPeasy' 10 | pod 'ISEmojiView' 11 | pod 'Firebase/Core' 12 | pod 'Firebase/Database' 13 | pod 'Firebase/Storage' 14 | pod 'SDWebImage', '~>4.0’ 15 | end 16 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/EasyPeasy/EasyPeasy/Item+AppKit.swift: -------------------------------------------------------------------------------- 1 | // The MIT License (MIT) - Copyright (c) 2016 Carlos Vidal 2 | // 3 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 4 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 5 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 6 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 7 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 8 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 9 | // SOFTWARE. 10 | 11 | #if !(os(iOS) || os(tvOS)) 12 | 13 | import AppKit 14 | 15 | /// Alias of NSView 16 | public typealias View = NSView 17 | 18 | /** 19 | Extension making `NSView` conform the `Item` protocol and 20 | therefore inherit the extended methods and properties 21 | */ 22 | extension NSView: Item { 23 | 24 | /// Owning `NSView` for the current `Item`. The concept varies 25 | /// depending on the class conforming the protocol 26 | public var owningView: View? { 27 | // Owning view for `NSView` is the `superview` 28 | return self.superview 29 | } 30 | 31 | } 32 | 33 | /** 34 | Extension making `UILayoutGuide` conform the `Item` protocol 35 | therefore and inherit the extended methods and properties 36 | */ 37 | @available(OSX 10.11, *) 38 | extension NSLayoutGuide: Item { 39 | 40 | /// Constraints in `owningView` with the current `NSLayoutGuide` 41 | /// as `firstItem` 42 | public var constraints: [NSLayoutConstraint] { 43 | return self.owningView?.constraints.filter { $0.firstItem === self } ?? [] 44 | } 45 | 46 | } 47 | 48 | #endif 49 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/EasyPeasy/EasyPeasy/Item+UIKit.swift: -------------------------------------------------------------------------------- 1 | // The MIT License (MIT) - Copyright (c) 2016 Carlos Vidal 2 | // 3 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 4 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 5 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 6 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 7 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 8 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 9 | // SOFTWARE. 10 | 11 | #if os(iOS) || os(tvOS) 12 | 13 | import UIKit 14 | 15 | /// Alias of UIView 16 | public typealias View = UIView 17 | 18 | /** 19 | Extension making `UIView` conform the `Item` protocol and 20 | therefore inherit the extended methods and properties 21 | */ 22 | extension UIView: Item { 23 | 24 | /// Owning `UIView` for the current `Item`. The concept varies 25 | /// depending on the class conforming the protocol 26 | public var owningView: View? { 27 | return self.superview 28 | } 29 | 30 | } 31 | 32 | /** 33 | Extension making `UILayoutGuide` conform the `Item` protocol 34 | therefore and inherit the extended methods and properties 35 | */ 36 | @available(iOS 9.0, *) 37 | extension UILayoutGuide: Item { 38 | 39 | /// Constraints in `owningView` with the current `UILayoutGuide` 40 | /// as `firstItem` 41 | public var constraints: [NSLayoutConstraint] { 42 | return self.owningView?.constraints.filter { $0.firstItem === self } ?? [] 43 | } 44 | 45 | } 46 | 47 | #endif 48 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/EasyPeasy/EasyPeasy/NSLayoutGuide+Easy.swift: -------------------------------------------------------------------------------- 1 | // The MIT License (MIT) - Copyright (c) 2016 Carlos Vidal 2 | // 3 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 4 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 5 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 6 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 7 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 8 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 9 | // SOFTWARE. 10 | 11 | #if !(os(iOS) || os(tvOS)) 12 | 13 | import AppKit 14 | 15 | /** 16 | Apply operator definitions 17 | */ 18 | @available (OSX 10.11, *) 19 | extension NSLayoutGuide { 20 | 21 | /** 22 | Operator which applies the attribute given to the `NSLayoutGuide` 23 | located in the left hand side of it 24 | - parameter lhs: `NSLayoutGuide` the attributes will apply to 25 | - parameter rhs: Attribute applied to the `NSLayoutGuide` 26 | - returns: The array of `NSLayoutConstraints` applied 27 | */ 28 | @discardableResult public static func <- (lhs: NSLayoutGuide, rhs: Attribute) -> [NSLayoutConstraint] { 29 | return lhs <- [rhs] 30 | } 31 | 32 | /** 33 | Opeator which applies the attributes given to the `NSLayoutGuide` 34 | located in the left hand side of it 35 | - parameter lhs: `NSLayoutGuide` the attributes will apply to 36 | - parameter rhs: Attributes applied to the `NSLayoutGuide` 37 | - returns: The array of `NSLayoutConstraints` applied 38 | */ 39 | @discardableResult public static func <- (lhs: NSLayoutGuide, rhs: [Attribute]) -> [NSLayoutConstraint] { 40 | // Apply attributes and return the installed `NSLayoutConstraints` 41 | return lhs.apply(attributes: rhs) 42 | } 43 | 44 | } 45 | 46 | #endif 47 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/EasyPeasy/EasyPeasy/NSView+Easy.swift: -------------------------------------------------------------------------------- 1 | // The MIT License (MIT) - Copyright (c) 2016 Carlos Vidal 2 | // 3 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 4 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 5 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 6 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 7 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 8 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 9 | // SOFTWARE. 10 | 11 | #if !(os(iOS) || os(tvOS)) 12 | 13 | import AppKit 14 | 15 | infix operator <- 16 | 17 | /** 18 | Apply operator definitions 19 | */ 20 | public extension NSView { 21 | 22 | /** 23 | Operator which applies the attribute given to the view located 24 | in the left hand side of it 25 | - parameter lhs: `NSView` the attributes will apply to 26 | - parameter rhs: Attribute applied to the `NSView` 27 | - returns: The array of `NSLayoutConstraints` applied 28 | */ 29 | @discardableResult static public func <- (lhs: NSView, rhs: Attribute) -> [NSLayoutConstraint] { 30 | return lhs <- [rhs] 31 | } 32 | 33 | /** 34 | Opeator which applies the attributes given to the view located 35 | in the left hand side of it 36 | - parameter lhs: NSView the attributes will apply to 37 | - parameter rhs: Attributes applied to the NSView 38 | - returns: The array of `NSLayoutConstraints` applied 39 | */ 40 | @discardableResult static public func <- (lhs: NSView, rhs: [Attribute]) -> [NSLayoutConstraint] { 41 | // Disable autoresizing to constraints translation 42 | lhs.translatesAutoresizingMaskIntoConstraints = false 43 | 44 | // Apply attributes and return the installed `NSLayoutConstraints` 45 | return lhs.apply(attributes: rhs) 46 | } 47 | 48 | } 49 | 50 | #endif 51 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/EasyPeasy/EasyPeasy/Priority.swift: -------------------------------------------------------------------------------- 1 | // The MIT License (MIT) - Copyright (c) 2016 Carlos Vidal 2 | // 3 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 4 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 5 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 6 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 7 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 8 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 9 | // SOFTWARE. 10 | 11 | import Foundation 12 | 13 | /** 14 | Enum which offers 3 pre-defined levels of `UILayoutPriority` 15 | as well as a case wrapping a `Float` value to specify actual 16 | values 17 | */ 18 | public enum Priority { 19 | 20 | case custom(Float) 21 | case required 22 | case high 23 | case medium 24 | case low 25 | 26 | @available(*, deprecated, message: "Use custom case instead") 27 | case customPriority(Float) 28 | @available(*, deprecated, message: "Use required case instead") 29 | case highPriority 30 | @available(*, deprecated, message: "Use medium case instead") 31 | case mediumPriority 32 | @available(*, deprecated, message: "Use low case instead") 33 | case lowPriority 34 | 35 | /** 36 | `UILayoutPriority` equivalent to the current case 37 | - returns `UILayoutPriority` 38 | */ 39 | func layoutPriority() -> Float { 40 | switch self { 41 | case .customPriority(let value): return value 42 | case .highPriority: return 1000.0 43 | case .mediumPriority: return 500.0 44 | case .lowPriority: return 1.0 45 | case .custom(let value): return value 46 | case .required: return 1000.0 47 | case .high: return 750.0 48 | case .medium: return 500.0 49 | case .low: return 250.0 50 | } 51 | } 52 | 53 | } 54 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/EasyPeasy/EasyPeasy/UILayoutGuide+Easy.swift: -------------------------------------------------------------------------------- 1 | // The MIT License (MIT) - Copyright (c) 2016 Carlos Vidal 2 | // 3 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 4 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 5 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 6 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 7 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 8 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 9 | // SOFTWARE. 10 | 11 | #if os(iOS) || os(tvOS) 12 | 13 | import UIKit 14 | 15 | /** 16 | Apply operator definitions 17 | */ 18 | @available (iOS 9.0, *) 19 | public extension UILayoutGuide { 20 | 21 | /** 22 | Operator which applies the attribute given to the `UILayoutGuide` 23 | located in the left hand side of it 24 | - parameter lhs: `UILayoutGuide` the attributes will apply to 25 | - parameter rhs: Attribute applied to the `UILayoutGuide` 26 | - returns: The array of `NSLayoutConstraints` applied 27 | */ 28 | @discardableResult public static func <- (lhs: UILayoutGuide, rhs: Attribute) -> [NSLayoutConstraint] { 29 | return lhs <- [rhs] 30 | } 31 | 32 | /** 33 | Opeator which applies the attributes given to the `UILayoutGuide` 34 | located in the left hand side of it 35 | - parameter lhs: `UILayoutGuide` the attributes will apply to 36 | - parameter rhs: Attributes applied to the `UILayoutGuide` 37 | - returns: The array of `NSLayoutConstraints` applied 38 | */ 39 | @discardableResult public static func <- (lhs: UILayoutGuide, rhs: [Attribute]) -> [NSLayoutConstraint] { 40 | // Apply attributes and return the installed `NSLayoutConstraints` 41 | return lhs.apply(attributes: rhs) 42 | } 43 | 44 | } 45 | 46 | #endif 47 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/EasyPeasy/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2016 Carlos Vidal 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 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/Firebase/Core/Sources/module.modulemap: -------------------------------------------------------------------------------- 1 | module Firebase { 2 | export * 3 | header "Firebase.h" 4 | } -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/FirebaseAnalytics: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devwaseem/FacePass/042b8461582ed0efc459cf12930016d8c5037478/FacePass-iOS Source Code/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/FirebaseAnalytics -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIRAnalyticsConfiguration.h: -------------------------------------------------------------------------------- 1 | #import 2 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIRAnalyticsSwiftNameSupport.h: -------------------------------------------------------------------------------- 1 | #ifndef FIR_SWIFT_NAME 2 | 3 | #import 4 | 5 | // NS_SWIFT_NAME can only translate factory methods before the iOS 9.3 SDK. 6 | // Wrap it in our own macro if it's a non-compatible SDK. 7 | #ifdef __IPHONE_9_3 8 | #define FIR_SWIFT_NAME(X) NS_SWIFT_NAME(X) 9 | #else 10 | #define FIR_SWIFT_NAME(X) // Intentionally blank. 11 | #endif // #ifdef __IPHONE_9_3 12 | 13 | #endif // FIR_SWIFT_NAME 14 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIRApp.h: -------------------------------------------------------------------------------- 1 | #import 2 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIRConfiguration.h: -------------------------------------------------------------------------------- 1 | #import 2 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIROptions.h: -------------------------------------------------------------------------------- 1 | #import 2 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIRUserPropertyNames.h: -------------------------------------------------------------------------------- 1 | /// @file FIRUserPropertyNames.h 2 | /// 3 | /// Predefined user property names. 4 | /// 5 | /// A UserProperty is an attribute that describes the app-user. By supplying UserProperties, you can 6 | /// later analyze different behaviors of various segments of your userbase. You may supply up to 25 7 | /// unique UserProperties per app, and you can use the name and value of your choosing for each one. 8 | /// UserProperty names can be up to 24 characters long, may only contain alphanumeric characters and 9 | /// underscores ("_"), and must start with an alphabetic character. UserProperty values can be up to 10 | /// 36 characters long. The "firebase_", "google_", and "ga_" prefixes are reserved and should not 11 | /// be used. 12 | 13 | #import "FIRAnalyticsSwiftNameSupport.h" 14 | 15 | /// The method used to sign in. For example, "google", "facebook" or "twitter". 16 | static NSString *const kFIRUserPropertySignUpMethod 17 | FIR_SWIFT_NAME(AnalyticsUserPropertySignUpMethod) = @"sign_up_method"; 18 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FirebaseAnalytics.h: -------------------------------------------------------------------------------- 1 | #import "FIRAnalyticsConfiguration.h" 2 | #import "FIRApp.h" 3 | #import "FIRConfiguration.h" 4 | #import "FIROptions.h" 5 | #import "FIRAnalytics+AppDelegate.h" 6 | #import "FIRAnalytics.h" 7 | #import "FIRAnalyticsSwiftNameSupport.h" 8 | #import "FIREventNames.h" 9 | #import "FIRParameterNames.h" 10 | #import "FIRUserPropertyNames.h" 11 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Modules/module.modulemap: -------------------------------------------------------------------------------- 1 | framework module FirebaseAnalytics { 2 | umbrella header "FirebaseAnalytics.h" 3 | export * 4 | module * { export *} 5 | link "sqlite3" 6 | link "z" 7 | link framework "UIKit" 8 | } -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/FirebaseCore/Frameworks/FirebaseCore.framework/FirebaseCore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devwaseem/FacePass/042b8461582ed0efc459cf12930016d8c5037478/FacePass-iOS Source Code/Pods/FirebaseCore/Frameworks/FirebaseCore.framework/FirebaseCore -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/FirebaseCore/Frameworks/FirebaseCore.framework/Headers/FIRAnalyticsConfiguration.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017 Google 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | #import 18 | 19 | #import "FIRCoreSwiftNameSupport.h" 20 | 21 | NS_ASSUME_NONNULL_BEGIN 22 | 23 | /** 24 | * This class provides configuration fields for Firebase Analytics. 25 | */ 26 | FIR_SWIFT_NAME(AnalyticsConfiguration) 27 | @interface FIRAnalyticsConfiguration : NSObject 28 | 29 | /** 30 | * Returns the shared instance of FIRAnalyticsConfiguration. 31 | */ 32 | + (FIRAnalyticsConfiguration *)sharedInstance FIR_SWIFT_NAME(shared()); 33 | 34 | /** 35 | * Sets the minimum engagement time in seconds required to start a new session. The default value 36 | * is 10 seconds. 37 | */ 38 | - (void)setMinimumSessionInterval:(NSTimeInterval)minimumSessionInterval; 39 | 40 | /** 41 | * Sets the interval of inactivity in seconds that terminates the current session. The default 42 | * value is 1800 seconds (30 minutes). 43 | */ 44 | - (void)setSessionTimeoutInterval:(NSTimeInterval)sessionTimeoutInterval; 45 | 46 | /** 47 | * Sets whether analytics collection is enabled for this app on this device. This setting is 48 | * persisted across app sessions. By default it is enabled. 49 | */ 50 | - (void)setAnalyticsCollectionEnabled:(BOOL)analyticsCollectionEnabled; 51 | 52 | @end 53 | 54 | NS_ASSUME_NONNULL_END 55 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/FirebaseCore/Frameworks/FirebaseCore.framework/Headers/FIRCoreSwiftNameSupport.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017 Google 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | #ifndef FIR_SWIFT_NAME 18 | 19 | #import 20 | 21 | // NS_SWIFT_NAME can only translate factory methods before the iOS 9.3 SDK. 22 | // Wrap it in our own macro if it's a non-compatible SDK. 23 | #ifdef __IPHONE_9_3 24 | #define FIR_SWIFT_NAME(X) NS_SWIFT_NAME(X) 25 | #else 26 | #define FIR_SWIFT_NAME(X) // Intentionally blank. 27 | #endif // #ifdef __IPHONE_9_3 28 | 29 | #endif // FIR_SWIFT_NAME 30 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/FirebaseCore/Frameworks/FirebaseCore.framework/Headers/FIRLoggerLevel.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017 Google 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | #import "FIRCoreSwiftNameSupport.h" 18 | 19 | /** 20 | * The log levels used by internal logging. 21 | */ 22 | typedef NS_ENUM(NSInteger, FIRLoggerLevel) { 23 | /** Error level, matches ASL_LEVEL_ERR. */ 24 | FIRLoggerLevelError = 3, 25 | /** Warning level, matches ASL_LEVEL_WARNING. */ 26 | FIRLoggerLevelWarning = 4, 27 | /** Notice level, matches ASL_LEVEL_NOTICE. */ 28 | FIRLoggerLevelNotice = 5, 29 | /** Info level, matches ASL_LEVEL_NOTICE. */ 30 | FIRLoggerLevelInfo = 6, 31 | /** Debug level, matches ASL_LEVEL_DEBUG. */ 32 | FIRLoggerLevelDebug = 7, 33 | /** Minimum log level. */ 34 | FIRLoggerLevelMin = FIRLoggerLevelError, 35 | /** Maximum log level. */ 36 | FIRLoggerLevelMax = FIRLoggerLevelDebug 37 | } FIR_SWIFT_NAME(FirebaseLoggerLevel); 38 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/FirebaseCore/Frameworks/FirebaseCore.framework/Headers/FirebaseCore.h: -------------------------------------------------------------------------------- 1 | #import "FIRAnalyticsConfiguration.h" 2 | #import "FIRApp.h" 3 | #import "FIRConfiguration.h" 4 | #import "FIRCoreSwiftNameSupport.h" 5 | #import "FIRLoggerLevel.h" 6 | #import "FIROptions.h" 7 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/FirebaseCore/Frameworks/FirebaseCore.framework/Modules/module.modulemap: -------------------------------------------------------------------------------- 1 | framework module FirebaseCore { 2 | umbrella header "FirebaseCore.h" 3 | export * 4 | module * { export *} 5 | link "z"} 6 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/FirebaseCore/Frameworks/FirebaseCoreDiagnostics.framework/FirebaseCoreDiagnostics: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devwaseem/FacePass/042b8461582ed0efc459cf12930016d8c5037478/FacePass-iOS Source Code/Pods/FirebaseCore/Frameworks/FirebaseCoreDiagnostics.framework/FirebaseCoreDiagnostics -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/FirebaseCore/Frameworks/FirebaseCoreDiagnostics.framework/Modules/module.modulemap: -------------------------------------------------------------------------------- 1 | framework module FirebaseCoreDiagnostics { 2 | export * 3 | module * { export *} 4 | link "z"} 5 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/FirebaseCore/Frameworks/FirebaseNanoPB.framework/FirebaseNanoPB: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devwaseem/FacePass/042b8461582ed0efc459cf12930016d8c5037478/FacePass-iOS Source Code/Pods/FirebaseCore/Frameworks/FirebaseNanoPB.framework/FirebaseNanoPB -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/FirebaseDatabase: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devwaseem/FacePass/042b8461582ed0efc459cf12930016d8c5037478/FacePass-iOS Source Code/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/FirebaseDatabase -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRDataEventType.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017 Google 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | #ifndef Firebase_FIRDataEventType_h 18 | #define Firebase_FIRDataEventType_h 19 | 20 | #import 21 | #import "FIRDatabaseSwiftNameSupport.h" 22 | 23 | /** 24 | * This enum is the set of events that you can observe at a Firebase Database location. 25 | */ 26 | typedef NS_ENUM(NSInteger, FIRDataEventType) { 27 | /// A new child node is added to a location. 28 | FIRDataEventTypeChildAdded, 29 | /// A child node is removed from a location. 30 | FIRDataEventTypeChildRemoved, 31 | /// A child node at a location changes. 32 | FIRDataEventTypeChildChanged, 33 | /// A child node moves relative to the other child nodes at a location. 34 | FIRDataEventTypeChildMoved, 35 | /// Any data changes at a location or, recursively, at any child node. 36 | FIRDataEventTypeValue 37 | } FIR_SWIFT_NAME(DataEventType); 38 | 39 | #endif 40 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRDatabaseSwiftNameSupport.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017 Google 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | #ifndef FIR_SWIFT_NAME 18 | 19 | #import 20 | 21 | // NS_SWIFT_NAME can only translate factory methods before the iOS 9.3 SDK. 22 | // Wrap it in our own macro if it's a non-compatible SDK. 23 | #ifdef __IPHONE_9_3 24 | #define FIR_SWIFT_NAME(X) NS_SWIFT_NAME(X) 25 | #else 26 | #define FIR_SWIFT_NAME(X) // Intentionally blank. 27 | #endif // #ifdef __IPHONE_9_3 28 | 29 | #endif // FIR_SWIFT_NAME 30 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRServerValue.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017 Google 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | #import "FIRDatabaseSwiftNameSupport.h" 18 | 19 | NS_ASSUME_NONNULL_BEGIN 20 | 21 | /** 22 | * Placeholder values you may write into Firebase Database as a value or priority 23 | * that will automatically be populated by the Firebase Database server. 24 | */ 25 | FIR_SWIFT_NAME(ServerValue) 26 | @interface FIRServerValue : NSObject 27 | 28 | /** 29 | * Placeholder value for the number of milliseconds since the Unix epoch 30 | */ 31 | + (NSDictionary *) timestamp; 32 | 33 | @end 34 | 35 | NS_ASSUME_NONNULL_END 36 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRTransactionResult.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017 Google 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | #import 18 | #import "FIRDatabaseSwiftNameSupport.h" 19 | #import "FIRMutableData.h" 20 | 21 | NS_ASSUME_NONNULL_BEGIN 22 | 23 | /** 24 | * Used for runTransactionBlock:. An FIRTransactionResult instance is a container for the results of the transaction. 25 | */ 26 | FIR_SWIFT_NAME(TransactionResult) 27 | @interface FIRTransactionResult : NSObject 28 | 29 | /** 30 | * Used for runTransactionBlock:. Indicates that the new value should be saved at this location 31 | * 32 | * @param value A FIRMutableData instance containing the new value to be set 33 | * @return An FIRTransactionResult instance that can be used as a return value from the block given to runTransactionBlock: 34 | */ 35 | + (FIRTransactionResult *)successWithValue:(FIRMutableData *)value; 36 | 37 | 38 | /** 39 | * Used for runTransactionBlock:. Indicates that the current transaction should no longer proceed. 40 | * 41 | * @return An FIRTransactionResult instance that can be used as a return value from the block given to runTransactionBlock: 42 | */ 43 | + (FIRTransactionResult *) abort; 44 | 45 | @end 46 | 47 | NS_ASSUME_NONNULL_END 48 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FirebaseDatabase.h: -------------------------------------------------------------------------------- 1 | #import "FIRDataEventType.h" 2 | #import "FIRDataSnapshot.h" 3 | #import "FIRDatabase.h" 4 | #import "FIRDatabaseQuery.h" 5 | #import "FIRDatabaseReference.h" 6 | #import "FIRDatabaseSwiftNameSupport.h" 7 | #import "FIRMutableData.h" 8 | #import "FIRServerValue.h" 9 | #import "FIRTransactionResult.h" 10 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Modules/module.modulemap: -------------------------------------------------------------------------------- 1 | framework module FirebaseDatabase { 2 | umbrella header "FirebaseDatabase.h" 3 | export * 4 | module * { export *} 5 | link "c++" 6 | link "icucore" 7 | link "z" 8 | link framework "CFNetwork" 9 | link framework "Security" 10 | link framework "SystemConfiguration"} 11 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/FirebaseInstanceID/Frameworks/FirebaseInstanceID.framework/FirebaseInstanceID: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devwaseem/FacePass/042b8461582ed0efc459cf12930016d8c5037478/FacePass-iOS Source Code/Pods/FirebaseInstanceID/Frameworks/FirebaseInstanceID.framework/FirebaseInstanceID -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/FirebaseInstanceID/Frameworks/FirebaseInstanceID.framework/Headers/FirebaseInstanceID.h: -------------------------------------------------------------------------------- 1 | #import "FIRInstanceID.h" 2 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/FirebaseInstanceID/Frameworks/FirebaseInstanceID.framework/Modules/module.modulemap: -------------------------------------------------------------------------------- 1 | framework module FirebaseInstanceID { 2 | umbrella header "FirebaseInstanceID.h" 3 | export * 4 | module * { export *} 5 | link "z"} 6 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/FirebaseInstanceID/README.md: -------------------------------------------------------------------------------- 1 | # InstanceID SDK for iOS 2 | 3 | Instance ID provides a unique ID per instance of your apps and also provides a 4 | mechanism to authenticate and authorize actions, like sending messages via 5 | Firebase Cloud Messaging (FCM). 6 | 7 | 8 | Please visit [our developer 9 | site](https://developers.google.com/instance-id/) for integration instructions, 10 | documentation, support information, and terms of service. 11 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/FirebaseStorage: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devwaseem/FacePass/042b8461582ed0efc459cf12930016d8c5037478/FacePass-iOS Source Code/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/FirebaseStorage -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorageDownloadTask.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017 Google 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | #import 18 | 19 | #import "FIRStorageObservableTask.h" 20 | #import "FIRStorageSwiftNameSupport.h" 21 | 22 | NS_ASSUME_NONNULL_BEGIN 23 | 24 | /** 25 | * FIRStorageDownloadTask implements resumable downloads from an object in Firebase Storage. 26 | * Downloads can be returned on completion with a completion handler, and can be monitored 27 | * by attaching observers, or controlled by calling FIRStorageTask#pause, FIRStorageTask#resume, 28 | * or FIRStorageTask#cancel. 29 | * Downloads can currently be returned as NSData in memory, or as an NSURL to a file on disk. 30 | * Downloads are performed on a background queue, and callbacks are raised on the developer 31 | * specified callbackQueue in FIRStorage, or the main queue if left unspecified. 32 | * Currently all uploads must be initiated and managed on the main queue. 33 | */ 34 | FIR_SWIFT_NAME(StorageDownloadTask) 35 | @interface FIRStorageDownloadTask : FIRStorageObservableTask 36 | 37 | @end 38 | 39 | NS_ASSUME_NONNULL_END 40 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorageSwiftNameSupport.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017 Google 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | #ifndef FIR_SWIFT_NAME 18 | 19 | #import 20 | 21 | // NS_SWIFT_NAME can only translate factory methods before the iOS 9.3 SDK. 22 | // Wrap it in our own macro if it's a non-compatible SDK. 23 | #ifdef __IPHONE_9_3 24 | #define FIR_SWIFT_NAME(X) NS_SWIFT_NAME(X) 25 | #else 26 | #define FIR_SWIFT_NAME(X) // Intentionally blank. 27 | #endif // #ifdef __IPHONE_9_3 28 | 29 | #endif // FIR_SWIFT_NAME 30 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorageUploadTask.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017 Google 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | #import 18 | 19 | #import "FIRStorageObservableTask.h" 20 | #import "FIRStorageSwiftNameSupport.h" 21 | 22 | NS_ASSUME_NONNULL_BEGIN 23 | 24 | /** 25 | * FIRStorageUploadTask implements resumable uploads to a file in Firebase Storage. 26 | * Uploads can be returned on completion with a completion callback, and can be monitored 27 | * by attaching observers, or controlled by calling FIRStorageTask#pause, FIRStorageTask#resume, 28 | * or FIRStorageTask#cancel. 29 | * Uploads can take NSData in memory, or an NSURL to a file on disk. 30 | * Uploads are performed on a background queue, and callbacks are raised on the developer 31 | * specified callbackQueue in FIRStorage, or the main queue if left unspecified. 32 | * Currently all uploads must be initiated and managed on the main queue. 33 | */ 34 | FIR_SWIFT_NAME(StorageUploadTask) 35 | @interface FIRStorageUploadTask : FIRStorageObservableTask 36 | 37 | @end 38 | 39 | NS_ASSUME_NONNULL_END 40 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FirebaseStorage.h: -------------------------------------------------------------------------------- 1 | #import "FIRStorage.h" 2 | #import "FIRStorageConstants.h" 3 | #import "FIRStorageDownloadTask.h" 4 | #import "FIRStorageMetadata.h" 5 | #import "FIRStorageObservableTask.h" 6 | #import "FIRStorageReference.h" 7 | #import "FIRStorageSwiftNameSupport.h" 8 | #import "FIRStorageTask.h" 9 | #import "FIRStorageTaskSnapshot.h" 10 | #import "FIRStorageUploadTask.h" 11 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Modules/module.modulemap: -------------------------------------------------------------------------------- 1 | framework module FirebaseStorage { 2 | umbrella header "FirebaseStorage.h" 3 | export * 4 | module * { export *} 5 | link "z" 6 | link framework "MobileCoreServices" 7 | link framework "Security"} 8 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/GTMSessionFetcher/README.md: -------------------------------------------------------------------------------- 1 | # Google Toolbox for Mac - Session Fetcher # 2 | 3 | **Project site**
4 | **Discussion group** 5 | 6 | [![Build Status](https://travis-ci.org/google/gtm-session-fetcher.svg?branch=master)](https://travis-ci.org/google/gtm-session-fetcher) 7 | 8 | `GTMSessionFetcher` makes it easy for Cocoa applications to perform http 9 | operations. The fetcher is implemented as a wrapper on `NSURLSession`, so its 10 | behavior is asynchronous and uses operating-system settings on iOS and Mac OS X. 11 | 12 | Features include: 13 | - Simple to build; only one source/header file pair is required 14 | - Simple to use: takes just two lines of code to fetch a request 15 | - Supports upload and download sessions 16 | - Flexible cookie storage 17 | - Automatic retry on errors, with exponential backoff 18 | - Support for generating multipart MIME upload streams 19 | - Easy, convenient logging of http requests and responses 20 | - Supports plug-in authentication such as with GTMAppAuth 21 | - Easily testable; self-mocking 22 | - Automatic rate limiting when created by the `GTMSessionFetcherService` factory class 23 | - Fully independent of other projects 24 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/GoogleToolboxForMac/README.md: -------------------------------------------------------------------------------- 1 | # GTM: Google Toolbox for Mac # 2 | 3 | **Project site**
4 | **Discussion group** 5 | 6 | # Google Toolbox for Mac # 7 | 8 | A collection of source from different Google projects that may be of use to 9 | developers working other iOS or OS X projects. 10 | 11 | If you find a problem/bug or want a new feature to be included in the Google 12 | Toolbox for Mac, please join the 13 | [discussion group](http://groups.google.com/group/google-toolbox-for-mac) 14 | or submit an 15 | [issue](https://github.com/google/google-toolbox-for-mac/issues). 16 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/Headers/Private/Firebase/Firebase.h: -------------------------------------------------------------------------------- 1 | ../../../Firebase/Core/Sources/Firebase.h -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/Headers/Public/Firebase/Firebase.h: -------------------------------------------------------------------------------- 1 | ../../../Firebase/Core/Sources/Firebase.h -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/ISEmojiView/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2015 isaced 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | 23 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/Pods.xcodeproj/xcuserdata/waseemakram.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | EasyPeasy.xcscheme 8 | 9 | isShown 10 | 11 | 12 | GTMSessionFetcher.xcscheme 13 | 14 | isShown 15 | 16 | 17 | GoogleToolboxForMac.xcscheme 18 | 19 | isShown 20 | 21 | 22 | ISEmojiView-ISEmojiView.xcscheme 23 | 24 | isShown 25 | 26 | 27 | ISEmojiView.xcscheme 28 | 29 | isShown 30 | 31 | 32 | Pods-FacePass.xcscheme 33 | 34 | isShown 35 | 36 | 37 | SDWebImage.xcscheme 38 | 39 | isShown 40 | 41 | 42 | leveldb-library.xcscheme 43 | 44 | isShown 45 | 46 | 47 | nanopb.xcscheme 48 | 49 | isShown 50 | 51 | 52 | 53 | SuppressBuildableAutocreation 54 | 55 | 56 | 57 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/SDWebImage/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2009-2017 Olivier Poitrey rs@dailymotion.com 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 furnished 8 | to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in all 11 | 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 | 21 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/SDWebImage/SDWebImage/NSData+ImageContentType.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the SDWebImage package. 3 | * (c) Olivier Poitrey 4 | * (c) Fabrice Aneche 5 | * 6 | * For the full copyright and license information, please view the LICENSE 7 | * file that was distributed with this source code. 8 | */ 9 | 10 | #import 11 | #import "SDWebImageCompat.h" 12 | 13 | typedef NS_ENUM(NSInteger, SDImageFormat) { 14 | SDImageFormatUndefined = -1, 15 | SDImageFormatJPEG = 0, 16 | SDImageFormatPNG, 17 | SDImageFormatGIF, 18 | SDImageFormatTIFF, 19 | SDImageFormatWebP 20 | }; 21 | 22 | @interface NSData (ImageContentType) 23 | 24 | /** 25 | * Return image format 26 | * 27 | * @param data the input image data 28 | * 29 | * @return the image format as `SDImageFormat` (enum) 30 | */ 31 | + (SDImageFormat)sd_imageFormatForImageData:(nullable NSData *)data; 32 | 33 | @end 34 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/SDWebImage/SDWebImage/NSData+ImageContentType.m: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the SDWebImage package. 3 | * (c) Olivier Poitrey 4 | * (c) Fabrice Aneche 5 | * 6 | * For the full copyright and license information, please view the LICENSE 7 | * file that was distributed with this source code. 8 | */ 9 | 10 | #import "NSData+ImageContentType.h" 11 | 12 | 13 | @implementation NSData (ImageContentType) 14 | 15 | + (SDImageFormat)sd_imageFormatForImageData:(nullable NSData *)data { 16 | if (!data) { 17 | return SDImageFormatUndefined; 18 | } 19 | 20 | uint8_t c; 21 | [data getBytes:&c length:1]; 22 | switch (c) { 23 | case 0xFF: 24 | return SDImageFormatJPEG; 25 | case 0x89: 26 | return SDImageFormatPNG; 27 | case 0x47: 28 | return SDImageFormatGIF; 29 | case 0x49: 30 | case 0x4D: 31 | return SDImageFormatTIFF; 32 | case 0x52: 33 | // R as RIFF for WEBP 34 | if (data.length < 12) { 35 | return SDImageFormatUndefined; 36 | } 37 | 38 | NSString *testString = [[NSString alloc] initWithData:[data subdataWithRange:NSMakeRange(0, 12)] encoding:NSASCIIStringEncoding]; 39 | if ([testString hasPrefix:@"RIFF"] && [testString hasSuffix:@"WEBP"]) { 40 | return SDImageFormatWebP; 41 | } 42 | } 43 | return SDImageFormatUndefined; 44 | } 45 | 46 | @end 47 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/SDWebImage/SDWebImage/NSImage+WebCache.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the SDWebImage package. 3 | * (c) Olivier Poitrey 4 | * 5 | * For the full copyright and license information, please view the LICENSE 6 | * file that was distributed with this source code. 7 | */ 8 | 9 | #import "SDWebImageCompat.h" 10 | 11 | #if SD_MAC 12 | 13 | #import 14 | 15 | @interface NSImage (WebCache) 16 | 17 | - (CGImageRef)CGImage; 18 | - (NSArray *)images; 19 | - (BOOL)isGIF; 20 | 21 | @end 22 | 23 | #endif 24 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/SDWebImage/SDWebImage/NSImage+WebCache.m: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the SDWebImage package. 3 | * (c) Olivier Poitrey 4 | * 5 | * For the full copyright and license information, please view the LICENSE 6 | * file that was distributed with this source code. 7 | */ 8 | 9 | #import "NSImage+WebCache.h" 10 | 11 | #if SD_MAC 12 | 13 | @implementation NSImage (WebCache) 14 | 15 | - (CGImageRef)CGImage { 16 | NSRect imageRect = NSMakeRect(0, 0, self.size.width, self.size.height); 17 | CGImageRef cgImage = [self CGImageForProposedRect:&imageRect context:NULL hints:nil]; 18 | return cgImage; 19 | } 20 | 21 | - (NSArray *)images { 22 | return nil; 23 | } 24 | 25 | - (BOOL)isGIF { 26 | return NO; 27 | } 28 | 29 | @end 30 | 31 | #endif 32 | 33 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/SDWebImage/SDWebImage/SDImageCacheConfig.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the SDWebImage package. 3 | * (c) Olivier Poitrey 4 | * 5 | * For the full copyright and license information, please view the LICENSE 6 | * file that was distributed with this source code. 7 | */ 8 | 9 | #import 10 | #import "SDWebImageCompat.h" 11 | 12 | @interface SDImageCacheConfig : NSObject 13 | 14 | /** 15 | * Decompressing images that are downloaded and cached can improve performance but can consume lot of memory. 16 | * Defaults to YES. Set this to NO if you are experiencing a crash due to excessive memory consumption. 17 | */ 18 | @property (assign, nonatomic) BOOL shouldDecompressImages; 19 | 20 | /** 21 | * disable iCloud backup [defaults to YES] 22 | */ 23 | @property (assign, nonatomic) BOOL shouldDisableiCloud; 24 | 25 | /** 26 | * use memory cache [defaults to YES] 27 | */ 28 | @property (assign, nonatomic) BOOL shouldCacheImagesInMemory; 29 | 30 | /** 31 | * The maximum length of time to keep an image in the cache, in seconds 32 | */ 33 | @property (assign, nonatomic) NSInteger maxCacheAge; 34 | 35 | /** 36 | * The maximum size of the cache, in bytes. 37 | */ 38 | @property (assign, nonatomic) NSUInteger maxCacheSize; 39 | 40 | @end 41 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/SDWebImage/SDWebImage/SDImageCacheConfig.m: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the SDWebImage package. 3 | * (c) Olivier Poitrey 4 | * 5 | * For the full copyright and license information, please view the LICENSE 6 | * file that was distributed with this source code. 7 | */ 8 | 9 | #import "SDImageCacheConfig.h" 10 | 11 | static const NSInteger kDefaultCacheMaxCacheAge = 60 * 60 * 24 * 7; // 1 week 12 | 13 | @implementation SDImageCacheConfig 14 | 15 | - (instancetype)init { 16 | if (self = [super init]) { 17 | _shouldDecompressImages = YES; 18 | _shouldDisableiCloud = YES; 19 | _shouldCacheImagesInMemory = YES; 20 | _maxCacheAge = kDefaultCacheMaxCacheAge; 21 | _maxCacheSize = 0; 22 | } 23 | return self; 24 | } 25 | 26 | @end 27 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/SDWebImage/SDWebImage/SDWebImageDecoder.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the SDWebImage package. 3 | * (c) Olivier Poitrey 4 | * (c) james 5 | * 6 | * For the full copyright and license information, please view the LICENSE 7 | * file that was distributed with this source code. 8 | */ 9 | 10 | #import 11 | #import "SDWebImageCompat.h" 12 | 13 | @interface UIImage (ForceDecode) 14 | 15 | + (nullable UIImage *)decodedImageWithImage:(nullable UIImage *)image; 16 | 17 | + (nullable UIImage *)decodedAndScaledDownImageWithImage:(nullable UIImage *)image; 18 | 19 | @end 20 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/SDWebImage/SDWebImage/SDWebImageOperation.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the SDWebImage package. 3 | * (c) Olivier Poitrey 4 | * 5 | * For the full copyright and license information, please view the LICENSE 6 | * file that was distributed with this source code. 7 | */ 8 | 9 | #import 10 | 11 | @protocol SDWebImageOperation 12 | 13 | - (void)cancel; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/SDWebImage/SDWebImage/UIImage+GIF.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the SDWebImage package. 3 | * (c) Olivier Poitrey 4 | * (c) Laurin Brandner 5 | * 6 | * For the full copyright and license information, please view the LICENSE 7 | * file that was distributed with this source code. 8 | */ 9 | 10 | #import "SDWebImageCompat.h" 11 | 12 | @interface UIImage (GIF) 13 | 14 | /** 15 | * Compatibility method - creates an animated UIImage from an NSData, it will only contain the 1st frame image 16 | */ 17 | + (UIImage *)sd_animatedGIFWithData:(NSData *)data; 18 | 19 | /** 20 | * Checks if an UIImage instance is a GIF. Will use the `images` array 21 | */ 22 | - (BOOL)isGIF; 23 | 24 | @end 25 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/SDWebImage/SDWebImage/UIImage+GIF.m: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the SDWebImage package. 3 | * (c) Olivier Poitrey 4 | * (c) Laurin Brandner 5 | * 6 | * For the full copyright and license information, please view the LICENSE 7 | * file that was distributed with this source code. 8 | */ 9 | 10 | #import "UIImage+GIF.h" 11 | #import 12 | #import "objc/runtime.h" 13 | #import "NSImage+WebCache.h" 14 | 15 | @implementation UIImage (GIF) 16 | 17 | + (UIImage *)sd_animatedGIFWithData:(NSData *)data { 18 | if (!data) { 19 | return nil; 20 | } 21 | 22 | #if SD_MAC 23 | return [[UIImage alloc] initWithData:data]; 24 | #endif 25 | 26 | CGImageSourceRef source = CGImageSourceCreateWithData((__bridge CFDataRef)data, NULL); 27 | 28 | size_t count = CGImageSourceGetCount(source); 29 | 30 | UIImage *staticImage; 31 | 32 | if (count <= 1) { 33 | staticImage = [[UIImage alloc] initWithData:data]; 34 | } else { 35 | // we will only retrieve the 1st frame. the full GIF support is available via the FLAnimatedImageView category. 36 | // this here is only code to allow drawing animated images as static ones 37 | #if SD_WATCH 38 | CGFloat scale = 1; 39 | scale = [WKInterfaceDevice currentDevice].screenScale; 40 | #elif SD_UIKIT 41 | CGFloat scale = 1; 42 | scale = [UIScreen mainScreen].scale; 43 | #endif 44 | 45 | CGImageRef CGImage = CGImageSourceCreateImageAtIndex(source, 0, NULL); 46 | #if SD_UIKIT || SD_WATCH 47 | UIImage *frameImage = [UIImage imageWithCGImage:CGImage scale:scale orientation:UIImageOrientationUp]; 48 | staticImage = [UIImage animatedImageWithImages:@[frameImage] duration:0.0f]; 49 | #endif 50 | CGImageRelease(CGImage); 51 | } 52 | 53 | CFRelease(source); 54 | 55 | return staticImage; 56 | } 57 | 58 | - (BOOL)isGIF { 59 | return (self.images != nil); 60 | } 61 | 62 | @end 63 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/SDWebImage/SDWebImage/UIImage+MultiFormat.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the SDWebImage package. 3 | * (c) Olivier Poitrey 4 | * 5 | * For the full copyright and license information, please view the LICENSE 6 | * file that was distributed with this source code. 7 | */ 8 | 9 | #import "SDWebImageCompat.h" 10 | #import "NSData+ImageContentType.h" 11 | 12 | @interface UIImage (MultiFormat) 13 | 14 | + (nullable UIImage *)sd_imageWithData:(nullable NSData *)data; 15 | - (nullable NSData *)sd_imageData; 16 | - (nullable NSData *)sd_imageDataAsFormat:(SDImageFormat)imageFormat; 17 | 18 | @end 19 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/SDWebImage/SDWebImage/UIView+WebCacheOperation.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the SDWebImage package. 3 | * (c) Olivier Poitrey 4 | * 5 | * For the full copyright and license information, please view the LICENSE 6 | * file that was distributed with this source code. 7 | */ 8 | 9 | #import "SDWebImageCompat.h" 10 | 11 | #if SD_UIKIT || SD_MAC 12 | 13 | #import "SDWebImageManager.h" 14 | 15 | @interface UIView (WebCacheOperation) 16 | 17 | /** 18 | * Set the image load operation (storage in a UIView based dictionary) 19 | * 20 | * @param operation the operation 21 | * @param key key for storing the operation 22 | */ 23 | - (void)sd_setImageLoadOperation:(nullable id)operation forKey:(nullable NSString *)key; 24 | 25 | /** 26 | * Cancel all operations for the current UIView and key 27 | * 28 | * @param key key for identifying the operations 29 | */ 30 | - (void)sd_cancelImageLoadOperationWithKey:(nullable NSString *)key; 31 | 32 | /** 33 | * Just remove the operations corresponding to the current UIView and key without cancelling them 34 | * 35 | * @param key key for identifying the operations 36 | */ 37 | - (void)sd_removeImageLoadOperationWithKey:(nullable NSString *)key; 38 | 39 | @end 40 | 41 | #endif 42 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/Target Support Files/EasyPeasy/EasyPeasy-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_EasyPeasy : NSObject 3 | @end 4 | @implementation PodsDummy_EasyPeasy 5 | @end 6 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/Target Support Files/EasyPeasy/EasyPeasy-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/Target Support Files/EasyPeasy/EasyPeasy-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | 14 | FOUNDATION_EXPORT double EasyPeasyVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char EasyPeasyVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/Target Support Files/EasyPeasy/EasyPeasy.modulemap: -------------------------------------------------------------------------------- 1 | framework module EasyPeasy { 2 | umbrella header "EasyPeasy-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/Target Support Files/EasyPeasy/EasyPeasy.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/EasyPeasy 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/Firebase" "${PODS_ROOT}/Headers/Public/FirebaseAnalytics" "${PODS_ROOT}/Headers/Public/FirebaseCore" "${PODS_ROOT}/Headers/Public/FirebaseDatabase" "${PODS_ROOT}/Headers/Public/FirebaseInstanceID" "${PODS_ROOT}/Headers/Public/FirebaseStorage" 4 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 5 | PODS_BUILD_DIR = $BUILD_DIR 6 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_ROOT = ${SRCROOT} 8 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/EasyPeasy 9 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 10 | SKIP_INSTALL = YES 11 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/Target Support Files/EasyPeasy/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 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.5.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/Target Support Files/GTMSessionFetcher/GTMSessionFetcher-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_GTMSessionFetcher : NSObject 3 | @end 4 | @implementation PodsDummy_GTMSessionFetcher 5 | @end 6 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/Target Support Files/GTMSessionFetcher/GTMSessionFetcher-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/Target Support Files/GTMSessionFetcher/GTMSessionFetcher-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | #import "GTMSessionFetcher.h" 14 | #import "GTMSessionFetcherLogging.h" 15 | #import "GTMSessionFetcherService.h" 16 | #import "GTMSessionUploadFetcher.h" 17 | 18 | FOUNDATION_EXPORT double GTMSessionFetcherVersionNumber; 19 | FOUNDATION_EXPORT const unsigned char GTMSessionFetcherVersionString[]; 20 | 21 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/Target Support Files/GTMSessionFetcher/GTMSessionFetcher.modulemap: -------------------------------------------------------------------------------- 1 | framework module GTMSessionFetcher { 2 | umbrella header "GTMSessionFetcher-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/Target Support Files/GTMSessionFetcher/GTMSessionFetcher.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/GTMSessionFetcher 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/Firebase" "${PODS_ROOT}/Headers/Public/FirebaseAnalytics" "${PODS_ROOT}/Headers/Public/FirebaseCore" "${PODS_ROOT}/Headers/Public/FirebaseDatabase" "${PODS_ROOT}/Headers/Public/FirebaseInstanceID" "${PODS_ROOT}/Headers/Public/FirebaseStorage" 4 | OTHER_LDFLAGS = -framework "Security" 5 | PODS_BUILD_DIR = $BUILD_DIR 6 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_ROOT = ${SRCROOT} 8 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/GTMSessionFetcher 9 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 10 | SKIP_INSTALL = YES 11 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/Target Support Files/GTMSessionFetcher/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 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.1.11 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/Target Support Files/GoogleToolboxForMac/GoogleToolboxForMac-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_GoogleToolboxForMac : NSObject 3 | @end 4 | @implementation PodsDummy_GoogleToolboxForMac 5 | @end 6 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/Target Support Files/GoogleToolboxForMac/GoogleToolboxForMac-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/Target Support Files/GoogleToolboxForMac/GoogleToolboxForMac-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | #import "GTMDefines.h" 14 | #import "GTMNSData+zlib.h" 15 | 16 | FOUNDATION_EXPORT double GoogleToolboxForMacVersionNumber; 17 | FOUNDATION_EXPORT const unsigned char GoogleToolboxForMacVersionString[]; 18 | 19 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/Target Support Files/GoogleToolboxForMac/GoogleToolboxForMac.modulemap: -------------------------------------------------------------------------------- 1 | framework module GoogleToolboxForMac { 2 | umbrella header "GoogleToolboxForMac-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/Target Support Files/GoogleToolboxForMac/GoogleToolboxForMac.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/GoogleToolboxForMac 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/Firebase" "${PODS_ROOT}/Headers/Public/FirebaseAnalytics" "${PODS_ROOT}/Headers/Public/FirebaseCore" "${PODS_ROOT}/Headers/Public/FirebaseDatabase" "${PODS_ROOT}/Headers/Public/FirebaseInstanceID" "${PODS_ROOT}/Headers/Public/FirebaseStorage" 4 | OTHER_LDFLAGS = -l"z" 5 | PODS_BUILD_DIR = $BUILD_DIR 6 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_ROOT = ${SRCROOT} 8 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/GoogleToolboxForMac 9 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 10 | SKIP_INSTALL = YES 11 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/Target Support Files/GoogleToolboxForMac/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 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 2.1.1 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/Target Support Files/ISEmojiView/ISEmojiView-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_ISEmojiView : NSObject 3 | @end 4 | @implementation PodsDummy_ISEmojiView 5 | @end 6 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/Target Support Files/ISEmojiView/ISEmojiView-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/Target Support Files/ISEmojiView/ISEmojiView-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | 14 | FOUNDATION_EXPORT double ISEmojiViewVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char ISEmojiViewVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/Target Support Files/ISEmojiView/ISEmojiView.modulemap: -------------------------------------------------------------------------------- 1 | framework module ISEmojiView { 2 | umbrella header "ISEmojiView-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/Target Support Files/ISEmojiView/ISEmojiView.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/ISEmojiView 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/Firebase" "${PODS_ROOT}/Headers/Public/FirebaseAnalytics" "${PODS_ROOT}/Headers/Public/FirebaseCore" "${PODS_ROOT}/Headers/Public/FirebaseDatabase" "${PODS_ROOT}/Headers/Public/FirebaseInstanceID" "${PODS_ROOT}/Headers/Public/FirebaseStorage" 4 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 5 | PODS_BUILD_DIR = $BUILD_DIR 6 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_ROOT = ${SRCROOT} 8 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/ISEmojiView 9 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 10 | SKIP_INSTALL = YES 11 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/Target Support Files/ISEmojiView/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 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 0.0.5 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/Target Support Files/ISEmojiView/ResourceBundle-ISEmojiView-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleIdentifier 8 | ${PRODUCT_BUNDLE_IDENTIFIER} 9 | CFBundleInfoDictionaryVersion 10 | 6.0 11 | CFBundleName 12 | ${PRODUCT_NAME} 13 | CFBundlePackageType 14 | BNDL 15 | CFBundleShortVersionString 16 | 0.0.5 17 | CFBundleSignature 18 | ???? 19 | CFBundleVersion 20 | 1 21 | NSPrincipalClass 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/Target Support Files/Pods-FacePass/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 | 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 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/Target Support Files/Pods-FacePass/Pods-FacePass-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_FacePass : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_FacePass 5 | @end 6 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/Target Support Files/Pods-FacePass/Pods-FacePass-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | 14 | FOUNDATION_EXPORT double Pods_FacePassVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_FacePassVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/Target Support Files/Pods-FacePass/Pods-FacePass.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_FacePass { 2 | umbrella header "Pods-FacePass-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/Target Support Files/SDWebImage/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 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 4.1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/Target Support Files/SDWebImage/SDWebImage-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_SDWebImage : NSObject 3 | @end 4 | @implementation PodsDummy_SDWebImage 5 | @end 6 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/Target Support Files/SDWebImage/SDWebImage-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/Target Support Files/SDWebImage/SDWebImage-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | #import "NSData+ImageContentType.h" 14 | #import "NSImage+WebCache.h" 15 | #import "SDImageCache.h" 16 | #import "SDImageCacheConfig.h" 17 | #import "SDWebImageCompat.h" 18 | #import "SDWebImageDecoder.h" 19 | #import "SDWebImageDownloader.h" 20 | #import "SDWebImageDownloaderOperation.h" 21 | #import "SDWebImageManager.h" 22 | #import "SDWebImageOperation.h" 23 | #import "SDWebImagePrefetcher.h" 24 | #import "UIButton+WebCache.h" 25 | #import "UIImage+GIF.h" 26 | #import "UIImage+MultiFormat.h" 27 | #import "UIImageView+HighlightedWebCache.h" 28 | #import "UIImageView+WebCache.h" 29 | #import "UIView+WebCache.h" 30 | #import "UIView+WebCacheOperation.h" 31 | 32 | FOUNDATION_EXPORT double SDWebImageVersionNumber; 33 | FOUNDATION_EXPORT const unsigned char SDWebImageVersionString[]; 34 | 35 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/Target Support Files/SDWebImage/SDWebImage.modulemap: -------------------------------------------------------------------------------- 1 | framework module SDWebImage { 2 | umbrella header "SDWebImage-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/Target Support Files/SDWebImage/SDWebImage.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/SDWebImage 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/Firebase" "${PODS_ROOT}/Headers/Public/FirebaseAnalytics" "${PODS_ROOT}/Headers/Public/FirebaseCore" "${PODS_ROOT}/Headers/Public/FirebaseDatabase" "${PODS_ROOT}/Headers/Public/FirebaseInstanceID" "${PODS_ROOT}/Headers/Public/FirebaseStorage" 4 | OTHER_LDFLAGS = -framework "ImageIO" 5 | PODS_BUILD_DIR = $BUILD_DIR 6 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_ROOT = ${SRCROOT} 8 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/SDWebImage 9 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 10 | SKIP_INSTALL = YES 11 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/Target Support Files/leveldb-library/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 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.18.3 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/Target Support Files/leveldb-library/leveldb-library-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_leveldb_library : NSObject 3 | @end 4 | @implementation PodsDummy_leveldb_library 5 | @end 6 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/Target Support Files/leveldb-library/leveldb-library-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/Target Support Files/leveldb-library/leveldb-library-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | #import "c.h" 14 | #import "cache.h" 15 | #import "comparator.h" 16 | #import "db.h" 17 | #import "dumpfile.h" 18 | #import "env.h" 19 | #import "filter_policy.h" 20 | #import "iterator.h" 21 | #import "options.h" 22 | #import "slice.h" 23 | #import "status.h" 24 | #import "table.h" 25 | #import "table_builder.h" 26 | #import "write_batch.h" 27 | 28 | FOUNDATION_EXPORT double leveldbVersionNumber; 29 | FOUNDATION_EXPORT const unsigned char leveldbVersionString[]; 30 | 31 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/Target Support Files/leveldb-library/leveldb-library.modulemap: -------------------------------------------------------------------------------- 1 | framework module leveldb { 2 | umbrella header "leveldb-library-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/Target Support Files/leveldb-library/leveldb-library.xcconfig: -------------------------------------------------------------------------------- 1 | CC = clang 2 | CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/leveldb-library 3 | CXX = clang++ 4 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 5 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/Firebase" "${PODS_ROOT}/Headers/Public/FirebaseAnalytics" "${PODS_ROOT}/Headers/Public/FirebaseCore" "${PODS_ROOT}/Headers/Public/FirebaseDatabase" "${PODS_ROOT}/Headers/Public/FirebaseInstanceID" "${PODS_ROOT}/Headers/Public/FirebaseStorage" "${PODS_ROOT}/leveldb-library/" "${PODS_ROOT}/leveldb-library/include" 6 | OTHER_LDFLAGS = -l"c++" 7 | PODS_BUILD_DIR = $BUILD_DIR 8 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 9 | PODS_ROOT = ${SRCROOT} 10 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/leveldb-library 11 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 12 | SKIP_INSTALL = YES 13 | WARNING_CFLAGS = -Wno-shorten-64-to-32 14 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/Target Support Files/nanopb/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 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 0.3.8 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/Target Support Files/nanopb/nanopb-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_nanopb : NSObject 3 | @end 4 | @implementation PodsDummy_nanopb 5 | @end 6 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/Target Support Files/nanopb/nanopb-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/Target Support Files/nanopb/nanopb-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | #import "pb.h" 14 | #import "pb_common.h" 15 | #import "pb_decode.h" 16 | #import "pb_encode.h" 17 | #import "pb.h" 18 | #import "pb_decode.h" 19 | #import "pb_common.h" 20 | #import "pb.h" 21 | #import "pb_encode.h" 22 | #import "pb_common.h" 23 | 24 | FOUNDATION_EXPORT double nanopbVersionNumber; 25 | FOUNDATION_EXPORT const unsigned char nanopbVersionString[]; 26 | 27 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/Target Support Files/nanopb/nanopb.modulemap: -------------------------------------------------------------------------------- 1 | framework module nanopb { 2 | umbrella header "nanopb-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/Target Support Files/nanopb/nanopb.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/nanopb 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 $(inherited) PB_FIELD_32BIT=1 PB_NO_PACKED_STRUCTS=1 3 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/Firebase" "${PODS_ROOT}/Headers/Public/FirebaseAnalytics" "${PODS_ROOT}/Headers/Public/FirebaseCore" "${PODS_ROOT}/Headers/Public/FirebaseDatabase" "${PODS_ROOT}/Headers/Public/FirebaseInstanceID" "${PODS_ROOT}/Headers/Public/FirebaseStorage" 4 | PODS_BUILD_DIR = $BUILD_DIR 5 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 6 | PODS_ROOT = ${SRCROOT} 7 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/nanopb 8 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 9 | SKIP_INSTALL = YES 10 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/leveldb-library/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2011 The LevelDB Authors. All rights reserved. 2 | 3 | Redistribution and use in source and binary forms, with or without 4 | modification, are permitted provided that the following conditions are 5 | met: 6 | 7 | * Redistributions of source code must retain the above copyright 8 | notice, this list of conditions and the following disclaimer. 9 | * Redistributions in binary form must reproduce the above 10 | copyright notice, this list of conditions and the following disclaimer 11 | in the documentation and/or other materials provided with the 12 | distribution. 13 | * Neither the name of Google Inc. nor the names of its 14 | contributors may be used to endorse or promote products derived from 15 | this software without specific prior written permission. 16 | 17 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 18 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 19 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 20 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 21 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 22 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 23 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 24 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 25 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/leveldb-library/README: -------------------------------------------------------------------------------- 1 | leveldb: A key-value store 2 | Authors: Sanjay Ghemawat (sanjay@google.com) and Jeff Dean (jeff@google.com) 3 | 4 | The code under this directory implements a system for maintaining a 5 | persistent key/value store. 6 | 7 | See doc/index.html for more explanation. 8 | See doc/impl.html for a brief overview of the implementation. 9 | 10 | The public interface is in include/*.h. Callers should not include or 11 | rely on the details of any other header files in this package. Those 12 | internal APIs may be changed without warning. 13 | 14 | Guide to header files: 15 | 16 | include/db.h 17 | Main interface to the DB: Start here 18 | 19 | include/options.h 20 | Control over the behavior of an entire database, and also 21 | control over the behavior of individual reads and writes. 22 | 23 | include/comparator.h 24 | Abstraction for user-specified comparison function. If you want 25 | just bytewise comparison of keys, you can use the default comparator, 26 | but clients can write their own comparator implementations if they 27 | want custom ordering (e.g. to handle different character 28 | encodings, etc.) 29 | 30 | include/iterator.h 31 | Interface for iterating over data. You can get an iterator 32 | from a DB object. 33 | 34 | include/write_batch.h 35 | Interface for atomically applying multiple updates to a database. 36 | 37 | include/slice.h 38 | A simple module for maintaining a pointer and a length into some 39 | other byte array. 40 | 41 | include/status.h 42 | Status is returned from many of the public interfaces and is used 43 | to report success and various kinds of errors. 44 | 45 | include/env.h 46 | Abstraction of the OS environment. A posix implementation of 47 | this interface is in util/env_posix.cc 48 | 49 | include/table.h 50 | include/table_builder.h 51 | Lower-level modules that most clients probably won't use directly 52 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/leveldb-library/db/builder.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2011 The LevelDB Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style license that can be 3 | // found in the LICENSE file. See the AUTHORS file for names of contributors. 4 | 5 | #ifndef STORAGE_LEVELDB_DB_BUILDER_H_ 6 | #define STORAGE_LEVELDB_DB_BUILDER_H_ 7 | 8 | #include "leveldb/status.h" 9 | 10 | namespace leveldb { 11 | 12 | struct Options; 13 | struct FileMetaData; 14 | 15 | class Env; 16 | class Iterator; 17 | class TableCache; 18 | class VersionEdit; 19 | 20 | // Build a Table file from the contents of *iter. The generated file 21 | // will be named according to meta->number. On success, the rest of 22 | // *meta will be filled with metadata about the generated table. 23 | // If no data is present in *iter, meta->file_size will be set to 24 | // zero, and no Table file will be produced. 25 | extern Status BuildTable(const std::string& dbname, 26 | Env* env, 27 | const Options& options, 28 | TableCache* table_cache, 29 | Iterator* iter, 30 | FileMetaData* meta); 31 | 32 | } // namespace leveldb 33 | 34 | #endif // STORAGE_LEVELDB_DB_BUILDER_H_ 35 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/leveldb-library/db/db_iter.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2011 The LevelDB Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style license that can be 3 | // found in the LICENSE file. See the AUTHORS file for names of contributors. 4 | 5 | #ifndef STORAGE_LEVELDB_DB_DB_ITER_H_ 6 | #define STORAGE_LEVELDB_DB_DB_ITER_H_ 7 | 8 | #include 9 | #include "leveldb/db.h" 10 | #include "db/dbformat.h" 11 | 12 | namespace leveldb { 13 | 14 | class DBImpl; 15 | 16 | // Return a new iterator that converts internal keys (yielded by 17 | // "*internal_iter") that were live at the specified "sequence" number 18 | // into appropriate user keys. 19 | extern Iterator* NewDBIterator( 20 | DBImpl* db, 21 | const Comparator* user_key_comparator, 22 | Iterator* internal_iter, 23 | SequenceNumber sequence, 24 | uint32_t seed); 25 | 26 | } // namespace leveldb 27 | 28 | #endif // STORAGE_LEVELDB_DB_DB_ITER_H_ 29 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/leveldb-library/db/leveldb_main.cc: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2012 The LevelDB Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style license that can be 3 | // found in the LICENSE file. See the AUTHORS file for names of contributors. 4 | 5 | #include 6 | #include "leveldb/dumpfile.h" 7 | #include "leveldb/env.h" 8 | #include "leveldb/status.h" 9 | 10 | namespace leveldb { 11 | namespace { 12 | 13 | class StdoutPrinter : public WritableFile { 14 | public: 15 | virtual Status Append(const Slice& data) { 16 | fwrite(data.data(), 1, data.size(), stdout); 17 | return Status::OK(); 18 | } 19 | virtual Status Close() { return Status::OK(); } 20 | virtual Status Flush() { return Status::OK(); } 21 | virtual Status Sync() { return Status::OK(); } 22 | }; 23 | 24 | bool HandleDumpCommand(Env* env, char** files, int num) { 25 | StdoutPrinter printer; 26 | bool ok = true; 27 | for (int i = 0; i < num; i++) { 28 | Status s = DumpFile(env, files[i], &printer); 29 | if (!s.ok()) { 30 | fprintf(stderr, "%s\n", s.ToString().c_str()); 31 | ok = false; 32 | } 33 | } 34 | return ok; 35 | } 36 | 37 | } // namespace 38 | } // namespace leveldb 39 | 40 | static void Usage() { 41 | fprintf( 42 | stderr, 43 | "Usage: leveldbutil command...\n" 44 | " dump files... -- dump contents of specified files\n" 45 | ); 46 | } 47 | 48 | int main(int argc, char** argv) { 49 | leveldb::Env* env = leveldb::Env::Default(); 50 | bool ok = true; 51 | if (argc < 2) { 52 | Usage(); 53 | ok = false; 54 | } else { 55 | std::string command = argv[1]; 56 | if (command == "dump") { 57 | ok = leveldb::HandleDumpCommand(env, argv+2, argc-2); 58 | } else { 59 | Usage(); 60 | ok = false; 61 | } 62 | } 63 | return (ok ? 0 : 1); 64 | } 65 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/leveldb-library/db/log_format.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2011 The LevelDB Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style license that can be 3 | // found in the LICENSE file. See the AUTHORS file for names of contributors. 4 | // 5 | // Log format information shared by reader and writer. 6 | // See ../doc/log_format.txt for more detail. 7 | 8 | #ifndef STORAGE_LEVELDB_DB_LOG_FORMAT_H_ 9 | #define STORAGE_LEVELDB_DB_LOG_FORMAT_H_ 10 | 11 | namespace leveldb { 12 | namespace log { 13 | 14 | enum RecordType { 15 | // Zero is reserved for preallocated files 16 | kZeroType = 0, 17 | 18 | kFullType = 1, 19 | 20 | // For fragments 21 | kFirstType = 2, 22 | kMiddleType = 3, 23 | kLastType = 4 24 | }; 25 | static const int kMaxRecordType = kLastType; 26 | 27 | static const int kBlockSize = 32768; 28 | 29 | // Header is checksum (4 bytes), length (2 bytes), type (1 byte). 30 | static const int kHeaderSize = 4 + 2 + 1; 31 | 32 | } // namespace log 33 | } // namespace leveldb 34 | 35 | #endif // STORAGE_LEVELDB_DB_LOG_FORMAT_H_ 36 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/leveldb-library/db/log_writer.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2011 The LevelDB Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style license that can be 3 | // found in the LICENSE file. See the AUTHORS file for names of contributors. 4 | 5 | #ifndef STORAGE_LEVELDB_DB_LOG_WRITER_H_ 6 | #define STORAGE_LEVELDB_DB_LOG_WRITER_H_ 7 | 8 | #include 9 | #include "db/log_format.h" 10 | #include "leveldb/slice.h" 11 | #include "leveldb/status.h" 12 | 13 | namespace leveldb { 14 | 15 | class WritableFile; 16 | 17 | namespace log { 18 | 19 | class Writer { 20 | public: 21 | // Create a writer that will append data to "*dest". 22 | // "*dest" must be initially empty. 23 | // "*dest" must remain live while this Writer is in use. 24 | explicit Writer(WritableFile* dest); 25 | ~Writer(); 26 | 27 | Status AddRecord(const Slice& slice); 28 | 29 | private: 30 | WritableFile* dest_; 31 | int block_offset_; // Current offset in block 32 | 33 | // crc32c values for all supported record types. These are 34 | // pre-computed to reduce the overhead of computing the crc of the 35 | // record type stored in the header. 36 | uint32_t type_crc_[kMaxRecordType + 1]; 37 | 38 | Status EmitPhysicalRecord(RecordType type, const char* ptr, size_t length); 39 | 40 | // No copying allowed 41 | Writer(const Writer&); 42 | void operator=(const Writer&); 43 | }; 44 | 45 | } // namespace log 46 | } // namespace leveldb 47 | 48 | #endif // STORAGE_LEVELDB_DB_LOG_WRITER_H_ 49 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/leveldb-library/db/snapshot.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2011 The LevelDB Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style license that can be 3 | // found in the LICENSE file. See the AUTHORS file for names of contributors. 4 | 5 | #ifndef STORAGE_LEVELDB_DB_SNAPSHOT_H_ 6 | #define STORAGE_LEVELDB_DB_SNAPSHOT_H_ 7 | 8 | #include "leveldb/db.h" 9 | 10 | namespace leveldb { 11 | 12 | class SnapshotList; 13 | 14 | // Snapshots are kept in a doubly-linked list in the DB. 15 | // Each SnapshotImpl corresponds to a particular sequence number. 16 | class SnapshotImpl : public Snapshot { 17 | public: 18 | SequenceNumber number_; // const after creation 19 | 20 | private: 21 | friend class SnapshotList; 22 | 23 | // SnapshotImpl is kept in a doubly-linked circular list 24 | SnapshotImpl* prev_; 25 | SnapshotImpl* next_; 26 | 27 | SnapshotList* list_; // just for sanity checks 28 | }; 29 | 30 | class SnapshotList { 31 | public: 32 | SnapshotList() { 33 | list_.prev_ = &list_; 34 | list_.next_ = &list_; 35 | } 36 | 37 | bool empty() const { return list_.next_ == &list_; } 38 | SnapshotImpl* oldest() const { assert(!empty()); return list_.next_; } 39 | SnapshotImpl* newest() const { assert(!empty()); return list_.prev_; } 40 | 41 | const SnapshotImpl* New(SequenceNumber seq) { 42 | SnapshotImpl* s = new SnapshotImpl; 43 | s->number_ = seq; 44 | s->list_ = this; 45 | s->next_ = &list_; 46 | s->prev_ = list_.prev_; 47 | s->prev_->next_ = s; 48 | s->next_->prev_ = s; 49 | return s; 50 | } 51 | 52 | void Delete(const SnapshotImpl* s) { 53 | assert(s->list_ == this); 54 | s->prev_->next_ = s->next_; 55 | s->next_->prev_ = s->prev_; 56 | delete s; 57 | } 58 | 59 | private: 60 | // Dummy head of doubly-linked list of snapshots 61 | SnapshotImpl list_; 62 | }; 63 | 64 | } // namespace leveldb 65 | 66 | #endif // STORAGE_LEVELDB_DB_SNAPSHOT_H_ 67 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/leveldb-library/db/version_edit_test.cc: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2011 The LevelDB Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style license that can be 3 | // found in the LICENSE file. See the AUTHORS file for names of contributors. 4 | 5 | #include "db/version_edit.h" 6 | #include "util/testharness.h" 7 | 8 | namespace leveldb { 9 | 10 | static void TestEncodeDecode(const VersionEdit& edit) { 11 | std::string encoded, encoded2; 12 | edit.EncodeTo(&encoded); 13 | VersionEdit parsed; 14 | Status s = parsed.DecodeFrom(encoded); 15 | ASSERT_TRUE(s.ok()) << s.ToString(); 16 | parsed.EncodeTo(&encoded2); 17 | ASSERT_EQ(encoded, encoded2); 18 | } 19 | 20 | class VersionEditTest { }; 21 | 22 | TEST(VersionEditTest, EncodeDecode) { 23 | static const uint64_t kBig = 1ull << 50; 24 | 25 | VersionEdit edit; 26 | for (int i = 0; i < 4; i++) { 27 | TestEncodeDecode(edit); 28 | edit.AddFile(3, kBig + 300 + i, kBig + 400 + i, 29 | InternalKey("foo", kBig + 500 + i, kTypeValue), 30 | InternalKey("zoo", kBig + 600 + i, kTypeDeletion)); 31 | edit.DeleteFile(4, kBig + 700 + i); 32 | edit.SetCompactPointer(i, InternalKey("x", kBig + 900 + i, kTypeValue)); 33 | } 34 | 35 | edit.SetComparatorName("foo"); 36 | edit.SetLogNumber(kBig + 100); 37 | edit.SetNextFile(kBig + 200); 38 | edit.SetLastSequence(kBig + 1000); 39 | TestEncodeDecode(edit); 40 | } 41 | 42 | } // namespace leveldb 43 | 44 | int main(int argc, char** argv) { 45 | return leveldb::test::RunAllTests(); 46 | } 47 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/leveldb-library/db/write_batch_internal.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2011 The LevelDB Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style license that can be 3 | // found in the LICENSE file. See the AUTHORS file for names of contributors. 4 | 5 | #ifndef STORAGE_LEVELDB_DB_WRITE_BATCH_INTERNAL_H_ 6 | #define STORAGE_LEVELDB_DB_WRITE_BATCH_INTERNAL_H_ 7 | 8 | #include "leveldb/write_batch.h" 9 | 10 | namespace leveldb { 11 | 12 | class MemTable; 13 | 14 | // WriteBatchInternal provides static methods for manipulating a 15 | // WriteBatch that we don't want in the public WriteBatch interface. 16 | class WriteBatchInternal { 17 | public: 18 | // Return the number of entries in the batch. 19 | static int Count(const WriteBatch* batch); 20 | 21 | // Set the count for the number of entries in the batch. 22 | static void SetCount(WriteBatch* batch, int n); 23 | 24 | // Return the sequence number for the start of this batch. 25 | static SequenceNumber Sequence(const WriteBatch* batch); 26 | 27 | // Store the specified number as the sequence number for the start of 28 | // this batch. 29 | static void SetSequence(WriteBatch* batch, SequenceNumber seq); 30 | 31 | static Slice Contents(const WriteBatch* batch) { 32 | return Slice(batch->rep_); 33 | } 34 | 35 | static size_t ByteSize(const WriteBatch* batch) { 36 | return batch->rep_.size(); 37 | } 38 | 39 | static void SetContents(WriteBatch* batch, const Slice& contents); 40 | 41 | static Status InsertInto(const WriteBatch* batch, MemTable* memtable); 42 | 43 | static void Append(WriteBatch* dst, const WriteBatch* src); 44 | }; 45 | 46 | } // namespace leveldb 47 | 48 | 49 | #endif // STORAGE_LEVELDB_DB_WRITE_BATCH_INTERNAL_H_ 50 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/leveldb-library/include/leveldb/dumpfile.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2014 The LevelDB Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style license that can be 3 | // found in the LICENSE file. See the AUTHORS file for names of contributors. 4 | 5 | #ifndef STORAGE_LEVELDB_INCLUDE_DUMPFILE_H_ 6 | #define STORAGE_LEVELDB_INCLUDE_DUMPFILE_H_ 7 | 8 | #include 9 | #include "leveldb/env.h" 10 | #include "leveldb/status.h" 11 | 12 | namespace leveldb { 13 | 14 | // Dump the contents of the file named by fname in text format to 15 | // *dst. Makes a sequence of dst->Append() calls; each call is passed 16 | // the newline-terminated text corresponding to a single item found 17 | // in the file. 18 | // 19 | // Returns a non-OK result if fname does not name a leveldb storage 20 | // file, or if the file cannot be read. 21 | Status DumpFile(Env* env, const std::string& fname, WritableFile* dst); 22 | 23 | } // namespace leveldb 24 | 25 | #endif // STORAGE_LEVELDB_INCLUDE_DUMPFILE_H_ 26 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/leveldb-library/port/README: -------------------------------------------------------------------------------- 1 | This directory contains interfaces and implementations that isolate the 2 | rest of the package from platform details. 3 | 4 | Code in the rest of the package includes "port.h" from this directory. 5 | "port.h" in turn includes a platform specific "port_.h" file 6 | that provides the platform specific implementation. 7 | 8 | See port_posix.h for an example of what must be provided in a platform 9 | specific header file. 10 | 11 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/leveldb-library/port/port.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2011 The LevelDB Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style license that can be 3 | // found in the LICENSE file. See the AUTHORS file for names of contributors. 4 | 5 | #ifndef STORAGE_LEVELDB_PORT_PORT_H_ 6 | #define STORAGE_LEVELDB_PORT_PORT_H_ 7 | 8 | #include 9 | 10 | // Include the appropriate platform specific file below. If you are 11 | // porting to a new platform, see "port_example.h" for documentation 12 | // of what the new port_.h file must provide. 13 | #if defined(LEVELDB_PLATFORM_POSIX) 14 | # include "port/port_posix.h" 15 | #elif defined(LEVELDB_PLATFORM_CHROMIUM) 16 | # include "port/port_chromium.h" 17 | #endif 18 | 19 | #endif // STORAGE_LEVELDB_PORT_PORT_H_ 20 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/leveldb-library/port/port_posix.cc: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2011 The LevelDB Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style license that can be 3 | // found in the LICENSE file. See the AUTHORS file for names of contributors. 4 | 5 | #include "port/port_posix.h" 6 | 7 | #include 8 | #include 9 | #include 10 | #include "util/logging.h" 11 | 12 | namespace leveldb { 13 | namespace port { 14 | 15 | static void PthreadCall(const char* label, int result) { 16 | if (result != 0) { 17 | fprintf(stderr, "pthread %s: %s\n", label, strerror(result)); 18 | abort(); 19 | } 20 | } 21 | 22 | Mutex::Mutex() { PthreadCall("init mutex", pthread_mutex_init(&mu_, NULL)); } 23 | 24 | Mutex::~Mutex() { PthreadCall("destroy mutex", pthread_mutex_destroy(&mu_)); } 25 | 26 | void Mutex::Lock() { PthreadCall("lock", pthread_mutex_lock(&mu_)); } 27 | 28 | void Mutex::Unlock() { PthreadCall("unlock", pthread_mutex_unlock(&mu_)); } 29 | 30 | CondVar::CondVar(Mutex* mu) 31 | : mu_(mu) { 32 | PthreadCall("init cv", pthread_cond_init(&cv_, NULL)); 33 | } 34 | 35 | CondVar::~CondVar() { PthreadCall("destroy cv", pthread_cond_destroy(&cv_)); } 36 | 37 | void CondVar::Wait() { 38 | PthreadCall("wait", pthread_cond_wait(&cv_, &mu_->mu_)); 39 | } 40 | 41 | void CondVar::Signal() { 42 | PthreadCall("signal", pthread_cond_signal(&cv_)); 43 | } 44 | 45 | void CondVar::SignalAll() { 46 | PthreadCall("broadcast", pthread_cond_broadcast(&cv_)); 47 | } 48 | 49 | void InitOnce(OnceType* once, void (*initializer)()) { 50 | PthreadCall("once", pthread_once(once, initializer)); 51 | } 52 | 53 | } // namespace port 54 | } // namespace leveldb 55 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/leveldb-library/port/thread_annotations.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2012 The LevelDB Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style license that can be 3 | // found in the LICENSE file. See the AUTHORS file for names of contributors. 4 | 5 | #ifndef STORAGE_LEVELDB_PORT_THREAD_ANNOTATIONS_H_ 6 | #define STORAGE_LEVELDB_PORT_THREAD_ANNOTATIONS_H_ 7 | 8 | // Some environments provide custom macros to aid in static thread-safety 9 | // analysis. Provide empty definitions of such macros unless they are already 10 | // defined. 11 | 12 | #ifndef EXCLUSIVE_LOCKS_REQUIRED 13 | #define EXCLUSIVE_LOCKS_REQUIRED(...) 14 | #endif 15 | 16 | #ifndef SHARED_LOCKS_REQUIRED 17 | #define SHARED_LOCKS_REQUIRED(...) 18 | #endif 19 | 20 | #ifndef LOCKS_EXCLUDED 21 | #define LOCKS_EXCLUDED(...) 22 | #endif 23 | 24 | #ifndef LOCK_RETURNED 25 | #define LOCK_RETURNED(x) 26 | #endif 27 | 28 | #ifndef LOCKABLE 29 | #define LOCKABLE 30 | #endif 31 | 32 | #ifndef SCOPED_LOCKABLE 33 | #define SCOPED_LOCKABLE 34 | #endif 35 | 36 | #ifndef EXCLUSIVE_LOCK_FUNCTION 37 | #define EXCLUSIVE_LOCK_FUNCTION(...) 38 | #endif 39 | 40 | #ifndef SHARED_LOCK_FUNCTION 41 | #define SHARED_LOCK_FUNCTION(...) 42 | #endif 43 | 44 | #ifndef EXCLUSIVE_TRYLOCK_FUNCTION 45 | #define EXCLUSIVE_TRYLOCK_FUNCTION(...) 46 | #endif 47 | 48 | #ifndef SHARED_TRYLOCK_FUNCTION 49 | #define SHARED_TRYLOCK_FUNCTION(...) 50 | #endif 51 | 52 | #ifndef UNLOCK_FUNCTION 53 | #define UNLOCK_FUNCTION(...) 54 | #endif 55 | 56 | #ifndef NO_THREAD_SAFETY_ANALYSIS 57 | #define NO_THREAD_SAFETY_ANALYSIS 58 | #endif 59 | 60 | #endif // STORAGE_LEVELDB_PORT_THREAD_ANNOTATIONS_H_ 61 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/leveldb-library/port/win/stdint.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2011 The LevelDB Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style license that can be 3 | // found in the LICENSE file. See the AUTHORS file for names of contributors. 4 | 5 | // MSVC didn't ship with this file until the 2010 version. 6 | 7 | #ifndef STORAGE_LEVELDB_PORT_WIN_STDINT_H_ 8 | #define STORAGE_LEVELDB_PORT_WIN_STDINT_H_ 9 | 10 | #if !defined(_MSC_VER) 11 | #error This file should only be included when compiling with MSVC. 12 | #endif 13 | 14 | // Define C99 equivalent types. 15 | typedef signed char int8_t; 16 | typedef signed short int16_t; 17 | typedef signed int int32_t; 18 | typedef signed long long int64_t; 19 | typedef unsigned char uint8_t; 20 | typedef unsigned short uint16_t; 21 | typedef unsigned int uint32_t; 22 | typedef unsigned long long uint64_t; 23 | 24 | #endif // STORAGE_LEVELDB_PORT_WIN_STDINT_H_ 25 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/leveldb-library/table/block.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2011 The LevelDB Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style license that can be 3 | // found in the LICENSE file. See the AUTHORS file for names of contributors. 4 | 5 | #ifndef STORAGE_LEVELDB_TABLE_BLOCK_H_ 6 | #define STORAGE_LEVELDB_TABLE_BLOCK_H_ 7 | 8 | #include 9 | #include 10 | #include "leveldb/iterator.h" 11 | 12 | namespace leveldb { 13 | 14 | struct BlockContents; 15 | class Comparator; 16 | 17 | class Block { 18 | public: 19 | // Initialize the block with the specified contents. 20 | explicit Block(const BlockContents& contents); 21 | 22 | ~Block(); 23 | 24 | size_t size() const { return size_; } 25 | Iterator* NewIterator(const Comparator* comparator); 26 | 27 | private: 28 | uint32_t NumRestarts() const; 29 | 30 | const char* data_; 31 | size_t size_; 32 | uint32_t restart_offset_; // Offset in data_ of restart array 33 | bool owned_; // Block owns data_[] 34 | 35 | // No copying allowed 36 | Block(const Block&); 37 | void operator=(const Block&); 38 | 39 | class Iter; 40 | }; 41 | 42 | } // namespace leveldb 43 | 44 | #endif // STORAGE_LEVELDB_TABLE_BLOCK_H_ 45 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/leveldb-library/table/block_builder.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2011 The LevelDB Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style license that can be 3 | // found in the LICENSE file. See the AUTHORS file for names of contributors. 4 | 5 | #ifndef STORAGE_LEVELDB_TABLE_BLOCK_BUILDER_H_ 6 | #define STORAGE_LEVELDB_TABLE_BLOCK_BUILDER_H_ 7 | 8 | #include 9 | 10 | #include 11 | #include "leveldb/slice.h" 12 | 13 | namespace leveldb { 14 | 15 | struct Options; 16 | 17 | class BlockBuilder { 18 | public: 19 | explicit BlockBuilder(const Options* options); 20 | 21 | // Reset the contents as if the BlockBuilder was just constructed. 22 | void Reset(); 23 | 24 | // REQUIRES: Finish() has not been called since the last call to Reset(). 25 | // REQUIRES: key is larger than any previously added key 26 | void Add(const Slice& key, const Slice& value); 27 | 28 | // Finish building the block and return a slice that refers to the 29 | // block contents. The returned slice will remain valid for the 30 | // lifetime of this builder or until Reset() is called. 31 | Slice Finish(); 32 | 33 | // Returns an estimate of the current (uncompressed) size of the block 34 | // we are building. 35 | size_t CurrentSizeEstimate() const; 36 | 37 | // Return true iff no entries have been added since the last Reset() 38 | bool empty() const { 39 | return buffer_.empty(); 40 | } 41 | 42 | private: 43 | const Options* options_; 44 | std::string buffer_; // Destination buffer 45 | std::vector restarts_; // Restart points 46 | int counter_; // Number of entries emitted since restart 47 | bool finished_; // Has Finish() been called? 48 | std::string last_key_; 49 | 50 | // No copying allowed 51 | BlockBuilder(const BlockBuilder&); 52 | void operator=(const BlockBuilder&); 53 | }; 54 | 55 | } // namespace leveldb 56 | 57 | #endif // STORAGE_LEVELDB_TABLE_BLOCK_BUILDER_H_ 58 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/leveldb-library/table/iterator.cc: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2011 The LevelDB Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style license that can be 3 | // found in the LICENSE file. See the AUTHORS file for names of contributors. 4 | 5 | #include "leveldb/iterator.h" 6 | 7 | namespace leveldb { 8 | 9 | Iterator::Iterator() { 10 | cleanup_.function = NULL; 11 | cleanup_.next = NULL; 12 | } 13 | 14 | Iterator::~Iterator() { 15 | if (cleanup_.function != NULL) { 16 | (*cleanup_.function)(cleanup_.arg1, cleanup_.arg2); 17 | for (Cleanup* c = cleanup_.next; c != NULL; ) { 18 | (*c->function)(c->arg1, c->arg2); 19 | Cleanup* next = c->next; 20 | delete c; 21 | c = next; 22 | } 23 | } 24 | } 25 | 26 | void Iterator::RegisterCleanup(CleanupFunction func, void* arg1, void* arg2) { 27 | assert(func != NULL); 28 | Cleanup* c; 29 | if (cleanup_.function == NULL) { 30 | c = &cleanup_; 31 | } else { 32 | c = new Cleanup; 33 | c->next = cleanup_.next; 34 | cleanup_.next = c; 35 | } 36 | c->function = func; 37 | c->arg1 = arg1; 38 | c->arg2 = arg2; 39 | } 40 | 41 | namespace { 42 | class EmptyIterator : public Iterator { 43 | public: 44 | EmptyIterator(const Status& s) : status_(s) { } 45 | virtual bool Valid() const { return false; } 46 | virtual void Seek(const Slice& target) { } 47 | virtual void SeekToFirst() { } 48 | virtual void SeekToLast() { } 49 | virtual void Next() { assert(false); } 50 | virtual void Prev() { assert(false); } 51 | Slice key() const { assert(false); return Slice(); } 52 | Slice value() const { assert(false); return Slice(); } 53 | virtual Status status() const { return status_; } 54 | private: 55 | Status status_; 56 | }; 57 | } // namespace 58 | 59 | Iterator* NewEmptyIterator() { 60 | return new EmptyIterator(Status::OK()); 61 | } 62 | 63 | Iterator* NewErrorIterator(const Status& status) { 64 | return new EmptyIterator(status); 65 | } 66 | 67 | } // namespace leveldb 68 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/leveldb-library/table/merger.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2011 The LevelDB Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style license that can be 3 | // found in the LICENSE file. See the AUTHORS file for names of contributors. 4 | 5 | #ifndef STORAGE_LEVELDB_TABLE_MERGER_H_ 6 | #define STORAGE_LEVELDB_TABLE_MERGER_H_ 7 | 8 | namespace leveldb { 9 | 10 | class Comparator; 11 | class Iterator; 12 | 13 | // Return an iterator that provided the union of the data in 14 | // children[0,n-1]. Takes ownership of the child iterators and 15 | // will delete them when the result iterator is deleted. 16 | // 17 | // The result does no duplicate suppression. I.e., if a particular 18 | // key is present in K child iterators, it will be yielded K times. 19 | // 20 | // REQUIRES: n >= 0 21 | extern Iterator* NewMergingIterator( 22 | const Comparator* comparator, Iterator** children, int n); 23 | 24 | } // namespace leveldb 25 | 26 | #endif // STORAGE_LEVELDB_TABLE_MERGER_H_ 27 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/leveldb-library/table/two_level_iterator.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2011 The LevelDB Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style license that can be 3 | // found in the LICENSE file. See the AUTHORS file for names of contributors. 4 | 5 | #ifndef STORAGE_LEVELDB_TABLE_TWO_LEVEL_ITERATOR_H_ 6 | #define STORAGE_LEVELDB_TABLE_TWO_LEVEL_ITERATOR_H_ 7 | 8 | #include "leveldb/iterator.h" 9 | 10 | namespace leveldb { 11 | 12 | struct ReadOptions; 13 | 14 | // Return a new two level iterator. A two-level iterator contains an 15 | // index iterator whose values point to a sequence of blocks where 16 | // each block is itself a sequence of key,value pairs. The returned 17 | // two-level iterator yields the concatenation of all key/value pairs 18 | // in the sequence of blocks. Takes ownership of "index_iter" and 19 | // will delete it when no longer needed. 20 | // 21 | // Uses a supplied function to convert an index_iter value into 22 | // an iterator over the contents of the corresponding block. 23 | extern Iterator* NewTwoLevelIterator( 24 | Iterator* index_iter, 25 | Iterator* (*block_function)( 26 | void* arg, 27 | const ReadOptions& options, 28 | const Slice& index_value), 29 | void* arg, 30 | const ReadOptions& options); 31 | 32 | } // namespace leveldb 33 | 34 | #endif // STORAGE_LEVELDB_TABLE_TWO_LEVEL_ITERATOR_H_ 35 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/leveldb-library/util/arena.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2011 The LevelDB Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style license that can be 3 | // found in the LICENSE file. See the AUTHORS file for names of contributors. 4 | 5 | #ifndef STORAGE_LEVELDB_UTIL_ARENA_H_ 6 | #define STORAGE_LEVELDB_UTIL_ARENA_H_ 7 | 8 | #include 9 | #include 10 | #include 11 | #include 12 | 13 | namespace leveldb { 14 | 15 | class Arena { 16 | public: 17 | Arena(); 18 | ~Arena(); 19 | 20 | // Return a pointer to a newly allocated memory block of "bytes" bytes. 21 | char* Allocate(size_t bytes); 22 | 23 | // Allocate memory with the normal alignment guarantees provided by malloc 24 | char* AllocateAligned(size_t bytes); 25 | 26 | // Returns an estimate of the total memory usage of data allocated 27 | // by the arena (including space allocated but not yet used for user 28 | // allocations). 29 | size_t MemoryUsage() const { 30 | return blocks_memory_ + blocks_.capacity() * sizeof(char*); 31 | } 32 | 33 | private: 34 | char* AllocateFallback(size_t bytes); 35 | char* AllocateNewBlock(size_t block_bytes); 36 | 37 | // Allocation state 38 | char* alloc_ptr_; 39 | size_t alloc_bytes_remaining_; 40 | 41 | // Array of new[] allocated memory blocks 42 | std::vector blocks_; 43 | 44 | // Bytes of memory in blocks allocated so far 45 | size_t blocks_memory_; 46 | 47 | // No copying allowed 48 | Arena(const Arena&); 49 | void operator=(const Arena&); 50 | }; 51 | 52 | inline char* Arena::Allocate(size_t bytes) { 53 | // The semantics of what to return are a bit messy if we allow 54 | // 0-byte allocations, so we disallow them here (we don't need 55 | // them for our internal use). 56 | assert(bytes > 0); 57 | if (bytes <= alloc_bytes_remaining_) { 58 | char* result = alloc_ptr_; 59 | alloc_ptr_ += bytes; 60 | alloc_bytes_remaining_ -= bytes; 61 | return result; 62 | } 63 | return AllocateFallback(bytes); 64 | } 65 | 66 | } // namespace leveldb 67 | 68 | #endif // STORAGE_LEVELDB_UTIL_ARENA_H_ 69 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/leveldb-library/util/arena_test.cc: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2011 The LevelDB Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style license that can be 3 | // found in the LICENSE file. See the AUTHORS file for names of contributors. 4 | 5 | #include "util/arena.h" 6 | 7 | #include "util/random.h" 8 | #include "util/testharness.h" 9 | 10 | namespace leveldb { 11 | 12 | class ArenaTest { }; 13 | 14 | TEST(ArenaTest, Empty) { 15 | Arena arena; 16 | } 17 | 18 | TEST(ArenaTest, Simple) { 19 | std::vector > allocated; 20 | Arena arena; 21 | const int N = 100000; 22 | size_t bytes = 0; 23 | Random rnd(301); 24 | for (int i = 0; i < N; i++) { 25 | size_t s; 26 | if (i % (N / 10) == 0) { 27 | s = i; 28 | } else { 29 | s = rnd.OneIn(4000) ? rnd.Uniform(6000) : 30 | (rnd.OneIn(10) ? rnd.Uniform(100) : rnd.Uniform(20)); 31 | } 32 | if (s == 0) { 33 | // Our arena disallows size 0 allocations. 34 | s = 1; 35 | } 36 | char* r; 37 | if (rnd.OneIn(10)) { 38 | r = arena.AllocateAligned(s); 39 | } else { 40 | r = arena.Allocate(s); 41 | } 42 | 43 | for (size_t b = 0; b < s; b++) { 44 | // Fill the "i"th allocation with a known bit pattern 45 | r[b] = i % 256; 46 | } 47 | bytes += s; 48 | allocated.push_back(std::make_pair(s, r)); 49 | ASSERT_GE(arena.MemoryUsage(), bytes); 50 | if (i > N/10) { 51 | ASSERT_LE(arena.MemoryUsage(), bytes * 1.10); 52 | } 53 | } 54 | for (size_t i = 0; i < allocated.size(); i++) { 55 | size_t num_bytes = allocated[i].first; 56 | const char* p = allocated[i].second; 57 | for (size_t b = 0; b < num_bytes; b++) { 58 | // Check the "i"th allocation for the known bit pattern 59 | ASSERT_EQ(int(p[b]) & 0xff, i % 256); 60 | } 61 | } 62 | } 63 | 64 | } // namespace leveldb 65 | 66 | int main(int argc, char** argv) { 67 | return leveldb::test::RunAllTests(); 68 | } 69 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/leveldb-library/util/crc32c.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2011 The LevelDB Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style license that can be 3 | // found in the LICENSE file. See the AUTHORS file for names of contributors. 4 | 5 | #ifndef STORAGE_LEVELDB_UTIL_CRC32C_H_ 6 | #define STORAGE_LEVELDB_UTIL_CRC32C_H_ 7 | 8 | #include 9 | #include 10 | 11 | namespace leveldb { 12 | namespace crc32c { 13 | 14 | // Return the crc32c of concat(A, data[0,n-1]) where init_crc is the 15 | // crc32c of some string A. Extend() is often used to maintain the 16 | // crc32c of a stream of data. 17 | extern uint32_t Extend(uint32_t init_crc, const char* data, size_t n); 18 | 19 | // Return the crc32c of data[0,n-1] 20 | inline uint32_t Value(const char* data, size_t n) { 21 | return Extend(0, data, n); 22 | } 23 | 24 | static const uint32_t kMaskDelta = 0xa282ead8ul; 25 | 26 | // Return a masked representation of crc. 27 | // 28 | // Motivation: it is problematic to compute the CRC of a string that 29 | // contains embedded CRCs. Therefore we recommend that CRCs stored 30 | // somewhere (e.g., in files) should be masked before being stored. 31 | inline uint32_t Mask(uint32_t crc) { 32 | // Rotate right by 15 bits and add a constant. 33 | return ((crc >> 15) | (crc << 17)) + kMaskDelta; 34 | } 35 | 36 | // Return the crc whose masked representation is masked_crc. 37 | inline uint32_t Unmask(uint32_t masked_crc) { 38 | uint32_t rot = masked_crc - kMaskDelta; 39 | return ((rot >> 17) | (rot << 15)); 40 | } 41 | 42 | } // namespace crc32c 43 | } // namespace leveldb 44 | 45 | #endif // STORAGE_LEVELDB_UTIL_CRC32C_H_ 46 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/leveldb-library/util/crc32c_test.cc: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2011 The LevelDB Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style license that can be 3 | // found in the LICENSE file. See the AUTHORS file for names of contributors. 4 | 5 | #include "util/crc32c.h" 6 | #include "util/testharness.h" 7 | 8 | namespace leveldb { 9 | namespace crc32c { 10 | 11 | class CRC { }; 12 | 13 | TEST(CRC, StandardResults) { 14 | // From rfc3720 section B.4. 15 | char buf[32]; 16 | 17 | memset(buf, 0, sizeof(buf)); 18 | ASSERT_EQ(0x8a9136aa, Value(buf, sizeof(buf))); 19 | 20 | memset(buf, 0xff, sizeof(buf)); 21 | ASSERT_EQ(0x62a8ab43, Value(buf, sizeof(buf))); 22 | 23 | for (int i = 0; i < 32; i++) { 24 | buf[i] = i; 25 | } 26 | ASSERT_EQ(0x46dd794e, Value(buf, sizeof(buf))); 27 | 28 | for (int i = 0; i < 32; i++) { 29 | buf[i] = 31 - i; 30 | } 31 | ASSERT_EQ(0x113fdb5c, Value(buf, sizeof(buf))); 32 | 33 | unsigned char data[48] = { 34 | 0x01, 0xc0, 0x00, 0x00, 35 | 0x00, 0x00, 0x00, 0x00, 36 | 0x00, 0x00, 0x00, 0x00, 37 | 0x00, 0x00, 0x00, 0x00, 38 | 0x14, 0x00, 0x00, 0x00, 39 | 0x00, 0x00, 0x04, 0x00, 40 | 0x00, 0x00, 0x00, 0x14, 41 | 0x00, 0x00, 0x00, 0x18, 42 | 0x28, 0x00, 0x00, 0x00, 43 | 0x00, 0x00, 0x00, 0x00, 44 | 0x02, 0x00, 0x00, 0x00, 45 | 0x00, 0x00, 0x00, 0x00, 46 | }; 47 | ASSERT_EQ(0xd9963a56, Value(reinterpret_cast(data), sizeof(data))); 48 | } 49 | 50 | TEST(CRC, Values) { 51 | ASSERT_NE(Value("a", 1), Value("foo", 3)); 52 | } 53 | 54 | TEST(CRC, Extend) { 55 | ASSERT_EQ(Value("hello world", 11), 56 | Extend(Value("hello ", 6), "world", 5)); 57 | } 58 | 59 | TEST(CRC, Mask) { 60 | uint32_t crc = Value("foo", 3); 61 | ASSERT_NE(crc, Mask(crc)); 62 | ASSERT_NE(crc, Mask(Mask(crc))); 63 | ASSERT_EQ(crc, Unmask(Mask(crc))); 64 | ASSERT_EQ(crc, Unmask(Unmask(Mask(Mask(crc))))); 65 | } 66 | 67 | } // namespace crc32c 68 | } // namespace leveldb 69 | 70 | int main(int argc, char** argv) { 71 | return leveldb::test::RunAllTests(); 72 | } 73 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/leveldb-library/util/filter_policy.cc: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2012 The LevelDB Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style license that can be 3 | // found in the LICENSE file. See the AUTHORS file for names of contributors. 4 | 5 | #include "leveldb/filter_policy.h" 6 | 7 | namespace leveldb { 8 | 9 | FilterPolicy::~FilterPolicy() { } 10 | 11 | } // namespace leveldb 12 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/leveldb-library/util/hash.cc: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2011 The LevelDB Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style license that can be 3 | // found in the LICENSE file. See the AUTHORS file for names of contributors. 4 | 5 | #include 6 | #include "util/coding.h" 7 | #include "util/hash.h" 8 | 9 | // The FALLTHROUGH_INTENDED macro can be used to annotate implicit fall-through 10 | // between switch labels. The real definition should be provided externally. 11 | // This one is a fallback version for unsupported compilers. 12 | #ifndef FALLTHROUGH_INTENDED 13 | #define FALLTHROUGH_INTENDED do { } while (0) 14 | #endif 15 | 16 | namespace leveldb { 17 | 18 | uint32_t Hash(const char* data, size_t n, uint32_t seed) { 19 | // Similar to murmur hash 20 | const uint32_t m = 0xc6a4a793; 21 | const uint32_t r = 24; 22 | const char* limit = data + n; 23 | uint32_t h = seed ^ (n * m); 24 | 25 | // Pick up four bytes at a time 26 | while (data + 4 <= limit) { 27 | uint32_t w = DecodeFixed32(data); 28 | data += 4; 29 | h += w; 30 | h *= m; 31 | h ^= (h >> 16); 32 | } 33 | 34 | // Pick up remaining bytes 35 | switch (limit - data) { 36 | case 3: 37 | h += static_cast(data[2]) << 16; 38 | FALLTHROUGH_INTENDED; 39 | case 2: 40 | h += static_cast(data[1]) << 8; 41 | FALLTHROUGH_INTENDED; 42 | case 1: 43 | h += static_cast(data[0]); 44 | h *= m; 45 | h ^= (h >> r); 46 | break; 47 | } 48 | return h; 49 | } 50 | 51 | 52 | } // namespace leveldb 53 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/leveldb-library/util/hash.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2011 The LevelDB Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style license that can be 3 | // found in the LICENSE file. See the AUTHORS file for names of contributors. 4 | // 5 | // Simple hash function used for internal data structures 6 | 7 | #ifndef STORAGE_LEVELDB_UTIL_HASH_H_ 8 | #define STORAGE_LEVELDB_UTIL_HASH_H_ 9 | 10 | #include 11 | #include 12 | 13 | namespace leveldb { 14 | 15 | extern uint32_t Hash(const char* data, size_t n, uint32_t seed); 16 | 17 | } 18 | 19 | #endif // STORAGE_LEVELDB_UTIL_HASH_H_ 20 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/leveldb-library/util/hash_test.cc: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2011 The LevelDB Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style license that can be 3 | // found in the LICENSE file. See the AUTHORS file for names of contributors. 4 | 5 | #include "util/hash.h" 6 | #include "util/testharness.h" 7 | 8 | namespace leveldb { 9 | 10 | class HASH { }; 11 | 12 | TEST(HASH, SignedUnsignedIssue) { 13 | const unsigned char data1[1] = {0x62}; 14 | const unsigned char data2[2] = {0xc3, 0x97}; 15 | const unsigned char data3[3] = {0xe2, 0x99, 0xa5}; 16 | const unsigned char data4[4] = {0xe1, 0x80, 0xb9, 0x32}; 17 | const unsigned char data5[48] = { 18 | 0x01, 0xc0, 0x00, 0x00, 19 | 0x00, 0x00, 0x00, 0x00, 20 | 0x00, 0x00, 0x00, 0x00, 21 | 0x00, 0x00, 0x00, 0x00, 22 | 0x14, 0x00, 0x00, 0x00, 23 | 0x00, 0x00, 0x04, 0x00, 24 | 0x00, 0x00, 0x00, 0x14, 25 | 0x00, 0x00, 0x00, 0x18, 26 | 0x28, 0x00, 0x00, 0x00, 27 | 0x00, 0x00, 0x00, 0x00, 28 | 0x02, 0x00, 0x00, 0x00, 29 | 0x00, 0x00, 0x00, 0x00, 30 | }; 31 | 32 | ASSERT_EQ(Hash(0, 0, 0xbc9f1d34), 0xbc9f1d34); 33 | ASSERT_EQ( 34 | Hash(reinterpret_cast(data1), sizeof(data1), 0xbc9f1d34), 35 | 0xef1345c4); 36 | ASSERT_EQ( 37 | Hash(reinterpret_cast(data2), sizeof(data2), 0xbc9f1d34), 38 | 0x5b663814); 39 | ASSERT_EQ( 40 | Hash(reinterpret_cast(data3), sizeof(data3), 0xbc9f1d34), 41 | 0x323c078f); 42 | ASSERT_EQ( 43 | Hash(reinterpret_cast(data4), sizeof(data4), 0xbc9f1d34), 44 | 0xed21633a); 45 | ASSERT_EQ( 46 | Hash(reinterpret_cast(data5), sizeof(data5), 0x12345678), 47 | 0xf333dabb); 48 | } 49 | 50 | } // namespace leveldb 51 | 52 | int main(int argc, char** argv) { 53 | return leveldb::test::RunAllTests(); 54 | } 55 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/leveldb-library/util/histogram.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2011 The LevelDB Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style license that can be 3 | // found in the LICENSE file. See the AUTHORS file for names of contributors. 4 | 5 | #ifndef STORAGE_LEVELDB_UTIL_HISTOGRAM_H_ 6 | #define STORAGE_LEVELDB_UTIL_HISTOGRAM_H_ 7 | 8 | #include 9 | 10 | namespace leveldb { 11 | 12 | class Histogram { 13 | public: 14 | Histogram() { } 15 | ~Histogram() { } 16 | 17 | void Clear(); 18 | void Add(double value); 19 | void Merge(const Histogram& other); 20 | 21 | std::string ToString() const; 22 | 23 | private: 24 | double min_; 25 | double max_; 26 | double num_; 27 | double sum_; 28 | double sum_squares_; 29 | 30 | enum { kNumBuckets = 154 }; 31 | static const double kBucketLimit[kNumBuckets]; 32 | double buckets_[kNumBuckets]; 33 | 34 | double Median() const; 35 | double Percentile(double p) const; 36 | double Average() const; 37 | double StandardDeviation() const; 38 | }; 39 | 40 | } // namespace leveldb 41 | 42 | #endif // STORAGE_LEVELDB_UTIL_HISTOGRAM_H_ 43 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/leveldb-library/util/logging.cc: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2011 The LevelDB Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style license that can be 3 | // found in the LICENSE file. See the AUTHORS file for names of contributors. 4 | 5 | #include "util/logging.h" 6 | 7 | #include 8 | #include 9 | #include 10 | #include 11 | #include "leveldb/env.h" 12 | #include "leveldb/slice.h" 13 | 14 | namespace leveldb { 15 | 16 | void AppendNumberTo(std::string* str, uint64_t num) { 17 | char buf[30]; 18 | snprintf(buf, sizeof(buf), "%llu", (unsigned long long) num); 19 | str->append(buf); 20 | } 21 | 22 | void AppendEscapedStringTo(std::string* str, const Slice& value) { 23 | for (size_t i = 0; i < value.size(); i++) { 24 | char c = value[i]; 25 | if (c >= ' ' && c <= '~') { 26 | str->push_back(c); 27 | } else { 28 | char buf[10]; 29 | snprintf(buf, sizeof(buf), "\\x%02x", 30 | static_cast(c) & 0xff); 31 | str->append(buf); 32 | } 33 | } 34 | } 35 | 36 | std::string NumberToString(uint64_t num) { 37 | std::string r; 38 | AppendNumberTo(&r, num); 39 | return r; 40 | } 41 | 42 | std::string EscapeString(const Slice& value) { 43 | std::string r; 44 | AppendEscapedStringTo(&r, value); 45 | return r; 46 | } 47 | 48 | bool ConsumeDecimalNumber(Slice* in, uint64_t* val) { 49 | uint64_t v = 0; 50 | int digits = 0; 51 | while (!in->empty()) { 52 | char c = (*in)[0]; 53 | if (c >= '0' && c <= '9') { 54 | ++digits; 55 | const int delta = (c - '0'); 56 | static const uint64_t kMaxUint64 = ~static_cast(0); 57 | if (v > kMaxUint64/10 || 58 | (v == kMaxUint64/10 && delta > kMaxUint64%10)) { 59 | // Overflow 60 | return false; 61 | } 62 | v = (v * 10) + delta; 63 | in->remove_prefix(1); 64 | } else { 65 | break; 66 | } 67 | } 68 | *val = v; 69 | return (digits > 0); 70 | } 71 | 72 | } // namespace leveldb 73 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/leveldb-library/util/logging.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2011 The LevelDB Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style license that can be 3 | // found in the LICENSE file. See the AUTHORS file for names of contributors. 4 | // 5 | // Must not be included from any .h files to avoid polluting the namespace 6 | // with macros. 7 | 8 | #ifndef STORAGE_LEVELDB_UTIL_LOGGING_H_ 9 | #define STORAGE_LEVELDB_UTIL_LOGGING_H_ 10 | 11 | #include 12 | #include 13 | #include 14 | #include "port/port.h" 15 | 16 | namespace leveldb { 17 | 18 | class Slice; 19 | class WritableFile; 20 | 21 | // Append a human-readable printout of "num" to *str 22 | extern void AppendNumberTo(std::string* str, uint64_t num); 23 | 24 | // Append a human-readable printout of "value" to *str. 25 | // Escapes any non-printable characters found in "value". 26 | extern void AppendEscapedStringTo(std::string* str, const Slice& value); 27 | 28 | // Return a human-readable printout of "num" 29 | extern std::string NumberToString(uint64_t num); 30 | 31 | // Return a human-readable version of "value". 32 | // Escapes any non-printable characters found in "value". 33 | extern std::string EscapeString(const Slice& value); 34 | 35 | // Parse a human-readable number from "*in" into *value. On success, 36 | // advances "*in" past the consumed number and sets "*val" to the 37 | // numeric value. Otherwise, returns false and leaves *in in an 38 | // unspecified state. 39 | extern bool ConsumeDecimalNumber(Slice* in, uint64_t* val); 40 | 41 | } // namespace leveldb 42 | 43 | #endif // STORAGE_LEVELDB_UTIL_LOGGING_H_ 44 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/leveldb-library/util/mutexlock.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2011 The LevelDB Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style license that can be 3 | // found in the LICENSE file. See the AUTHORS file for names of contributors. 4 | 5 | #ifndef STORAGE_LEVELDB_UTIL_MUTEXLOCK_H_ 6 | #define STORAGE_LEVELDB_UTIL_MUTEXLOCK_H_ 7 | 8 | #include "port/port.h" 9 | #include "port/thread_annotations.h" 10 | 11 | namespace leveldb { 12 | 13 | // Helper class that locks a mutex on construction and unlocks the mutex when 14 | // the destructor of the MutexLock object is invoked. 15 | // 16 | // Typical usage: 17 | // 18 | // void MyClass::MyMethod() { 19 | // MutexLock l(&mu_); // mu_ is an instance variable 20 | // ... some complex code, possibly with multiple return paths ... 21 | // } 22 | 23 | class SCOPED_LOCKABLE MutexLock { 24 | public: 25 | explicit MutexLock(port::Mutex *mu) EXCLUSIVE_LOCK_FUNCTION(mu) 26 | : mu_(mu) { 27 | this->mu_->Lock(); 28 | } 29 | ~MutexLock() UNLOCK_FUNCTION() { this->mu_->Unlock(); } 30 | 31 | private: 32 | port::Mutex *const mu_; 33 | // No copying allowed 34 | MutexLock(const MutexLock&); 35 | void operator=(const MutexLock&); 36 | }; 37 | 38 | } // namespace leveldb 39 | 40 | 41 | #endif // STORAGE_LEVELDB_UTIL_MUTEXLOCK_H_ 42 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/leveldb-library/util/options.cc: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2011 The LevelDB Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style license that can be 3 | // found in the LICENSE file. See the AUTHORS file for names of contributors. 4 | 5 | #include "leveldb/options.h" 6 | 7 | #include "leveldb/comparator.h" 8 | #include "leveldb/env.h" 9 | 10 | namespace leveldb { 11 | 12 | Options::Options() 13 | : comparator(BytewiseComparator()), 14 | create_if_missing(false), 15 | error_if_exists(false), 16 | paranoid_checks(false), 17 | env(Env::Default()), 18 | info_log(NULL), 19 | write_buffer_size(4<<20), 20 | max_open_files(1000), 21 | block_cache(NULL), 22 | block_size(4096), 23 | block_restart_interval(16), 24 | compression(kSnappyCompression), 25 | filter_policy(NULL) { 26 | } 27 | 28 | 29 | } // namespace leveldb 30 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/leveldb-library/util/testharness.cc: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2011 The LevelDB Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style license that can be 3 | // found in the LICENSE file. See the AUTHORS file for names of contributors. 4 | 5 | #include "util/testharness.h" 6 | 7 | #include 8 | #include 9 | #include 10 | #include 11 | 12 | namespace leveldb { 13 | namespace test { 14 | 15 | namespace { 16 | struct Test { 17 | const char* base; 18 | const char* name; 19 | void (*func)(); 20 | }; 21 | std::vector* tests; 22 | } 23 | 24 | bool RegisterTest(const char* base, const char* name, void (*func)()) { 25 | if (tests == NULL) { 26 | tests = new std::vector; 27 | } 28 | Test t; 29 | t.base = base; 30 | t.name = name; 31 | t.func = func; 32 | tests->push_back(t); 33 | return true; 34 | } 35 | 36 | int RunAllTests() { 37 | const char* matcher = getenv("LEVELDB_TESTS"); 38 | 39 | int num = 0; 40 | if (tests != NULL) { 41 | for (size_t i = 0; i < tests->size(); i++) { 42 | const Test& t = (*tests)[i]; 43 | if (matcher != NULL) { 44 | std::string name = t.base; 45 | name.push_back('.'); 46 | name.append(t.name); 47 | if (strstr(name.c_str(), matcher) == NULL) { 48 | continue; 49 | } 50 | } 51 | fprintf(stderr, "==== Test %s.%s\n", t.base, t.name); 52 | (*t.func)(); 53 | ++num; 54 | } 55 | } 56 | fprintf(stderr, "==== PASSED %d tests\n", num); 57 | return 0; 58 | } 59 | 60 | std::string TmpDir() { 61 | std::string dir; 62 | Status s = Env::Default()->GetTestDirectory(&dir); 63 | ASSERT_TRUE(s.ok()) << s.ToString(); 64 | return dir; 65 | } 66 | 67 | int RandomSeed() { 68 | const char* env = getenv("TEST_RANDOM_SEED"); 69 | int result = (env != NULL ? atoi(env) : 301); 70 | if (result <= 0) { 71 | result = 301; 72 | } 73 | return result; 74 | } 75 | 76 | } // namespace test 77 | } // namespace leveldb 78 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/leveldb-library/util/testutil.cc: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2011 The LevelDB Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style license that can be 3 | // found in the LICENSE file. See the AUTHORS file for names of contributors. 4 | 5 | #include "util/testutil.h" 6 | 7 | #include "util/random.h" 8 | 9 | namespace leveldb { 10 | namespace test { 11 | 12 | Slice RandomString(Random* rnd, int len, std::string* dst) { 13 | dst->resize(len); 14 | for (int i = 0; i < len; i++) { 15 | (*dst)[i] = static_cast(' ' + rnd->Uniform(95)); // ' ' .. '~' 16 | } 17 | return Slice(*dst); 18 | } 19 | 20 | std::string RandomKey(Random* rnd, int len) { 21 | // Make sure to generate a wide variety of characters so we 22 | // test the boundary conditions for short-key optimizations. 23 | static const char kTestChars[] = { 24 | '\0', '\1', 'a', 'b', 'c', 'd', 'e', '\xfd', '\xfe', '\xff' 25 | }; 26 | std::string result; 27 | for (int i = 0; i < len; i++) { 28 | result += kTestChars[rnd->Uniform(sizeof(kTestChars))]; 29 | } 30 | return result; 31 | } 32 | 33 | 34 | extern Slice CompressibleString(Random* rnd, double compressed_fraction, 35 | size_t len, std::string* dst) { 36 | int raw = static_cast(len * compressed_fraction); 37 | if (raw < 1) raw = 1; 38 | std::string raw_data; 39 | RandomString(rnd, raw, &raw_data); 40 | 41 | // Duplicate the random data until we have filled "len" bytes 42 | dst->clear(); 43 | while (dst->size() < len) { 44 | dst->append(raw_data); 45 | } 46 | dst->resize(len); 47 | return Slice(*dst); 48 | } 49 | 50 | } // namespace test 51 | } // namespace leveldb 52 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/leveldb-library/util/testutil.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2011 The LevelDB Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style license that can be 3 | // found in the LICENSE file. See the AUTHORS file for names of contributors. 4 | 5 | #ifndef STORAGE_LEVELDB_UTIL_TESTUTIL_H_ 6 | #define STORAGE_LEVELDB_UTIL_TESTUTIL_H_ 7 | 8 | #include "leveldb/env.h" 9 | #include "leveldb/slice.h" 10 | #include "util/random.h" 11 | 12 | namespace leveldb { 13 | namespace test { 14 | 15 | // Store in *dst a random string of length "len" and return a Slice that 16 | // references the generated data. 17 | extern Slice RandomString(Random* rnd, int len, std::string* dst); 18 | 19 | // Return a random key with the specified length that may contain interesting 20 | // characters (e.g. \x00, \xff, etc.). 21 | extern std::string RandomKey(Random* rnd, int len); 22 | 23 | // Store in *dst a string of length "len" that will compress to 24 | // "N*compressed_fraction" bytes and return a Slice that references 25 | // the generated data. 26 | extern Slice CompressibleString(Random* rnd, double compressed_fraction, 27 | size_t len, std::string* dst); 28 | 29 | // A wrapper that allows injection of errors. 30 | class ErrorEnv : public EnvWrapper { 31 | public: 32 | bool writable_file_error_; 33 | int num_writable_file_errors_; 34 | 35 | ErrorEnv() : EnvWrapper(Env::Default()), 36 | writable_file_error_(false), 37 | num_writable_file_errors_(0) { } 38 | 39 | virtual Status NewWritableFile(const std::string& fname, 40 | WritableFile** result) { 41 | if (writable_file_error_) { 42 | ++num_writable_file_errors_; 43 | *result = NULL; 44 | return Status::IOError(fname, "fake error"); 45 | } 46 | return target()->NewWritableFile(fname, result); 47 | } 48 | }; 49 | 50 | } // namespace test 51 | } // namespace leveldb 52 | 53 | #endif // STORAGE_LEVELDB_UTIL_TESTUTIL_H_ 54 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/nanopb/LICENSE.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) 2011 Petteri Aimonen 2 | 3 | This software is provided 'as-is', without any express or 4 | implied warranty. In no event will the authors be held liable 5 | for any damages arising from the use of this software. 6 | 7 | Permission is granted to anyone to use this software for any 8 | purpose, including commercial applications, and to alter it and 9 | redistribute it freely, subject to the following restrictions: 10 | 11 | 1. The origin of this software must not be misrepresented; you 12 | must not claim that you wrote the original software. If you use 13 | this software in a product, an acknowledgment in the product 14 | documentation would be appreciated but is not required. 15 | 16 | 2. Altered source versions must be plainly marked as such, and 17 | must not be misrepresented as being the original software. 18 | 19 | 3. This notice may not be removed or altered from any source 20 | distribution. 21 | -------------------------------------------------------------------------------- /FacePass-iOS Source Code/Pods/nanopb/pb_common.h: -------------------------------------------------------------------------------- 1 | /* pb_common.h: Common support functions for pb_encode.c and pb_decode.c. 2 | * These functions are rarely needed by applications directly. 3 | */ 4 | 5 | #ifndef PB_COMMON_H_INCLUDED 6 | #define PB_COMMON_H_INCLUDED 7 | 8 | #include "pb.h" 9 | 10 | #ifdef __cplusplus 11 | extern "C" { 12 | #endif 13 | 14 | /* Iterator for pb_field_t list */ 15 | struct pb_field_iter_s { 16 | const pb_field_t *start; /* Start of the pb_field_t array */ 17 | const pb_field_t *pos; /* Current position of the iterator */ 18 | unsigned required_field_index; /* Zero-based index that counts only the required fields */ 19 | void *dest_struct; /* Pointer to start of the structure */ 20 | void *pData; /* Pointer to current field value */ 21 | void *pSize; /* Pointer to count/has field */ 22 | }; 23 | typedef struct pb_field_iter_s pb_field_iter_t; 24 | 25 | /* Initialize the field iterator structure to beginning. 26 | * Returns false if the message type is empty. */ 27 | bool pb_field_iter_begin(pb_field_iter_t *iter, const pb_field_t *fields, void *dest_struct); 28 | 29 | /* Advance the iterator to the next field. 30 | * Returns false when the iterator wraps back to the first field. */ 31 | bool pb_field_iter_next(pb_field_iter_t *iter); 32 | 33 | /* Advance the iterator until it points at a field with the given tag. 34 | * Returns false if no such field exists. */ 35 | bool pb_field_iter_find(pb_field_iter_t *iter, uint32_t tag); 36 | 37 | #ifdef __cplusplus 38 | } /* extern "C" */ 39 | #endif 40 | 41 | #endif 42 | 43 | --------------------------------------------------------------------------------