diff --git a/syMessaging/syMessaging.xcodeproj/project.pbxproj b/syMessaging/syMessaging.xcodeproj/project.pbxproj
index fcb023802..6a68751bd 100644
--- a/syMessaging/syMessaging.xcodeproj/project.pbxproj
+++ b/syMessaging/syMessaging.xcodeproj/project.pbxproj
@@ -1,1316 +1,562 @@
-
-
-
-
- archiveVersion
- 1
- classes
-
- objectVersion
- 46
- objects
-
- 1EB4F087B767553CED2DEABB
-
- explicitFileType
- archive.ar
- includeInIndex
- 0
- isa
- PBXFileReference
- path
- libPods-syMessaging.a
- sourceTree
- BUILT_PRODUCTS_DIR
-
- 3496B335A95D95AB2A8DCEF4
-
- buildActionMask
- 2147483647
- files
-
- inputPaths
-
- isa
- PBXShellScriptBuildPhase
- name
- Copy Pods Resources
- outputPaths
-
- runOnlyForDeploymentPostprocessing
- 0
- shellPath
- /bin/sh
- shellScript
- "${SRCROOT}/Pods/Target Support Files/Pods-syMessaging/Pods-syMessaging-resources.sh"
-
- showEnvVarsInLog
- 0
-
- 477412429E0ABA7BC78E9A48
-
- includeInIndex
- 1
- isa
- PBXFileReference
- lastKnownFileType
- text.xcconfig
- name
- Pods-syMessaging.debug.xcconfig
- path
- Pods/Target Support Files/Pods-syMessaging/Pods-syMessaging.debug.xcconfig
- sourceTree
- <group>
-
- A063750719371855C7755702
-
- buildActionMask
- 2147483647
- files
-
- inputPaths
-
- isa
- PBXShellScriptBuildPhase
- name
- Check Pods Manifest.lock
- outputPaths
-
- runOnlyForDeploymentPostprocessing
- 0
- shellPath
- /bin/sh
- shellScript
- diff "${PODS_ROOT}/../Podfile.lock" "${PODS_ROOT}/Manifest.lock" > /dev/null
-if [[ $? != 0 ]] ; then
- cat << EOM
-error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.
-EOM
- exit 1
-fi
-
- showEnvVarsInLog
- 0
-
- A2E42FBF1F066CD8150FDB2B
-
- includeInIndex
- 1
- isa
- PBXFileReference
- lastKnownFileType
- text.xcconfig
- name
- Pods-syMessaging.release.xcconfig
- path
- Pods/Target Support Files/Pods-syMessaging/Pods-syMessaging.release.xcconfig
- sourceTree
- <group>
-
- B18A10A9FB884DD357EBD414
-
- children
-
- 477412429E0ABA7BC78E9A48
- A2E42FBF1F066CD8150FDB2B
-
- isa
- PBXGroup
- name
- Pods
- sourceTree
- <group>
-
- B5BDF86A98AA08A193004CEC
-
- fileRef
- 1EB4F087B767553CED2DEABB
- isa
- PBXBuildFile
-
- EAA71E3C2B16D1D86B3F5100
-
- children
-
- 1EB4F087B767553CED2DEABB
-
- isa
- PBXGroup
- name
- Frameworks
- sourceTree
- <group>
-
- F01628B519E298710071C473
-
- children
-
- F01628BB19E29C660071C473
- F01628BC19E29C660071C473
- F01628BD19E29C660071C473
- F01628BE19E29C660071C473
- F01628BF19E29C660071C473
- F01628B619E298710071C473
-
- isa
- PBXGroup
- path
- Assets
- sourceTree
- <group>
-
- F01628B619E298710071C473
-
- isa
- PBXFileReference
- lastKnownFileType
- image.ico
- path
- home.ico
- sourceTree
- <group>
-
- F01628B719E298710071C473
-
- fileRef
- F01628B619E298710071C473
- isa
- PBXBuildFile
-
- F01628B819E29A270071C473
-
- fileEncoding
- 4
- isa
- PBXFileReference
- lastKnownFileType
- sourcecode.c.h
- path
- LoginViewController.h
- sourceTree
- <group>
-
- F01628B919E29A270071C473
-
- fileEncoding
- 4
- isa
- PBXFileReference
- lastKnownFileType
- sourcecode.c.objc
- path
- LoginViewController.m
- sourceTree
- <group>
-
- F01628BA19E29A270071C473
-
- fileRef
- F01628B919E29A270071C473
- isa
- PBXBuildFile
-
- F01628BB19E29C660071C473
-
- isa
- PBXFileReference
- lastKnownFileType
- image.png
- path
- close.png
- sourceTree
- <group>
-
- F01628BC19E29C660071C473
-
- isa
- PBXFileReference
- lastKnownFileType
- image.png
- path
- default-profile.png
- sourceTree
- <group>
-
- F01628BD19E29C660071C473
-
- isa
- PBXFileReference
- lastKnownFileType
- image.png
- path
- gradient.png
- sourceTree
- <group>
-
- F01628BE19E29C660071C473
-
- isa
- PBXFileReference
- lastKnownFileType
- image.png
- path
- logo.png
- sourceTree
- <group>
-
- F01628BF19E29C660071C473
-
- isa
- PBXFileReference
- lastKnownFileType
- image.png
- path
- logo@2x.png
- sourceTree
- <group>
-
- F01628C019E29C660071C473
-
- fileRef
- F01628BB19E29C660071C473
- isa
- PBXBuildFile
-
- F01628C119E29C660071C473
-
- fileRef
- F01628BC19E29C660071C473
- isa
- PBXBuildFile
-
- F01628C219E29C660071C473
-
- fileRef
- F01628BD19E29C660071C473
- isa
- PBXBuildFile
-
- F01628C319E29C660071C473
-
- fileRef
- F01628BE19E29C660071C473
- isa
- PBXBuildFile
-
- F01628C419E29C660071C473
-
- fileRef
- F01628BF19E29C660071C473
- isa
- PBXBuildFile
-
- F05B955119DEDCD9008761B0
-
- fileEncoding
- 4
- isa
- PBXFileReference
- lastKnownFileType
- sourcecode.c.h
- path
- HomeViewController.h
- sourceTree
- <group>
-
- F05B955219DEDCD9008761B0
-
- fileEncoding
- 4
- isa
- PBXFileReference
- lastKnownFileType
- sourcecode.c.objc
- path
- HomeViewController.m
- sourceTree
- <group>
-
- F05B955319DEDCD9008761B0
-
- fileEncoding
- 4
- isa
- PBXFileReference
- lastKnownFileType
- sourcecode.c.h
- path
- RecentsViewController.h
- sourceTree
- <group>
-
- F05B955419DEDCD9008761B0
-
- fileEncoding
- 4
- isa
- PBXFileReference
- lastKnownFileType
- sourcecode.c.objc
- path
- RecentsViewController.m
- sourceTree
- <group>
-
- F05B955519DEDCD9008761B0
-
- fileEncoding
- 4
- isa
- PBXFileReference
- lastKnownFileType
- sourcecode.c.h
- path
- RoomViewController.h
- sourceTree
- <group>
-
- F05B955619DEDCD9008761B0
-
- fileEncoding
- 4
- isa
- PBXFileReference
- lastKnownFileType
- sourcecode.c.objc
- path
- RoomViewController.m
- sourceTree
- <group>
-
- F05B955719DEDCD9008761B0
-
- fileEncoding
- 4
- isa
- PBXFileReference
- lastKnownFileType
- sourcecode.c.h
- path
- SettingsViewController.h
- sourceTree
- <group>
-
- F05B955819DEDCD9008761B0
-
- fileEncoding
- 4
- isa
- PBXFileReference
- lastKnownFileType
- sourcecode.c.objc
- path
- SettingsViewController.m
- sourceTree
- <group>
-
- F05B955919DEDCD9008761B0
-
- fileRef
- F05B955219DEDCD9008761B0
- isa
- PBXBuildFile
-
- F05B955A19DEDCD9008761B0
-
- fileRef
- F05B955419DEDCD9008761B0
- isa
- PBXBuildFile
-
- F05B955B19DEDCD9008761B0
-
- fileRef
- F05B955619DEDCD9008761B0
- isa
- PBXBuildFile
-
- F05B955C19DEDCD9008761B0
-
- fileRef
- F05B955819DEDCD9008761B0
- isa
- PBXBuildFile
-
- F05B955D19DEED8A008761B0
-
- fileEncoding
- 4
- isa
- PBXFileReference
- lastKnownFileType
- sourcecode.c.h
- path
- MatrixHandler.h
- sourceTree
- <group>
-
- F05B955E19DEED8A008761B0
-
- fileEncoding
- 4
- isa
- PBXFileReference
- lastKnownFileType
- sourcecode.c.objc
- path
- MatrixHandler.m
- sourceTree
- <group>
-
- F05B955F19DEED8A008761B0
-
- fileRef
- F05B955E19DEED8A008761B0
- isa
- PBXBuildFile
-
- F072761619E54AB100CA306E
-
- fileEncoding
- 4
- isa
- PBXFileReference
- lastKnownFileType
- sourcecode.c.h
- path
- MasterViewController.h
- sourceTree
- <group>
-
- F072761719E54AB100CA306E
-
- fileEncoding
- 4
- isa
- PBXFileReference
- lastKnownFileType
- sourcecode.c.objc
- path
- MasterViewController.m
- sourceTree
- <group>
-
- F072761819E54AB100CA306E
-
- fileRef
- F072761719E54AB100CA306E
- isa
- PBXBuildFile
-
- F07A80C919DD9DE700B621A1
-
- children
-
- F07A80D419DD9DE700B621A1
- F07A80F119DD9DE700B621A1
- F07A80D319DD9DE700B621A1
- B18A10A9FB884DD357EBD414
- EAA71E3C2B16D1D86B3F5100
-
- isa
- PBXGroup
- sourceTree
- <group>
-
- F07A80CA19DD9DE700B621A1
-
- attributes
-
- LastUpgradeCheck
- 0600
- ORGANIZATIONNAME
- matrix.org
- TargetAttributes
-
- F07A80D119DD9DE700B621A1
-
- CreatedOnToolsVersion
- 6.0
-
- F07A80ED19DD9DE700B621A1
-
- CreatedOnToolsVersion
- 6.0
- TestTargetID
- F07A80D119DD9DE700B621A1
-
-
-
- buildConfigurationList
- F07A80CD19DD9DE700B621A1
- compatibilityVersion
- Xcode 3.2
- developmentRegion
- English
- hasScannedForEncodings
- 0
- isa
- PBXProject
- knownRegions
-
- en
- Base
-
- mainGroup
- F07A80C919DD9DE700B621A1
- productRefGroup
- F07A80D319DD9DE700B621A1
- projectDirPath
-
- projectReferences
-
- projectRoot
-
- targets
-
- F07A80D119DD9DE700B621A1
- F07A80ED19DD9DE700B621A1
-
-
- F07A80CD19DD9DE700B621A1
-
- buildConfigurations
-
- F07A80F619DD9DE700B621A1
- F07A80F719DD9DE700B621A1
-
- defaultConfigurationIsVisible
- 0
- defaultConfigurationName
- Release
- isa
- XCConfigurationList
-
- F07A80CE19DD9DE700B621A1
-
- buildActionMask
- 2147483647
- files
-
- F01628BA19E29A270071C473
- F05B955A19DEDCD9008761B0
- F05B955B19DEDCD9008761B0
- F07A80DB19DD9DE700B621A1
- F07A80D819DD9DE700B621A1
- F05B955919DEDCD9008761B0
- F05B955F19DEED8A008761B0
- F072761819E54AB100CA306E
- F05B955C19DEDCD9008761B0
-
- isa
- PBXSourcesBuildPhase
- runOnlyForDeploymentPostprocessing
- 0
-
- F07A80CF19DD9DE700B621A1
-
- buildActionMask
- 2147483647
- files
-
- B5BDF86A98AA08A193004CEC
-
- isa
- PBXFrameworksBuildPhase
- runOnlyForDeploymentPostprocessing
- 0
-
- F07A80D019DD9DE700B621A1
-
- buildActionMask
- 2147483647
- files
-
- F07A80E419DD9DE700B621A1
- F07A80E919DD9DE700B621A1
- F01628B719E298710071C473
- F01628C219E29C660071C473
- F01628C319E29C660071C473
- F01628C119E29C660071C473
- F01628C019E29C660071C473
- F01628C419E29C660071C473
- F07A80E619DD9DE700B621A1
-
- isa
- PBXResourcesBuildPhase
- runOnlyForDeploymentPostprocessing
- 0
-
- F07A80D119DD9DE700B621A1
-
- buildConfigurationList
- F07A80F819DD9DE700B621A1
- buildPhases
-
- A063750719371855C7755702
- F07A80CE19DD9DE700B621A1
- F07A80CF19DD9DE700B621A1
- F07A80D019DD9DE700B621A1
- 3496B335A95D95AB2A8DCEF4
-
- buildRules
-
- dependencies
-
- isa
- PBXNativeTarget
- name
- syMessaging
- productName
- syMessaging
- productReference
- F07A80D219DD9DE700B621A1
- productType
- com.apple.product-type.application
-
- F07A80D219DD9DE700B621A1
-
- explicitFileType
- wrapper.application
- includeInIndex
- 0
- isa
- PBXFileReference
- path
- syMessaging.app
- sourceTree
- BUILT_PRODUCTS_DIR
-
- F07A80D319DD9DE700B621A1
-
- children
-
- F07A80D219DD9DE700B621A1
- F07A80EE19DD9DE700B621A1
-
- isa
- PBXGroup
- name
- Products
- sourceTree
- <group>
-
- F07A80D419DD9DE700B621A1
-
- children
-
- F07A80D919DD9DE700B621A1
- F07A80DA19DD9DE700B621A1
- F05B955119DEDCD9008761B0
- F05B955219DEDCD9008761B0
- F01628B819E29A270071C473
- F01628B919E29A270071C473
- F072761619E54AB100CA306E
- F072761719E54AB100CA306E
- F05B955D19DEED8A008761B0
- F05B955E19DEED8A008761B0
- F05B955319DEDCD9008761B0
- F05B955419DEDCD9008761B0
- F05B955519DEDCD9008761B0
- F05B955619DEDCD9008761B0
- F05B955719DEDCD9008761B0
- F05B955819DEDCD9008761B0
- F07A80E219DD9DE700B621A1
- F07A80E519DD9DE700B621A1
- F07A80E719DD9DE700B621A1
- F01628B519E298710071C473
- F07A80D519DD9DE700B621A1
-
- isa
- PBXGroup
- path
- syMessaging
- sourceTree
- <group>
-
- F07A80D519DD9DE700B621A1
-
- children
-
- F07A80D619DD9DE700B621A1
- F07A80D719DD9DE700B621A1
-
- isa
- PBXGroup
- name
- Supporting Files
- sourceTree
- <group>
-
- F07A80D619DD9DE700B621A1
-
- isa
- PBXFileReference
- lastKnownFileType
- text.plist.xml
- path
- Info.plist
- sourceTree
- <group>
-
- F07A80D719DD9DE700B621A1
-
- isa
- PBXFileReference
- lastKnownFileType
- sourcecode.c.objc
- path
- main.m
- sourceTree
- <group>
-
- F07A80D819DD9DE700B621A1
-
- fileRef
- F07A80D719DD9DE700B621A1
- isa
- PBXBuildFile
-
- F07A80D919DD9DE700B621A1
-
- isa
- PBXFileReference
- lastKnownFileType
- sourcecode.c.h
- path
- AppDelegate.h
- sourceTree
- <group>
-
- F07A80DA19DD9DE700B621A1
-
- isa
- PBXFileReference
- lastKnownFileType
- sourcecode.c.objc
- path
- AppDelegate.m
- sourceTree
- <group>
-
- F07A80DB19DD9DE700B621A1
-
- fileRef
- F07A80DA19DD9DE700B621A1
- isa
- PBXBuildFile
-
- F07A80E219DD9DE700B621A1
-
- children
-
- F07A80E319DD9DE700B621A1
-
- isa
- PBXVariantGroup
- name
- Main.storyboard
- sourceTree
- <group>
-
- F07A80E319DD9DE700B621A1
-
- isa
- PBXFileReference
- lastKnownFileType
- file.storyboard
- name
- Base
- path
- Base.lproj/Main.storyboard
- sourceTree
- <group>
-
- F07A80E419DD9DE700B621A1
-
- fileRef
- F07A80E219DD9DE700B621A1
- isa
- PBXBuildFile
-
- F07A80E519DD9DE700B621A1
-
- isa
- PBXFileReference
- lastKnownFileType
- folder.assetcatalog
- path
- Images.xcassets
- sourceTree
- <group>
-
- F07A80E619DD9DE700B621A1
-
- fileRef
- F07A80E519DD9DE700B621A1
- isa
- PBXBuildFile
-
- F07A80E719DD9DE700B621A1
-
- children
-
- F07A80E819DD9DE700B621A1
-
- isa
- PBXVariantGroup
- name
- LaunchScreen.xib
- sourceTree
- <group>
-
- F07A80E819DD9DE700B621A1
-
- isa
- PBXFileReference
- lastKnownFileType
- file.xib
- name
- Base
- path
- Base.lproj/LaunchScreen.xib
- sourceTree
- <group>
-
- F07A80E919DD9DE700B621A1
-
- fileRef
- F07A80E719DD9DE700B621A1
- isa
- PBXBuildFile
-
- F07A80EA19DD9DE700B621A1
-
- buildActionMask
- 2147483647
- files
-
- F07A80F519DD9DE700B621A1
-
- isa
- PBXSourcesBuildPhase
- runOnlyForDeploymentPostprocessing
- 0
-
- F07A80EB19DD9DE700B621A1
-
- buildActionMask
- 2147483647
- files
-
- isa
- PBXFrameworksBuildPhase
- runOnlyForDeploymentPostprocessing
- 0
-
- F07A80EC19DD9DE700B621A1
-
- buildActionMask
- 2147483647
- files
-
- isa
- PBXResourcesBuildPhase
- runOnlyForDeploymentPostprocessing
- 0
-
- F07A80ED19DD9DE700B621A1
-
- buildConfigurationList
- F07A80FB19DD9DE700B621A1
- buildPhases
-
- F07A80EA19DD9DE700B621A1
- F07A80EB19DD9DE700B621A1
- F07A80EC19DD9DE700B621A1
-
- buildRules
-
- dependencies
-
- F07A80F019DD9DE700B621A1
-
- isa
- PBXNativeTarget
- name
- syMessagingTests
- productName
- syMessagingTests
- productReference
- F07A80EE19DD9DE700B621A1
- productType
- com.apple.product-type.bundle.unit-test
-
- F07A80EE19DD9DE700B621A1
-
- explicitFileType
- wrapper.cfbundle
- includeInIndex
- 0
- isa
- PBXFileReference
- path
- syMessagingTests.xctest
- sourceTree
- BUILT_PRODUCTS_DIR
-
- F07A80EF19DD9DE700B621A1
-
- containerPortal
- F07A80CA19DD9DE700B621A1
- isa
- PBXContainerItemProxy
- proxyType
- 1
- remoteGlobalIDString
- F07A80D119DD9DE700B621A1
- remoteInfo
- syMessaging
-
- F07A80F019DD9DE700B621A1
-
- isa
- PBXTargetDependency
- target
- F07A80D119DD9DE700B621A1
- targetProxy
- F07A80EF19DD9DE700B621A1
-
- F07A80F119DD9DE700B621A1
-
- children
-
- F07A80F419DD9DE700B621A1
- F07A80F219DD9DE700B621A1
-
- isa
- PBXGroup
- path
- syMessagingTests
- sourceTree
- <group>
-
- F07A80F219DD9DE700B621A1
-
- children
-
- F07A80F319DD9DE700B621A1
-
- isa
- PBXGroup
- name
- Supporting Files
- sourceTree
- <group>
-
- F07A80F319DD9DE700B621A1
-
- isa
- PBXFileReference
- lastKnownFileType
- text.plist.xml
- path
- Info.plist
- sourceTree
- <group>
-
- F07A80F419DD9DE700B621A1
-
- isa
- PBXFileReference
- lastKnownFileType
- sourcecode.c.objc
- path
- syMessagingTests.m
- sourceTree
- <group>
-
- F07A80F519DD9DE700B621A1
-
- fileRef
- F07A80F419DD9DE700B621A1
- isa
- PBXBuildFile
-
- F07A80F619DD9DE700B621A1
-
- buildSettings
-
- ALWAYS_SEARCH_USER_PATHS
- NO
- CLANG_CXX_LANGUAGE_STANDARD
- gnu++0x
- CLANG_CXX_LIBRARY
- libc++
- CLANG_ENABLE_MODULES
- YES
- CLANG_ENABLE_OBJC_ARC
- YES
- CLANG_WARN_BOOL_CONVERSION
- YES
- CLANG_WARN_CONSTANT_CONVERSION
- YES
- CLANG_WARN_DIRECT_OBJC_ISA_USAGE
- YES_ERROR
- CLANG_WARN_EMPTY_BODY
- YES
- CLANG_WARN_ENUM_CONVERSION
- YES
- CLANG_WARN_INT_CONVERSION
- YES
- CLANG_WARN_OBJC_ROOT_CLASS
- YES_ERROR
- CLANG_WARN_UNREACHABLE_CODE
- YES
- CLANG_WARN__DUPLICATE_METHOD_MATCH
- YES
- CODE_SIGN_IDENTITY[sdk=iphoneos*]
- iPhone Developer
- COPY_PHASE_STRIP
- NO
- ENABLE_STRICT_OBJC_MSGSEND
- YES
- GCC_C_LANGUAGE_STANDARD
- gnu99
- GCC_DYNAMIC_NO_PIC
- NO
- GCC_OPTIMIZATION_LEVEL
- 0
- GCC_PREPROCESSOR_DEFINITIONS
-
- DEBUG=1
- $(inherited)
-
- GCC_SYMBOLS_PRIVATE_EXTERN
- NO
- GCC_WARN_64_TO_32_BIT_CONVERSION
- YES
- GCC_WARN_ABOUT_RETURN_TYPE
- YES_ERROR
- GCC_WARN_UNDECLARED_SELECTOR
- YES
- GCC_WARN_UNINITIALIZED_AUTOS
- YES_AGGRESSIVE
- GCC_WARN_UNUSED_FUNCTION
- YES
- GCC_WARN_UNUSED_VARIABLE
- YES
- IPHONEOS_DEPLOYMENT_TARGET
- 8.0
- MTL_ENABLE_DEBUG_INFO
- YES
- ONLY_ACTIVE_ARCH
- YES
- SDKROOT
- iphoneos
- TARGETED_DEVICE_FAMILY
- 1,2
-
- isa
- XCBuildConfiguration
- name
- Debug
-
- F07A80F719DD9DE700B621A1
-
- buildSettings
-
- ALWAYS_SEARCH_USER_PATHS
- NO
- CLANG_CXX_LANGUAGE_STANDARD
- gnu++0x
- CLANG_CXX_LIBRARY
- libc++
- CLANG_ENABLE_MODULES
- YES
- CLANG_ENABLE_OBJC_ARC
- YES
- CLANG_WARN_BOOL_CONVERSION
- YES
- CLANG_WARN_CONSTANT_CONVERSION
- YES
- CLANG_WARN_DIRECT_OBJC_ISA_USAGE
- YES_ERROR
- CLANG_WARN_EMPTY_BODY
- YES
- CLANG_WARN_ENUM_CONVERSION
- YES
- CLANG_WARN_INT_CONVERSION
- YES
- CLANG_WARN_OBJC_ROOT_CLASS
- YES_ERROR
- CLANG_WARN_UNREACHABLE_CODE
- YES
- CLANG_WARN__DUPLICATE_METHOD_MATCH
- YES
- CODE_SIGN_IDENTITY[sdk=iphoneos*]
- iPhone Developer
- COPY_PHASE_STRIP
- YES
- ENABLE_NS_ASSERTIONS
- NO
- ENABLE_STRICT_OBJC_MSGSEND
- YES
- GCC_C_LANGUAGE_STANDARD
- gnu99
- GCC_WARN_64_TO_32_BIT_CONVERSION
- YES
- GCC_WARN_ABOUT_RETURN_TYPE
- YES_ERROR
- GCC_WARN_UNDECLARED_SELECTOR
- YES
- GCC_WARN_UNINITIALIZED_AUTOS
- YES_AGGRESSIVE
- GCC_WARN_UNUSED_FUNCTION
- YES
- GCC_WARN_UNUSED_VARIABLE
- YES
- IPHONEOS_DEPLOYMENT_TARGET
- 8.0
- MTL_ENABLE_DEBUG_INFO
- NO
- SDKROOT
- iphoneos
- TARGETED_DEVICE_FAMILY
- 1,2
- VALIDATE_PRODUCT
- YES
-
- isa
- XCBuildConfiguration
- name
- Release
-
- F07A80F819DD9DE700B621A1
-
- buildConfigurations
-
- F07A80F919DD9DE700B621A1
- F07A80FA19DD9DE700B621A1
-
- defaultConfigurationIsVisible
- 0
- defaultConfigurationName
- Release
- isa
- XCConfigurationList
-
- F07A80F919DD9DE700B621A1
-
- baseConfigurationReference
- 477412429E0ABA7BC78E9A48
- buildSettings
-
- ASSETCATALOG_COMPILER_APPICON_NAME
- AppIcon
- INFOPLIST_FILE
- syMessaging/Info.plist
- IPHONEOS_DEPLOYMENT_TARGET
- 6.0
- LD_RUNPATH_SEARCH_PATHS
- $(inherited) @executable_path/Frameworks
- PRODUCT_NAME
- $(TARGET_NAME)
-
- isa
- XCBuildConfiguration
- name
- Debug
-
- F07A80FA19DD9DE700B621A1
-
- baseConfigurationReference
- A2E42FBF1F066CD8150FDB2B
- buildSettings
-
- ASSETCATALOG_COMPILER_APPICON_NAME
- AppIcon
- INFOPLIST_FILE
- syMessaging/Info.plist
- IPHONEOS_DEPLOYMENT_TARGET
- 6.0
- LD_RUNPATH_SEARCH_PATHS
- $(inherited) @executable_path/Frameworks
- PRODUCT_NAME
- $(TARGET_NAME)
-
- isa
- XCBuildConfiguration
- name
- Release
-
- F07A80FB19DD9DE700B621A1
-
- buildConfigurations
-
- F07A80FC19DD9DE700B621A1
- F07A80FD19DD9DE700B621A1
-
- defaultConfigurationIsVisible
- 0
- defaultConfigurationName
- Release
- isa
- XCConfigurationList
-
- F07A80FC19DD9DE700B621A1
-
- buildSettings
-
- BUNDLE_LOADER
- $(TEST_HOST)
- FRAMEWORK_SEARCH_PATHS
-
- $(SDKROOT)/Developer/Library/Frameworks
- $(inherited)
-
- GCC_PREPROCESSOR_DEFINITIONS
-
- DEBUG=1
- $(inherited)
-
- INFOPLIST_FILE
- syMessagingTests/Info.plist
- LD_RUNPATH_SEARCH_PATHS
- $(inherited) @executable_path/Frameworks @loader_path/Frameworks
- PRODUCT_NAME
- $(TARGET_NAME)
- TEST_HOST
- $(BUILT_PRODUCTS_DIR)/syMessaging.app/syMessaging
-
- isa
- XCBuildConfiguration
- name
- Debug
-
- F07A80FD19DD9DE700B621A1
-
- buildSettings
-
- BUNDLE_LOADER
- $(TEST_HOST)
- FRAMEWORK_SEARCH_PATHS
-
- $(SDKROOT)/Developer/Library/Frameworks
- $(inherited)
-
- INFOPLIST_FILE
- syMessagingTests/Info.plist
- LD_RUNPATH_SEARCH_PATHS
- $(inherited) @executable_path/Frameworks @loader_path/Frameworks
- PRODUCT_NAME
- $(TARGET_NAME)
- TEST_HOST
- $(BUILT_PRODUCTS_DIR)/syMessaging.app/syMessaging
-
- isa
- XCBuildConfiguration
- name
- Release
-
-
- rootObject
- F07A80CA19DD9DE700B621A1
-
-
+// !$*UTF8*$!
+{
+ archiveVersion = 1;
+ classes = {
+ };
+ objectVersion = 46;
+ objects = {
+
+/* Begin PBXBuildFile section */
+ B5BDF86A98AA08A193004CEC /* libPods-syMessaging.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1EB4F087B767553CED2DEABB /* libPods-syMessaging.a */; };
+ F01628B719E298710071C473 /* home.ico in Resources */ = {isa = PBXBuildFile; fileRef = F01628B619E298710071C473 /* home.ico */; };
+ F01628BA19E29A270071C473 /* LoginViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = F01628B919E29A270071C473 /* LoginViewController.m */; };
+ F01628C019E29C660071C473 /* close.png in Resources */ = {isa = PBXBuildFile; fileRef = F01628BB19E29C660071C473 /* close.png */; };
+ F01628C119E29C660071C473 /* default-profile.png in Resources */ = {isa = PBXBuildFile; fileRef = F01628BC19E29C660071C473 /* default-profile.png */; };
+ F01628C219E29C660071C473 /* gradient.png in Resources */ = {isa = PBXBuildFile; fileRef = F01628BD19E29C660071C473 /* gradient.png */; };
+ F01628C319E29C660071C473 /* logo.png in Resources */ = {isa = PBXBuildFile; fileRef = F01628BE19E29C660071C473 /* logo.png */; };
+ F01628C419E29C660071C473 /* logo@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = F01628BF19E29C660071C473 /* logo@2x.png */; };
+ F05B955919DEDCD9008761B0 /* HomeViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = F05B955219DEDCD9008761B0 /* HomeViewController.m */; };
+ F05B955A19DEDCD9008761B0 /* RecentsViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = F05B955419DEDCD9008761B0 /* RecentsViewController.m */; };
+ F05B955B19DEDCD9008761B0 /* RoomViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = F05B955619DEDCD9008761B0 /* RoomViewController.m */; };
+ F05B955C19DEDCD9008761B0 /* SettingsViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = F05B955819DEDCD9008761B0 /* SettingsViewController.m */; };
+ F05B955F19DEED8A008761B0 /* MatrixHandler.m in Sources */ = {isa = PBXBuildFile; fileRef = F05B955E19DEED8A008761B0 /* MatrixHandler.m */; };
+ F072761819E54AB100CA306E /* MasterTabBarController.m in Sources */ = {isa = PBXBuildFile; fileRef = F072761719E54AB100CA306E /* MasterTabBarController.m */; };
+ F07A80D819DD9DE700B621A1 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = F07A80D719DD9DE700B621A1 /* main.m */; };
+ F07A80DB19DD9DE700B621A1 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = F07A80DA19DD9DE700B621A1 /* AppDelegate.m */; };
+ F07A80E419DD9DE700B621A1 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = F07A80E219DD9DE700B621A1 /* Main.storyboard */; };
+ F07A80E619DD9DE700B621A1 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = F07A80E519DD9DE700B621A1 /* Images.xcassets */; };
+ F07A80E919DD9DE700B621A1 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = F07A80E719DD9DE700B621A1 /* LaunchScreen.xib */; };
+ F07A80F519DD9DE700B621A1 /* syMessagingTests.m in Sources */ = {isa = PBXBuildFile; fileRef = F07A80F419DD9DE700B621A1 /* syMessagingTests.m */; };
+/* End PBXBuildFile section */
+
+/* Begin PBXContainerItemProxy section */
+ F07A80EF19DD9DE700B621A1 /* PBXContainerItemProxy */ = {
+ isa = PBXContainerItemProxy;
+ containerPortal = F07A80CA19DD9DE700B621A1 /* Project object */;
+ proxyType = 1;
+ remoteGlobalIDString = F07A80D119DD9DE700B621A1;
+ remoteInfo = syMessaging;
+ };
+/* End PBXContainerItemProxy section */
+
+/* Begin PBXFileReference section */
+ 1EB4F087B767553CED2DEABB /* libPods-syMessaging.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-syMessaging.a"; sourceTree = BUILT_PRODUCTS_DIR; };
+ 477412429E0ABA7BC78E9A48 /* Pods-syMessaging.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-syMessaging.debug.xcconfig"; path = "Pods/Target Support Files/Pods-syMessaging/Pods-syMessaging.debug.xcconfig"; sourceTree = ""; };
+ A2E42FBF1F066CD8150FDB2B /* Pods-syMessaging.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-syMessaging.release.xcconfig"; path = "Pods/Target Support Files/Pods-syMessaging/Pods-syMessaging.release.xcconfig"; sourceTree = ""; };
+ F01628B619E298710071C473 /* home.ico */ = {isa = PBXFileReference; lastKnownFileType = image.ico; path = home.ico; sourceTree = ""; };
+ F01628B819E29A270071C473 /* LoginViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = LoginViewController.h; sourceTree = ""; };
+ F01628B919E29A270071C473 /* LoginViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = LoginViewController.m; sourceTree = ""; };
+ F01628BB19E29C660071C473 /* close.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = close.png; sourceTree = ""; };
+ F01628BC19E29C660071C473 /* default-profile.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "default-profile.png"; sourceTree = ""; };
+ F01628BD19E29C660071C473 /* gradient.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = gradient.png; sourceTree = ""; };
+ F01628BE19E29C660071C473 /* logo.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = logo.png; sourceTree = ""; };
+ F01628BF19E29C660071C473 /* logo@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "logo@2x.png"; sourceTree = ""; };
+ F05B955119DEDCD9008761B0 /* HomeViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = HomeViewController.h; sourceTree = ""; };
+ F05B955219DEDCD9008761B0 /* HomeViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = HomeViewController.m; sourceTree = ""; };
+ F05B955319DEDCD9008761B0 /* RecentsViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RecentsViewController.h; sourceTree = ""; };
+ F05B955419DEDCD9008761B0 /* RecentsViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RecentsViewController.m; sourceTree = ""; };
+ F05B955519DEDCD9008761B0 /* RoomViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RoomViewController.h; sourceTree = ""; };
+ F05B955619DEDCD9008761B0 /* RoomViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RoomViewController.m; sourceTree = ""; };
+ F05B955719DEDCD9008761B0 /* SettingsViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SettingsViewController.h; sourceTree = ""; };
+ F05B955819DEDCD9008761B0 /* SettingsViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SettingsViewController.m; sourceTree = ""; };
+ F05B955D19DEED8A008761B0 /* MatrixHandler.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MatrixHandler.h; sourceTree = ""; };
+ F05B955E19DEED8A008761B0 /* MatrixHandler.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MatrixHandler.m; sourceTree = ""; };
+ F072761619E54AB100CA306E /* MasterTabBarController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MasterTabBarController.h; sourceTree = ""; };
+ F072761719E54AB100CA306E /* MasterTabBarController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MasterTabBarController.m; sourceTree = ""; };
+ F07A80D219DD9DE700B621A1 /* syMessaging.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = syMessaging.app; sourceTree = BUILT_PRODUCTS_DIR; };
+ F07A80D619DD9DE700B621A1 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
+ F07A80D719DD9DE700B621A1 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; };
+ F07A80D919DD9DE700B621A1 /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; };
+ F07A80DA19DD9DE700B621A1 /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; };
+ F07A80E319DD9DE700B621A1 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; };
+ F07A80E519DD9DE700B621A1 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; };
+ F07A80E819DD9DE700B621A1 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; };
+ F07A80EE19DD9DE700B621A1 /* syMessagingTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = syMessagingTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
+ F07A80F319DD9DE700B621A1 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
+ F07A80F419DD9DE700B621A1 /* syMessagingTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = syMessagingTests.m; sourceTree = ""; };
+/* End PBXFileReference section */
+
+/* Begin PBXFrameworksBuildPhase section */
+ F07A80CF19DD9DE700B621A1 /* Frameworks */ = {
+ isa = PBXFrameworksBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ B5BDF86A98AA08A193004CEC /* libPods-syMessaging.a in Frameworks */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+ F07A80EB19DD9DE700B621A1 /* Frameworks */ = {
+ isa = PBXFrameworksBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXFrameworksBuildPhase section */
+
+/* Begin PBXGroup section */
+ B18A10A9FB884DD357EBD414 /* Pods */ = {
+ isa = PBXGroup;
+ children = (
+ 477412429E0ABA7BC78E9A48 /* Pods-syMessaging.debug.xcconfig */,
+ A2E42FBF1F066CD8150FDB2B /* Pods-syMessaging.release.xcconfig */,
+ );
+ name = Pods;
+ sourceTree = "";
+ };
+ EAA71E3C2B16D1D86B3F5100 /* Frameworks */ = {
+ isa = PBXGroup;
+ children = (
+ 1EB4F087B767553CED2DEABB /* libPods-syMessaging.a */,
+ );
+ name = Frameworks;
+ sourceTree = "";
+ };
+ F01628B519E298710071C473 /* Assets */ = {
+ isa = PBXGroup;
+ children = (
+ F01628BB19E29C660071C473 /* close.png */,
+ F01628BC19E29C660071C473 /* default-profile.png */,
+ F01628BD19E29C660071C473 /* gradient.png */,
+ F01628BE19E29C660071C473 /* logo.png */,
+ F01628BF19E29C660071C473 /* logo@2x.png */,
+ F01628B619E298710071C473 /* home.ico */,
+ );
+ path = Assets;
+ sourceTree = "";
+ };
+ F07A80C919DD9DE700B621A1 = {
+ isa = PBXGroup;
+ children = (
+ F07A80D419DD9DE700B621A1 /* syMessaging */,
+ F07A80F119DD9DE700B621A1 /* syMessagingTests */,
+ F07A80D319DD9DE700B621A1 /* Products */,
+ B18A10A9FB884DD357EBD414 /* Pods */,
+ EAA71E3C2B16D1D86B3F5100 /* Frameworks */,
+ );
+ sourceTree = "";
+ };
+ F07A80D319DD9DE700B621A1 /* Products */ = {
+ isa = PBXGroup;
+ children = (
+ F07A80D219DD9DE700B621A1 /* syMessaging.app */,
+ F07A80EE19DD9DE700B621A1 /* syMessagingTests.xctest */,
+ );
+ name = Products;
+ sourceTree = "";
+ };
+ F07A80D419DD9DE700B621A1 /* syMessaging */ = {
+ isa = PBXGroup;
+ children = (
+ F07A80D919DD9DE700B621A1 /* AppDelegate.h */,
+ F07A80DA19DD9DE700B621A1 /* AppDelegate.m */,
+ F05B955119DEDCD9008761B0 /* HomeViewController.h */,
+ F05B955219DEDCD9008761B0 /* HomeViewController.m */,
+ F01628B819E29A270071C473 /* LoginViewController.h */,
+ F01628B919E29A270071C473 /* LoginViewController.m */,
+ F072761619E54AB100CA306E /* MasterTabBarController.h */,
+ F072761719E54AB100CA306E /* MasterTabBarController.m */,
+ F05B955D19DEED8A008761B0 /* MatrixHandler.h */,
+ F05B955E19DEED8A008761B0 /* MatrixHandler.m */,
+ F05B955319DEDCD9008761B0 /* RecentsViewController.h */,
+ F05B955419DEDCD9008761B0 /* RecentsViewController.m */,
+ F05B955519DEDCD9008761B0 /* RoomViewController.h */,
+ F05B955619DEDCD9008761B0 /* RoomViewController.m */,
+ F05B955719DEDCD9008761B0 /* SettingsViewController.h */,
+ F05B955819DEDCD9008761B0 /* SettingsViewController.m */,
+ F07A80E219DD9DE700B621A1 /* Main.storyboard */,
+ F07A80E519DD9DE700B621A1 /* Images.xcassets */,
+ F07A80E719DD9DE700B621A1 /* LaunchScreen.xib */,
+ F01628B519E298710071C473 /* Assets */,
+ F07A80D519DD9DE700B621A1 /* Supporting Files */,
+ );
+ path = syMessaging;
+ sourceTree = "";
+ };
+ F07A80D519DD9DE700B621A1 /* Supporting Files */ = {
+ isa = PBXGroup;
+ children = (
+ F07A80D619DD9DE700B621A1 /* Info.plist */,
+ F07A80D719DD9DE700B621A1 /* main.m */,
+ );
+ name = "Supporting Files";
+ sourceTree = "";
+ };
+ F07A80F119DD9DE700B621A1 /* syMessagingTests */ = {
+ isa = PBXGroup;
+ children = (
+ F07A80F419DD9DE700B621A1 /* syMessagingTests.m */,
+ F07A80F219DD9DE700B621A1 /* Supporting Files */,
+ );
+ path = syMessagingTests;
+ sourceTree = "";
+ };
+ F07A80F219DD9DE700B621A1 /* Supporting Files */ = {
+ isa = PBXGroup;
+ children = (
+ F07A80F319DD9DE700B621A1 /* Info.plist */,
+ );
+ name = "Supporting Files";
+ sourceTree = "";
+ };
+/* End PBXGroup section */
+
+/* Begin PBXNativeTarget section */
+ F07A80D119DD9DE700B621A1 /* syMessaging */ = {
+ isa = PBXNativeTarget;
+ buildConfigurationList = F07A80F819DD9DE700B621A1 /* Build configuration list for PBXNativeTarget "syMessaging" */;
+ buildPhases = (
+ A063750719371855C7755702 /* Check Pods Manifest.lock */,
+ F07A80CE19DD9DE700B621A1 /* Sources */,
+ F07A80CF19DD9DE700B621A1 /* Frameworks */,
+ F07A80D019DD9DE700B621A1 /* Resources */,
+ 3496B335A95D95AB2A8DCEF4 /* Copy Pods Resources */,
+ );
+ buildRules = (
+ );
+ dependencies = (
+ );
+ name = syMessaging;
+ productName = syMessaging;
+ productReference = F07A80D219DD9DE700B621A1 /* syMessaging.app */;
+ productType = "com.apple.product-type.application";
+ };
+ F07A80ED19DD9DE700B621A1 /* syMessagingTests */ = {
+ isa = PBXNativeTarget;
+ buildConfigurationList = F07A80FB19DD9DE700B621A1 /* Build configuration list for PBXNativeTarget "syMessagingTests" */;
+ buildPhases = (
+ F07A80EA19DD9DE700B621A1 /* Sources */,
+ F07A80EB19DD9DE700B621A1 /* Frameworks */,
+ F07A80EC19DD9DE700B621A1 /* Resources */,
+ );
+ buildRules = (
+ );
+ dependencies = (
+ F07A80F019DD9DE700B621A1 /* PBXTargetDependency */,
+ );
+ name = syMessagingTests;
+ productName = syMessagingTests;
+ productReference = F07A80EE19DD9DE700B621A1 /* syMessagingTests.xctest */;
+ productType = "com.apple.product-type.bundle.unit-test";
+ };
+/* End PBXNativeTarget section */
+
+/* Begin PBXProject section */
+ F07A80CA19DD9DE700B621A1 /* Project object */ = {
+ isa = PBXProject;
+ attributes = {
+ LastUpgradeCheck = 0600;
+ ORGANIZATIONNAME = matrix.org;
+ TargetAttributes = {
+ F07A80D119DD9DE700B621A1 = {
+ CreatedOnToolsVersion = 6.0;
+ };
+ F07A80ED19DD9DE700B621A1 = {
+ CreatedOnToolsVersion = 6.0;
+ TestTargetID = F07A80D119DD9DE700B621A1;
+ };
+ };
+ };
+ buildConfigurationList = F07A80CD19DD9DE700B621A1 /* Build configuration list for PBXProject "syMessaging" */;
+ compatibilityVersion = "Xcode 3.2";
+ developmentRegion = English;
+ hasScannedForEncodings = 0;
+ knownRegions = (
+ en,
+ Base,
+ );
+ mainGroup = F07A80C919DD9DE700B621A1;
+ productRefGroup = F07A80D319DD9DE700B621A1 /* Products */;
+ projectDirPath = "";
+ projectRoot = "";
+ targets = (
+ F07A80D119DD9DE700B621A1 /* syMessaging */,
+ F07A80ED19DD9DE700B621A1 /* syMessagingTests */,
+ );
+ };
+/* End PBXProject section */
+
+/* Begin PBXResourcesBuildPhase section */
+ F07A80D019DD9DE700B621A1 /* Resources */ = {
+ isa = PBXResourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ F07A80E419DD9DE700B621A1 /* Main.storyboard in Resources */,
+ F07A80E919DD9DE700B621A1 /* LaunchScreen.xib in Resources */,
+ F01628B719E298710071C473 /* home.ico in Resources */,
+ F01628C219E29C660071C473 /* gradient.png in Resources */,
+ F01628C319E29C660071C473 /* logo.png in Resources */,
+ F01628C119E29C660071C473 /* default-profile.png in Resources */,
+ F01628C019E29C660071C473 /* close.png in Resources */,
+ F01628C419E29C660071C473 /* logo@2x.png in Resources */,
+ F07A80E619DD9DE700B621A1 /* Images.xcassets in Resources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+ F07A80EC19DD9DE700B621A1 /* Resources */ = {
+ isa = PBXResourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXResourcesBuildPhase section */
+
+/* Begin PBXShellScriptBuildPhase section */
+ 3496B335A95D95AB2A8DCEF4 /* Copy Pods Resources */ = {
+ isa = PBXShellScriptBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ inputPaths = (
+ );
+ name = "Copy Pods Resources";
+ outputPaths = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ shellPath = /bin/sh;
+ shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-syMessaging/Pods-syMessaging-resources.sh\"\n";
+ showEnvVarsInLog = 0;
+ };
+ A063750719371855C7755702 /* Check Pods Manifest.lock */ = {
+ isa = PBXShellScriptBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ inputPaths = (
+ );
+ name = "Check Pods Manifest.lock";
+ outputPaths = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ shellPath = /bin/sh;
+ shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [[ $? != 0 ]] ; then\n cat << EOM\nerror: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\nEOM\n exit 1\nfi\n";
+ showEnvVarsInLog = 0;
+ };
+/* End PBXShellScriptBuildPhase section */
+
+/* Begin PBXSourcesBuildPhase section */
+ F07A80CE19DD9DE700B621A1 /* Sources */ = {
+ isa = PBXSourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ F01628BA19E29A270071C473 /* LoginViewController.m in Sources */,
+ F05B955A19DEDCD9008761B0 /* RecentsViewController.m in Sources */,
+ F05B955B19DEDCD9008761B0 /* RoomViewController.m in Sources */,
+ F07A80DB19DD9DE700B621A1 /* AppDelegate.m in Sources */,
+ F07A80D819DD9DE700B621A1 /* main.m in Sources */,
+ F05B955919DEDCD9008761B0 /* HomeViewController.m in Sources */,
+ F05B955F19DEED8A008761B0 /* MatrixHandler.m in Sources */,
+ F072761819E54AB100CA306E /* MasterTabBarController.m in Sources */,
+ F05B955C19DEDCD9008761B0 /* SettingsViewController.m in Sources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+ F07A80EA19DD9DE700B621A1 /* Sources */ = {
+ isa = PBXSourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ F07A80F519DD9DE700B621A1 /* syMessagingTests.m in Sources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXSourcesBuildPhase section */
+
+/* Begin PBXTargetDependency section */
+ F07A80F019DD9DE700B621A1 /* PBXTargetDependency */ = {
+ isa = PBXTargetDependency;
+ target = F07A80D119DD9DE700B621A1 /* syMessaging */;
+ targetProxy = F07A80EF19DD9DE700B621A1 /* PBXContainerItemProxy */;
+ };
+/* End PBXTargetDependency section */
+
+/* Begin PBXVariantGroup section */
+ F07A80E219DD9DE700B621A1 /* Main.storyboard */ = {
+ isa = PBXVariantGroup;
+ children = (
+ F07A80E319DD9DE700B621A1 /* Base */,
+ );
+ name = Main.storyboard;
+ sourceTree = "";
+ };
+ F07A80E719DD9DE700B621A1 /* LaunchScreen.xib */ = {
+ isa = PBXVariantGroup;
+ children = (
+ F07A80E819DD9DE700B621A1 /* Base */,
+ );
+ name = LaunchScreen.xib;
+ sourceTree = "";
+ };
+/* End PBXVariantGroup section */
+
+/* Begin XCBuildConfiguration section */
+ F07A80F619DD9DE700B621A1 /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
+ CLANG_CXX_LIBRARY = "libc++";
+ CLANG_ENABLE_MODULES = YES;
+ CLANG_ENABLE_OBJC_ARC = YES;
+ CLANG_WARN_BOOL_CONVERSION = YES;
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
+ CLANG_WARN_EMPTY_BODY = YES;
+ CLANG_WARN_ENUM_CONVERSION = YES;
+ CLANG_WARN_INT_CONVERSION = YES;
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
+ CLANG_WARN_UNREACHABLE_CODE = YES;
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
+ COPY_PHASE_STRIP = NO;
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
+ GCC_C_LANGUAGE_STANDARD = gnu99;
+ GCC_DYNAMIC_NO_PIC = NO;
+ GCC_OPTIMIZATION_LEVEL = 0;
+ GCC_PREPROCESSOR_DEFINITIONS = (
+ "DEBUG=1",
+ "$(inherited)",
+ );
+ GCC_SYMBOLS_PRIVATE_EXTERN = NO;
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
+ GCC_WARN_UNUSED_FUNCTION = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ IPHONEOS_DEPLOYMENT_TARGET = 8.0;
+ MTL_ENABLE_DEBUG_INFO = YES;
+ ONLY_ACTIVE_ARCH = YES;
+ SDKROOT = iphoneos;
+ TARGETED_DEVICE_FAMILY = "1,2";
+ };
+ name = Debug;
+ };
+ F07A80F719DD9DE700B621A1 /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
+ CLANG_CXX_LIBRARY = "libc++";
+ CLANG_ENABLE_MODULES = YES;
+ CLANG_ENABLE_OBJC_ARC = YES;
+ CLANG_WARN_BOOL_CONVERSION = YES;
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
+ CLANG_WARN_EMPTY_BODY = YES;
+ CLANG_WARN_ENUM_CONVERSION = YES;
+ CLANG_WARN_INT_CONVERSION = YES;
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
+ CLANG_WARN_UNREACHABLE_CODE = YES;
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
+ COPY_PHASE_STRIP = YES;
+ ENABLE_NS_ASSERTIONS = NO;
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
+ GCC_C_LANGUAGE_STANDARD = gnu99;
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
+ GCC_WARN_UNUSED_FUNCTION = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ IPHONEOS_DEPLOYMENT_TARGET = 8.0;
+ MTL_ENABLE_DEBUG_INFO = NO;
+ SDKROOT = iphoneos;
+ TARGETED_DEVICE_FAMILY = "1,2";
+ VALIDATE_PRODUCT = YES;
+ };
+ name = Release;
+ };
+ F07A80F919DD9DE700B621A1 /* Debug */ = {
+ isa = XCBuildConfiguration;
+ baseConfigurationReference = 477412429E0ABA7BC78E9A48 /* Pods-syMessaging.debug.xcconfig */;
+ buildSettings = {
+ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
+ INFOPLIST_FILE = syMessaging/Info.plist;
+ IPHONEOS_DEPLOYMENT_TARGET = 6.0;
+ LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ };
+ name = Debug;
+ };
+ F07A80FA19DD9DE700B621A1 /* Release */ = {
+ isa = XCBuildConfiguration;
+ baseConfigurationReference = A2E42FBF1F066CD8150FDB2B /* Pods-syMessaging.release.xcconfig */;
+ buildSettings = {
+ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
+ INFOPLIST_FILE = syMessaging/Info.plist;
+ IPHONEOS_DEPLOYMENT_TARGET = 6.0;
+ LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ };
+ name = Release;
+ };
+ F07A80FC19DD9DE700B621A1 /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ BUNDLE_LOADER = "$(TEST_HOST)";
+ FRAMEWORK_SEARCH_PATHS = (
+ "$(SDKROOT)/Developer/Library/Frameworks",
+ "$(inherited)",
+ );
+ GCC_PREPROCESSOR_DEFINITIONS = (
+ "DEBUG=1",
+ "$(inherited)",
+ );
+ INFOPLIST_FILE = syMessagingTests/Info.plist;
+ LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ TEST_HOST = "$(BUILT_PRODUCTS_DIR)/syMessaging.app/syMessaging";
+ };
+ name = Debug;
+ };
+ F07A80FD19DD9DE700B621A1 /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ BUNDLE_LOADER = "$(TEST_HOST)";
+ FRAMEWORK_SEARCH_PATHS = (
+ "$(SDKROOT)/Developer/Library/Frameworks",
+ "$(inherited)",
+ );
+ INFOPLIST_FILE = syMessagingTests/Info.plist;
+ LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ TEST_HOST = "$(BUILT_PRODUCTS_DIR)/syMessaging.app/syMessaging";
+ };
+ name = Release;
+ };
+/* End XCBuildConfiguration section */
+
+/* Begin XCConfigurationList section */
+ F07A80CD19DD9DE700B621A1 /* Build configuration list for PBXProject "syMessaging" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ F07A80F619DD9DE700B621A1 /* Debug */,
+ F07A80F719DD9DE700B621A1 /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+ F07A80F819DD9DE700B621A1 /* Build configuration list for PBXNativeTarget "syMessaging" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ F07A80F919DD9DE700B621A1 /* Debug */,
+ F07A80FA19DD9DE700B621A1 /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+ F07A80FB19DD9DE700B621A1 /* Build configuration list for PBXNativeTarget "syMessagingTests" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ F07A80FC19DD9DE700B621A1 /* Debug */,
+ F07A80FD19DD9DE700B621A1 /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+/* End XCConfigurationList section */
+ };
+ rootObject = F07A80CA19DD9DE700B621A1 /* Project object */;
+}
diff --git a/syMessaging/syMessaging/AppDelegate.h b/syMessaging/syMessaging/AppDelegate.h
index 58113e53d..8377b1be2 100644
--- a/syMessaging/syMessaging/AppDelegate.h
+++ b/syMessaging/syMessaging/AppDelegate.h
@@ -16,6 +16,8 @@
#import
+#import "MasterTabBarController.h"
+
#define TABBAR_HOME_INDEX 0
#define TABBAR_RECENTS_INDEX 1
#define TABBAR_SETTINGS_INDEX 2
@@ -24,10 +26,12 @@
@interface AppDelegate : UIResponder
@property (strong, nonatomic) UIWindow *window;
-@property (strong, nonatomic) UITabBarController *tabBarController;
+@property (strong, nonatomic) MasterTabBarController *masterTabBarController;
+ (AppDelegate*)theDelegate;
+- (void)logout;
+
- (UIAlertView*)showErrorAsAlert:(NSError*)error;
@end
diff --git a/syMessaging/syMessaging/AppDelegate.m b/syMessaging/syMessaging/AppDelegate.m
index 277a7fe63..4bf9239d0 100644
--- a/syMessaging/syMessaging/AppDelegate.m
+++ b/syMessaging/syMessaging/AppDelegate.m
@@ -33,15 +33,15 @@
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
// Override point for customization after application launch.
- if ([self.window.rootViewController isKindOfClass:[UITabBarController class]])
+ if ([self.window.rootViewController isKindOfClass:[MasterTabBarController class]])
{
- self.tabBarController = (UITabBarController*)self.window.rootViewController;
- self.tabBarController.delegate = self;
+ self.masterTabBarController = (MasterTabBarController*)self.window.rootViewController;
+ self.masterTabBarController.delegate = self;
- // By default the "Contacts" tab is focussed
- [self.tabBarController setSelectedIndex:TABBAR_HOME_INDEX];
+ // By default the "Home" tab is focussed
+ [self.masterTabBarController setSelectedIndex:TABBAR_HOME_INDEX];
- UIViewController* recents = [self.tabBarController.viewControllers objectAtIndex:TABBAR_RECENTS_INDEX];
+ UIViewController* recents = [self.masterTabBarController.viewControllers objectAtIndex:TABBAR_RECENTS_INDEX];
if ([recents isKindOfClass:[UISplitViewController class]]) {
UISplitViewController *splitViewController = (UISplitViewController *)recents;
UINavigationController *navigationController = [splitViewController.viewControllers lastObject];
@@ -74,10 +74,16 @@
// Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
}
-#pragma mark - Internal methods
+#pragma mark -
-- (UIAlertView*)showErrorAsAlert:(NSError*)error
-{
+- (void)logout {
+ [[MatrixHandler sharedHandler] logout];
+ [self.masterTabBarController showLoginScreen];
+ // By default the "Home" tab is focussed
+ [self.masterTabBarController setSelectedIndex:TABBAR_HOME_INDEX];
+}
+
+- (UIAlertView*)showErrorAsAlert:(NSError*)error {
NSString *title = [error.userInfo valueForKey:NSLocalizedFailureReasonErrorKey];
if (!title)
{
diff --git a/syMessaging/syMessaging/Base.lproj/Main.storyboard b/syMessaging/syMessaging/Base.lproj/Main.storyboard
index 176e5c7f7..73ab6c818 100644
--- a/syMessaging/syMessaging/Base.lproj/Main.storyboard
+++ b/syMessaging/syMessaging/Base.lproj/Main.storyboard
@@ -1,7 +1,9 @@
+
+
@@ -56,33 +58,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -257,10 +232,10 @@
-
+
-
+
@@ -277,7 +252,7 @@
-
+
@@ -287,14 +262,132 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -370,6 +463,7 @@
+
diff --git a/syMessaging/syMessaging/LoginViewController.m b/syMessaging/syMessaging/LoginViewController.m
index 2ccb954c9..c737ad600 100644
--- a/syMessaging/syMessaging/LoginViewController.m
+++ b/syMessaging/syMessaging/LoginViewController.m
@@ -168,6 +168,12 @@ NSString* const defaultHomeserver = @"http://www.matrix.org";
else {
// "Done" key has been pressed
[textField resignFirstResponder];
+
+ if (_loginBtn.isEnabled)
+ {
+ // Launch authentication now
+ [self onButtonPressed:_loginBtn];
+ }
}
return YES;
diff --git a/syMessaging/syMessaging/MasterViewController.h b/syMessaging/syMessaging/MasterTabBarController.h
similarity index 88%
rename from syMessaging/syMessaging/MasterViewController.h
rename to syMessaging/syMessaging/MasterTabBarController.h
index d1e48b4ed..3da432de2 100644
--- a/syMessaging/syMessaging/MasterViewController.h
+++ b/syMessaging/syMessaging/MasterTabBarController.h
@@ -16,8 +16,9 @@
#import
-@interface MasterViewController : UITabBarController
+@interface MasterTabBarController : UITabBarController
+- (void)showLoginScreen;
@end
diff --git a/syMessaging/syMessaging/MasterViewController.m b/syMessaging/syMessaging/MasterTabBarController.m
similarity index 91%
rename from syMessaging/syMessaging/MasterViewController.m
rename to syMessaging/syMessaging/MasterTabBarController.m
index 04825fa4e..267d62b6a 100644
--- a/syMessaging/syMessaging/MasterViewController.m
+++ b/syMessaging/syMessaging/MasterTabBarController.m
@@ -14,14 +14,14 @@
limitations under the License.
*/
-#import "MasterViewController.h"
+#import "MasterTabBarController.h"
#import "MatrixHandler.h"
-@interface MasterViewController ()
+@interface MasterTabBarController ()
@end
-@implementation MasterViewController
+@implementation MasterTabBarController
- (void)viewDidLoad {
[super viewDidLoad];
diff --git a/syMessaging/syMessaging/MatrixHandler.h b/syMessaging/syMessaging/MatrixHandler.h
index 75df5f21a..8a2a17414 100644
--- a/syMessaging/syMessaging/MatrixHandler.h
+++ b/syMessaging/syMessaging/MatrixHandler.h
@@ -19,6 +19,7 @@
@interface MatrixHandler : NSObject
@property (strong, nonatomic) MXHomeServer *homeServer;
+@property (strong, nonatomic) MXSession *session;
@property (strong, nonatomic) NSString *homeServerURL;
@property (strong, nonatomic) NSString *userLogin;
@@ -28,5 +29,6 @@
+ (id)sharedHandler;
- (BOOL)isLogged;
+- (void)logout;
@end
diff --git a/syMessaging/syMessaging/MatrixHandler.m b/syMessaging/syMessaging/MatrixHandler.m
index f80cd9844..fdda043ca 100644
--- a/syMessaging/syMessaging/MatrixHandler.m
+++ b/syMessaging/syMessaging/MatrixHandler.m
@@ -55,45 +55,66 @@ static MatrixHandler *sharedHandler = nil;
return (self.accessToken != nil);
}
-- (NSString *)homeServerURL
-{
+- (void)logout {
+ if (self.session) {
+ [self.session close];
+ }
+
+ // Reset access token
+ self.accessToken = nil;
+
+
+}
+
+- (NSString *)homeServerURL {
return [[NSUserDefaults standardUserDefaults] objectForKey:@"homeserver"];
}
-- (void)setHomeServerURL:(NSString *)inHomeserver
-{
- [[NSUserDefaults standardUserDefaults] setObject:inHomeserver forKey:@"homeserver"];
- self.homeServer = [[MXHomeServer alloc] initWithHomeServer:self.homeServerURL];
+- (void)setHomeServerURL:(NSString *)inHomeserver {
+ if (inHomeserver.length) {
+ [[NSUserDefaults standardUserDefaults] setObject:inHomeserver forKey:@"homeserver"];
+ self.homeServer = [[MXHomeServer alloc] initWithHomeServer:self.homeServerURL];
+ } else {
+ [[NSUserDefaults standardUserDefaults] removeObjectForKey:@"homeserver"];
+ self.homeServer = nil;
+ }
}
-- (NSString *)userLogin
-{
+- (NSString *)userLogin {
return [[NSUserDefaults standardUserDefaults] objectForKey:@"userlogin"];
}
-- (void)setUserLogin:(NSString *)inUserLogin
-{
- [[NSUserDefaults standardUserDefaults] setObject:inUserLogin forKey:@"userlogin"];
+- (void)setUserLogin:(NSString *)inUserLogin {
+ if (inUserLogin.length) {
+ [[NSUserDefaults standardUserDefaults] setObject:inUserLogin forKey:@"userlogin"];
+ } else {
+ [[NSUserDefaults standardUserDefaults] removeObjectForKey:@"userlogin"];
+ }
}
-- (NSString *)userId
-{
+- (NSString *)userId {
return [[NSUserDefaults standardUserDefaults] objectForKey:@"userid"];
}
-- (void)setUserId:(NSString *)inUserId
-{
- [[NSUserDefaults standardUserDefaults] setObject:inUserId forKey:@"userid"];
+- (void)setUserId:(NSString *)inUserId {
+ if (inUserId.length) {
+ [[NSUserDefaults standardUserDefaults] setObject:inUserId forKey:@"userid"];
+ } else {
+ [[NSUserDefaults standardUserDefaults] removeObjectForKey:@"userid"];
+ }
}
-- (NSString *)accessToken
-{
+- (NSString *)accessToken {
return [[NSUserDefaults standardUserDefaults] objectForKey:@"accesstoken"];
}
-- (void)setAccessToken:(NSString *)inAccessToken
-{
- [[NSUserDefaults standardUserDefaults] setObject:inAccessToken forKey:@"accesstoken"];
+- (void)setAccessToken:(NSString *)inAccessToken {
+ if (inAccessToken.length) {
+ [[NSUserDefaults standardUserDefaults] setObject:inAccessToken forKey:@"accesstoken"];
+ } else {
+ [[NSUserDefaults standardUserDefaults] removeObjectForKey:@"accesstoken"];
+ }
+
}
@end
diff --git a/syMessaging/syMessaging/SettingsViewController.h b/syMessaging/syMessaging/SettingsViewController.h
index e54e55c30..57a804d42 100644
--- a/syMessaging/syMessaging/SettingsViewController.h
+++ b/syMessaging/syMessaging/SettingsViewController.h
@@ -16,7 +16,7 @@
#import
-@interface SettingsViewController : UIViewController
+@interface SettingsViewController : UITableViewController
@end
diff --git a/syMessaging/syMessaging/SettingsViewController.m b/syMessaging/syMessaging/SettingsViewController.m
index bb92e1c3c..52956d87a 100644
--- a/syMessaging/syMessaging/SettingsViewController.m
+++ b/syMessaging/syMessaging/SettingsViewController.m
@@ -16,7 +16,18 @@
#import "SettingsViewController.h"
+#import "AppDelegate.h"
+
@interface SettingsViewController ()
+@property (strong, nonatomic) IBOutlet UITableView *tableView;
+@property (weak, nonatomic) IBOutlet UIView *tableHeader;
+@property (weak, nonatomic) IBOutlet UIButton *userPicture;
+@property (weak, nonatomic) IBOutlet UITextField *userDisplayName;
+@property (weak, nonatomic) IBOutlet UIButton *saveBtn;
+@property (weak, nonatomic) IBOutlet UIView *tableFooter;
+@property (weak, nonatomic) IBOutlet UIButton *logoutBtn;
+
+- (IBAction)onButtonPressed:(id)sender;
@end
@@ -32,4 +43,31 @@
// Dispose of any resources that can be recreated.
}
+#pragma mark -
+
+- (IBAction)onButtonPressed:(id)sender {
+ if (sender == _userPicture) {
+ // TODO open gallery
+ } else {
+ [[AppDelegate theDelegate] logout];
+ }
+}
+
+#pragma mark - keyboard
+
+- (void)dismissKeyboard
+{
+ // Hide the keyboard
+ [_userDisplayName resignFirstResponder];
+}
+
+#pragma mark - UITextField delegate
+
+- (BOOL)textFieldShouldReturn:(UITextField*) textField
+{
+ // "Done" key has been pressed
+ [textField resignFirstResponder];
+
+ return YES;
+}
@end