diff --git a/ExampleProject/Example.xcworkspace/xcshareddata/Example.xccheckout b/ExampleProject/Example.xcworkspace/xcshareddata/Example.xccheckout index 053192aa..c8327a4b 100644 --- a/ExampleProject/Example.xcworkspace/xcshareddata/Example.xccheckout +++ b/ExampleProject/Example.xcworkspace/xcshareddata/Example.xccheckout @@ -5,34 +5,34 @@ IDESourceControlProjectFavoriteDictionaryKey IDESourceControlProjectIdentifier - 82A6ACD6-46DE-447A-A964-E17104032B30 + 78E13C39-DCE2-42E8-B56F-F65483531CDC IDESourceControlProjectName Example IDESourceControlProjectOriginsDictionary - D20D76B5-659E-40F1-BC19-299E96EF607D - https://github.com/onato/TSMessages.git + A82D8531-0480-4292-B9CA-F43F680C1C78 + https://github.com/mRs-/TSMessages.git IDESourceControlProjectPath ExampleProject/Example.xcworkspace IDESourceControlProjectRelativeInstallPathDictionary - D20D76B5-659E-40F1-BC19-299E96EF607D + A82D8531-0480-4292-B9CA-F43F680C1C78 ../.. IDESourceControlProjectURL - https://github.com/onato/TSMessages.git + https://github.com/mRs-/TSMessages.git IDESourceControlProjectVersion 110 IDESourceControlProjectWCCIdentifier - D20D76B5-659E-40F1-BC19-299E96EF607D + A82D8531-0480-4292-B9CA-F43F680C1C78 IDESourceControlProjectWCConfigurations IDESourceControlRepositoryExtensionIdentifierKey public.vcs.git IDESourceControlWCCIdentifierKey - D20D76B5-659E-40F1-BC19-299E96EF607D + A82D8531-0480-4292-B9CA-F43F680C1C78 IDESourceControlWCCName TSMessages diff --git a/ExampleProject/Example/TSDemoViewController.h b/ExampleProject/Example/TSDemoViewController.h index dd353171..b4a4cdd5 100644 --- a/ExampleProject/Example/TSDemoViewController.h +++ b/ExampleProject/Example/TSDemoViewController.h @@ -23,5 +23,6 @@ - (IBAction)didTapBottom:(id)sender; - (IBAction)didTapText:(id)sender; - (IBAction)didTapCustomDesign:(id)sender; +- (IBAction)didTapNavbarHidden:(id)sender; @end diff --git a/ExampleProject/Example/TSDemoViewController.m b/ExampleProject/Example/TSDemoViewController.m index 3f30ef05..fd057035 100644 --- a/ExampleProject/Example/TSDemoViewController.m +++ b/ExampleProject/Example/TSDemoViewController.m @@ -171,4 +171,7 @@ - (CGFloat)navigationbarBottomOfViewController:(UIViewController *)viewControlle return 55; } +- (IBAction)didTapNavbarHidden:(id)sender { + self.navigationController.navigationBarHidden = !self.navigationController.navigationBarHidden; +} @end diff --git a/ExampleProject/Example/en.lproj/MainStoryboard.storyboard b/ExampleProject/Example/en.lproj/MainStoryboard.storyboard index 4744e022..75c1c236 100644 --- a/ExampleProject/Example/en.lproj/MainStoryboard.storyboard +++ b/ExampleProject/Example/en.lproj/MainStoryboard.storyboard @@ -1,8 +1,8 @@ - + - + @@ -173,6 +173,17 @@ + diff --git a/ExampleProject/Podfile.lock b/ExampleProject/Podfile.lock index 3a8e67d0..229e91c9 100644 --- a/ExampleProject/Podfile.lock +++ b/ExampleProject/Podfile.lock @@ -12,6 +12,6 @@ EXTERNAL SOURCES: SPEC CHECKSUMS: HexColors: 3a68db077cd6572a8f7d4aa1add284dd2436a934 - TSMessages: 5ab92604b02e49a755d2cc2baf114d2248a90977 + TSMessages: de3fecb312d44078128add86d4347307669d0af2 -COCOAPODS: 0.25.0 +COCOAPODS: 0.29.0 diff --git a/ExampleProject/Pods/Local Podspecs/TSMessages.podspec b/ExampleProject/Pods/Local Podspecs/TSMessages.podspec index 2a41f31b..c9f9cdef 100644 --- a/ExampleProject/Pods/Local Podspecs/TSMessages.podspec +++ b/ExampleProject/Pods/Local Podspecs/TSMessages.podspec @@ -12,10 +12,9 @@ There are 4 different types already set up for you: Success, Error, Warning, Mes s.license = 'MIT' - s.author = { "Felix Krause" => "krausefx@gmail.com" } - s.source = { :git => "https://github.com/toursprung/TSMessages.git", :tag => "0.9.4"} + s.source = { :git => "https://github.com/toursprung/TSMessages.git", :tag => "#{s.version}"} s.platform = :ios, '5.0' diff --git a/ExampleProject/Pods/Manifest.lock b/ExampleProject/Pods/Manifest.lock index 3a8e67d0..229e91c9 100644 --- a/ExampleProject/Pods/Manifest.lock +++ b/ExampleProject/Pods/Manifest.lock @@ -12,6 +12,6 @@ EXTERNAL SOURCES: SPEC CHECKSUMS: HexColors: 3a68db077cd6572a8f7d4aa1add284dd2436a934 - TSMessages: 5ab92604b02e49a755d2cc2baf114d2248a90977 + TSMessages: de3fecb312d44078128add86d4347307669d0af2 -COCOAPODS: 0.25.0 +COCOAPODS: 0.29.0 diff --git a/ExampleProject/Pods/Pods-resources.sh b/ExampleProject/Pods/Pods-resources.sh index 54f63589..a672c229 100755 --- a/ExampleProject/Pods/Pods-resources.sh +++ b/ExampleProject/Pods/Pods-resources.sh @@ -29,6 +29,8 @@ install_resource() echo "xcrun momc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodeld`.momd\"" xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodeld`.momd" ;; + *.xcassets) + ;; /*) echo "$1" echo "$1" >> "$RESOURCES_TO_COPY" @@ -62,3 +64,22 @@ if [[ "${ACTION}" == "install" ]]; then rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" fi rm -f "$RESOURCES_TO_COPY" + +if [[ -n "${WRAPPER_EXTENSION}" ]] && [ `xcrun --find actool` ] && [ `find . -name '*.xcassets' | wc -l` -ne 0 ] +then + case "${TARGETED_DEVICE_FAMILY}" in + 1,2) + TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" + ;; + 1) + TARGET_DEVICE_ARGS="--target-device iphone" + ;; + 2) + TARGET_DEVICE_ARGS="--target-device ipad" + ;; + *) + TARGET_DEVICE_ARGS="--target-device mac" + ;; + esac + find "${PWD}" -name "*.xcassets" -print0 | xargs -0 actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${IPHONEOS_DEPLOYMENT_TARGET}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" +fi diff --git a/ExampleProject/Pods/Pods.xcconfig b/ExampleProject/Pods/Pods.xcconfig index 85819e5d..1a9622ab 100644 --- a/ExampleProject/Pods/Pods.xcconfig +++ b/ExampleProject/Pods/Pods.xcconfig @@ -1,4 +1,5 @@ GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers" "${PODS_ROOT}/Headers/HexColors" "${PODS_ROOT}/Headers/TSMessages" +OTHER_CFLAGS = $(inherited) "-isystem${PODS_ROOT}/Headers" "-isystem${PODS_ROOT}/Headers/HexColors" "-isystem${PODS_ROOT}/Headers/TSMessages" OTHER_LDFLAGS = -ObjC PODS_ROOT = ${SRCROOT}/Pods \ No newline at end of file diff --git a/ExampleProject/Pods/Pods.xcodeproj/project.pbxproj b/ExampleProject/Pods/Pods.xcodeproj/project.pbxproj index 79638ebf..6e78b8c5 100644 --- a/ExampleProject/Pods/Pods.xcodeproj/project.pbxproj +++ b/ExampleProject/Pods/Pods.xcodeproj/project.pbxproj @@ -10,10 +10,62 @@ 46 objects - 008FCB1214A547FABF2ACE78 + 03C6013078E94A0E82974916 baseConfigurationReference - 08ED9A1527024644ADCBA9CD + 73A7EA8E61034AC98667E196 + buildSettings + + ALWAYS_SEARCH_USER_PATHS + NO + COPY_PHASE_STRIP + YES + DSTROOT + /tmp/xcodeproj.dst + GCC_C_LANGUAGE_STANDARD + gnu99 + GCC_PRECOMPILE_PREFIX_HEADER + YES + GCC_PREFIX_HEADER + Pods-HexColors-prefix.pch + GCC_VERSION + com.apple.compilers.llvm.clang.1_0 + INSTALL_PATH + $(BUILT_PRODUCTS_DIR) + IPHONEOS_DEPLOYMENT_TARGET + 5.1 + OTHER_CFLAGS + + -DNS_BLOCK_ASSERTIONS=1 + $(inherited) + + OTHER_CPLUSPLUSFLAGS + + -DNS_BLOCK_ASSERTIONS=1 + $(inherited) + + OTHER_LDFLAGS + + PRODUCT_NAME + $(TARGET_NAME) + PUBLIC_HEADERS_FOLDER_PATH + $(TARGET_NAME) + SDKROOT + iphoneos + SKIP_INSTALL + YES + VALIDATE_PRODUCT + YES + + isa + XCBuildConfiguration + name + Release + + 04BEA0BD41874685ACBC8DA2 + + baseConfigurationReference + 0B0F7677A5CA40EAB540A3DE buildSettings ALWAYS_SEARCH_USER_PATHS @@ -30,6 +82,8 @@ 0 GCC_PRECOMPILE_PREFIX_HEADER YES + GCC_PREFIX_HEADER + Pods-TSMessages-prefix.pch GCC_PREPROCESSOR_DEFINITIONS DEBUG=1 @@ -59,105 +113,84 @@ name Debug - 0664DAB085284272A58FA5C1 + 069A1DF9A34A43138DB94BE8 - includeInIndex - 1 + children + + 800156CDE3FA4B5EA1AFC2FA + isa - PBXFileReference + PBXGroup name - NotificationBackgroundMessage.png - path - TSMessages/Resources/Images/NotificationBackgroundMessage.png + Pods sourceTree <group> - 07359EA6F65641E7B1FA9119 + 0B0F7677A5CA40EAB540A3DE includeInIndex 1 isa PBXFileReference - name - NotificationBackgroundWarningIcon@2x.png + lastKnownFileType + text.xcconfig path - TSMessages/Resources/Images/NotificationBackgroundWarningIcon@2x.png + Pods-TSMessages-Private.xcconfig sourceTree <group> - 08DC72AB9F3D4F8A8B67ECB5 - - isa - PBXTargetDependency - target - E7AEDF3C45F849A8B4358B09 - targetProxy - E7F054B132B240E3BCC9A26E - - 08ED9A1527024644ADCBA9CD + 0B14269B41954AC9B148A5F9 includeInIndex 1 isa PBXFileReference lastKnownFileType - text.xcconfig + sourcecode.c.h path - Pods.xcconfig + Pods-HexColors-prefix.pch sourceTree <group> - 09E89CC7D8724A98B872DF42 + 0D5A2A53932944A6AE8A4CA1 includeInIndex 1 isa PBXFileReference lastKnownFileType - sourcecode.c.objc + sourcecode.c.h name - TSMessage.m + TSBlurView.h path - TSMessages/Classes/TSMessage.m + TSMessages/Views/TSBlurView.h sourceTree <group> - 0AF065F777E848F29746E2F6 + 14833BC0FBFB4B0C8672D8D3 includeInIndex 1 isa PBXFileReference - lastKnownFileType - sourcecode.c.h name - HexColor.h + NotificationBackgroundSuccessIcon@2x.png path - Classes/HexColor.h + TSMessages/Resources/Images/NotificationBackgroundSuccessIcon@2x.png sourceTree <group> - 0C3AF44C9B9D401A981B09FD + 1D7A52D5728F41E785C322DC - children - - 219C6D4DAB0E422DBFD10D53 - D52EEB5E95A5449CB60B0762 - 616DE37D6F1B45CC935B46AC - + fileRef + A4CE9FC3E73543C38D323E2D isa - PBXGroup - name - HexColors - path - HexColors - sourceTree - <group> + PBXBuildFile - 12C3F91EE0224C298A362BF0 + 1FA50EC3B88C4C0CB1B14CA1 baseConfigurationReference - EB62E0597B194FE5A930E405 + 40DEB958567846FFA974718C buildSettings ALWAYS_SEARCH_USER_PATHS @@ -170,8 +203,6 @@ gnu99 GCC_PRECOMPILE_PREFIX_HEADER YES - GCC_PREFIX_HEADER - Pods-HexColors-prefix.pch GCC_VERSION com.apple.compilers.llvm.clang.1_0 INSTALL_PATH @@ -206,93 +237,7 @@ name Release - 135D534C82F94C44AF0289B6 - - buildActionMask - 2147483647 - files - - 430D5356AE65432AAF3A6519 - - isa - PBXFrameworksBuildPhase - runOnlyForDeploymentPostprocessing - 0 - - 13D06846069C48AA81FDBCA0 - - buildActionMask - 2147483647 - files - - 850DFF742B9443539B374637 - - isa - PBXHeadersBuildPhase - runOnlyForDeploymentPostprocessing - 0 - - 1879866D15D84BC5B4A108BA - - containerPortal - C35E0B354E5646DEAFE4B4FA - isa - PBXContainerItemProxy - proxyType - 1 - remoteGlobalIDString - 68B61584912B40AD8DB67427 - remoteInfo - Pods-TSMessages - - 1B314248BB734734ADC43083 - - fileRef - 5ED86E633260493EA1A2F499 - isa - PBXBuildFile - - 219C6D4DAB0E422DBFD10D53 - - children - - 75B471412A9147839B6A56D1 - - isa - PBXGroup - name - Products - sourceTree - <group> - - 231C8250C74C4AFB9E3469E5 - - buildConfigurationList - C153462D0780424C997F2D88 - buildPhases - - 4A33B9F733C04F85AC86FD5B - EB2450E8D1A647E290A31F05 - - buildRules - - dependencies - - 08DC72AB9F3D4F8A8B67ECB5 - CC58D3CE77FE488681CFF19F - - isa - PBXNativeTarget - name - Pods - productName - Pods - productReference - 87EB580E368F4E6CB33840A8 - productType - com.apple.product-type.library.static - - 24F689F22A5A42809DBA68A7 + 2415DE35049842A2AFFA2686 includeInIndex 1 @@ -307,66 +252,23 @@ sourceTree <group> - 26254BFC82E04500BF05E57B - - buildSettings - - IPHONEOS_DEPLOYMENT_TARGET - 5.1 - ONLY_ACTIVE_ARCH - YES - STRIP_INSTALLED_PRODUCT - NO - - isa - XCBuildConfiguration - name - Debug - - 2686CD3D628D49B8AD706E91 - - fileRef - 24F689F22A5A42809DBA68A7 - isa - PBXBuildFile - settings - - COMPILER_FLAGS - -fobjc-arc -DOS_OBJECT_USE_OBJC=0 - - - 29BDFA547266427AA426611F - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - text.script.sh - path - Pods-resources.sh - sourceTree - <group> - - 3A68D0F35A2448709D775945 + 24240995116B46EAB0AF513E children - 3B17E30CA6F248738B1CCE1F - E6F8608730F84A098DEB8A05 - 53202C8D4E6B4B018F7C74D6 - 24F689F22A5A42809DBA68A7 - 09E89CC7D8724A98B872DF42 - BEBBB8EDFAD74B189406A0B0 + 5F703371046545A2939CF01A + 6FD011263EC84BDDBED1AFE1 + BBEBDD261DC34FB8BB236341 + 069A1DF9A34A43138DB94BE8 + B2A7A54260A043A2874D2AEE + 26EB239DDC5B4CCCA42203CC isa PBXGroup - name - Source Files sourceTree <group> - 3B17E30CA6F248738B1CCE1F + 2463BD24FF8D4198995F9BEB includeInIndex 1 @@ -375,16 +277,16 @@ lastKnownFileType sourcecode.c.h name - TSBlurView.h + TSMessage.h path - TSMessages/Views/TSBlurView.h + TSMessages/Classes/TSMessage.h sourceTree <group> - 3D0DACDDAAB94F4DA8202A8F + 24C31BAB15AF47FFBD2F51E9 baseConfigurationReference - EB62E0597B194FE5A930E405 + 73A7EA8E61034AC98667E196 buildSettings ALWAYS_SEARCH_USER_PATHS @@ -432,194 +334,264 @@ name Debug - 3DED0B6E248A4FBEB11DFB7D + 259060024F734777BBEE0224 + explicitFileType + archive.ar includeInIndex - 1 + 0 isa PBXFileReference - lastKnownFileType - sourcecode.c.h path - Pods-HexColors-prefix.pch + libPods-HexColors.a sourceTree - <group> + BUILT_PRODUCTS_DIR - 3EEBBA57508D41E99C45BA64 + 26EB239DDC5B4CCCA42203CC - includeInIndex - 1 + children + + FE01A87B16DA489ABE41A574 + isa - PBXFileReference + PBXGroup name - NotificationButtonBackground@2x.png - path - TSMessages/Resources/Images/NotificationButtonBackground@2x.png + Targets Support Files sourceTree <group> - 3FFBF8A4E845423A93DE50A6 + 27BA6AF02B394EEDAD3073AA + + fileRef + 68C15DED264D4219B1D29AC7 + isa + PBXBuildFile + + 2CB643C08C4B48B6983B92A0 includeInIndex 1 isa PBXFileReference name - NotificationBackgroundWarningIcon.png + TSMessagesDefaultDesign.json path - TSMessages/Resources/Images/NotificationBackgroundWarningIcon.png + TSMessages/Resources/TSMessagesDefaultDesign.json sourceTree <group> - 41F15AC86CD44FEEA58FC25A + 2D687DE1255D459FAC46B986 includeInIndex 1 isa PBXFileReference name - NotificationBackgroundError.png + NotificationBackgroundWarning.png path - TSMessages/Resources/Images/NotificationBackgroundError.png + TSMessages/Resources/Images/NotificationBackgroundWarning.png sourceTree <group> - 430D5356AE65432AAF3A6519 + 2D946FE34C4E4E1C8CDDDC00 fileRef - 7150BC66A9C84380B009DD48 + D981CB2AF212488C83B57089 isa PBXBuildFile - 45CF47DADDF14BDBAA87ED67 + 2E04345824C144B786437EA1 fileRef - 899217DAF97C4C3F9BAE6861 + A4CE9FC3E73543C38D323E2D isa PBXBuildFile - 48F158896D204969B78EF9EE + 329C9A0C916A4D2E93C257C4 - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - text.xcconfig - path - Pods-HexColors.xcconfig + buildSettings + + ALWAYS_SEARCH_USER_PATHS + NO + CLANG_CXX_LANGUAGE_STANDARD + gnu++0x + CLANG_CXX_LIBRARY + libc++ + CLANG_ENABLE_MODULES + YES + CLANG_ENABLE_OBJC_ARC + NO + 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 + COPY_PHASE_STRIP + 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 + GCC_WARN_UNUSED_FUNCTION + YES + GCC_WARN_UNUSED_VARIABLE + YES + IPHONEOS_DEPLOYMENT_TARGET + 5.1 + ONLY_ACTIVE_ARCH + YES + STRIP_INSTALLED_PRODUCT + NO + + isa + XCBuildConfiguration + name + Debug + + 34EC7EF804A54DD38BFE4A78 + + includeInIndex + 1 + isa + PBXFileReference + lastKnownFileType + text.plist.xml + path + Pods-acknowledgements.plist sourceTree <group> - 492C1D29D48B4EB38856AC3E + 38EC203546A14BD0913E36FB - children - - C49A102233D542D7BC33EA02 - CE97B018E4C2414A9A5C3FAB - A68C68D28A4A4CE5A2765112 - CCA854EFD62D4F43B92AB2F6 - + includeInIndex + 1 isa - PBXGroup + PBXFileReference name - Support Files + NotificationBackgroundWarning@2x.png + path + TSMessages/Resources/Images/NotificationBackgroundWarning@2x.png sourceTree - SOURCE_ROOT + <group> - 4A33B9F733C04F85AC86FD5B + 3A4D7998F45E4CFD93B86CD0 buildActionMask 2147483647 files - 45CF47DADDF14BDBAA87ED67 + CD45345C93F34361BC1B6E10 + 55A265BA87F447F5859D72A0 + 2D946FE34C4E4E1C8CDDDC00 isa - PBXSourcesBuildPhase + PBXHeadersBuildPhase runOnlyForDeploymentPostprocessing 0 - 4EC9FB627F934E5B8D11BC28 - - fileRef - 7150BC66A9C84380B009DD48 - isa - PBXBuildFile - - 513393A64B2C4D5F98177A07 + 3B733B54AF964A7AAD3B0D37 - buildActionMask - 2147483647 - files - - 97F0EDB908074C5F96389171 - 7FC0316E0D3A474DAE207938 - B860D15F4D8947D18C6CA21F - + containerPortal + 960AC0AB20464481B1F828FB isa - PBXHeadersBuildPhase - runOnlyForDeploymentPostprocessing - 0 + PBXContainerItemProxy + proxyType + 1 + remoteGlobalIDString + BC5CDB1831C74F8AABF01B10 + remoteInfo + Pods-HexColors - 5223B9E5408A4BB7AB5AC3FA + 3C72160B2C8E45918505780B - buildConfigurations - - 3D0DACDDAAB94F4DA8202A8F - 12C3F91EE0224C298A362BF0 - - defaultConfigurationIsVisible - 0 - defaultConfigurationName - Release + fileRef + A1C56EA0BB274A2D8AE23D41 isa - XCConfigurationList + PBXBuildFile - 53202C8D4E6B4B018F7C74D6 + 40DEB958567846FFA974718C includeInIndex 1 isa PBXFileReference lastKnownFileType - sourcecode.c.h - name - TSMessageView.h + text.xcconfig path - TSMessages/Views/TSMessageView.h + Pods.xcconfig sourceTree <group> - 544743058F5540DA887032D5 + 40F6BD4E11724577A3B0BA51 - fileRef - 09E89CC7D8724A98B872DF42 + buildConfigurationList + CEA591430ACF4758B1890A90 + buildPhases + + FED15D656EC849388C009B94 + 66AE72DAA7954E8BA85E178A + + buildRules + + dependencies + + 64B3E31E46754BC89FBB1F22 + BAB9C16F0D7647749599679F + isa - PBXBuildFile - settings - - COMPILER_FLAGS - -fobjc-arc -DOS_OBJECT_USE_OBJC=0 - + PBXNativeTarget + name + Pods + productName + Pods + productReference + D1D2457075E847678498CAE1 + productType + com.apple.product-type.library.static - 560E3253C75441BFAC032222 + 457ECD26C4F14E829E904F1D includeInIndex 1 isa PBXFileReference name - NotificationBackgroundSuccessIcon.png + NotificationButtonBackground@2x.png path - TSMessages/Resources/Images/NotificationBackgroundSuccessIcon.png + TSMessages/Resources/Images/NotificationButtonBackground@2x.png sourceTree <group> - 5867460F45EE48B7BCBF246E + 4728996C35514049BC00536B baseConfigurationReference - CCA854EFD62D4F43B92AB2F6 + 0B0F7677A5CA40EAB540A3DE buildSettings ALWAYS_SEARCH_USER_PATHS @@ -668,38 +640,34 @@ name Release - 5ED86E633260493EA1A2F499 + 4940F90FEA65410F8AFB8F8B - includeInIndex - 1 + fileRef + 6CD42DAD26174313BDE0154F isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - name - HexColor.m - path - Classes/HexColor.m - sourceTree - <group> + PBXBuildFile - 616DE37D6F1B45CC935B46AC + 4A2F32290C174C9DAA4241E0 - children + buildActionMask + 2147483647 + files - 618EA4400E7548A38F36A30A - 3DED0B6E248A4FBEB11DFB7D - 48F158896D204969B78EF9EE - EB62E0597B194FE5A930E405 + 9F7FE6B501114AA2BF5EE13F isa - PBXGroup - name - Support Files - sourceTree - SOURCE_ROOT + PBXHeadersBuildPhase + runOnlyForDeploymentPostprocessing + 0 + + 4D0B5DF76432433290E9A520 + + fileRef + 5E0CFB2579BD4622AD88E280 + isa + PBXBuildFile - 618EA4400E7548A38F36A30A + 4FB78B9DC5274E45ADE45851 includeInIndex 1 @@ -707,30 +675,19 @@ PBXFileReference lastKnownFileType sourcecode.c.objc + name + TSMessage.m path - Pods-HexColors-dummy.m + TSMessages/Classes/TSMessage.m sourceTree <group> - 63CAD95C55E041EEAD195B89 - - explicitFileType - archive.ar - includeInIndex - 0 - isa - PBXFileReference - path - libPods-TSMessages.a - sourceTree - BUILT_PRODUCTS_DIR - - 64FAFE92EB6D4225BEC33044 + 5304BFC7CDFA425CA9C08D80 buildConfigurations - 7B220166450A440C843BD8DF - 5867460F45EE48B7BCBF246E + 24C31BAB15AF47FFBD2F51E9 + 03C6013078E94A0E82974916 defaultConfigurationIsVisible 0 @@ -739,212 +696,153 @@ isa XCConfigurationList - 684D99C3E370489080DFAD7C + 53B443F40EED4B19B90DEC17 - children + buildConfigurations - 63CAD95C55E041EEAD195B89 + 329C9A0C916A4D2E93C257C4 + 7346440540A643178A28990D + defaultConfigurationIsVisible + 0 + defaultConfigurationName + Release isa - PBXGroup - name - Products - sourceTree - <group> + XCConfigurationList - 68B61584912B40AD8DB67427 + 54D3C00A46BB4E66BDEE0520 - buildConfigurationList - 64FAFE92EB6D4225BEC33044 - buildPhases - - 6D1EB0FB25E44FBAB7DBE383 - 135D534C82F94C44AF0289B6 - 513393A64B2C4D5F98177A07 - - buildRules - - dependencies - - E5B62395E5324C6A91FA3B02 - + containerPortal + 960AC0AB20464481B1F828FB isa - PBXNativeTarget - name - Pods-TSMessages - productName + PBXContainerItemProxy + proxyType + 1 + remoteGlobalIDString + 9D1220C3B8A14ECF8E1DC6F4 + remoteInfo Pods-TSMessages - productReference - 63CAD95C55E041EEAD195B89 - productType - com.apple.product-type.library.static - 69503BF241F446369D378606 + 54F3AF800B5C4CC7BFA9F7EA - children - - 7150BC66A9C84380B009DD48 - + includeInIndex + 1 isa - PBXGroup + PBXFileReference + lastKnownFileType + sourcecode.c.h name - Frameworks + HexColor.h + path + Classes/HexColor.h sourceTree <group> - 6B01F6793B184344B82979BC + 55A265BA87F447F5859D72A0 fileRef - BEBBB8EDFAD74B189406A0B0 + 2463BD24FF8D4198995F9BEB isa PBXBuildFile - settings - - COMPILER_FLAGS - -fobjc-arc -DOS_OBJECT_USE_OBJC=0 - - 6B0361DEF3DD4CEDB3E81214 + 5651147C2DFF4E698B32E32D includeInIndex 1 isa PBXFileReference lastKnownFileType - sourcecode.c.h + sourcecode.c.objc + name + TSMessageView.m path - Pods-environment.h + TSMessages/Views/TSMessageView.m sourceTree <group> - 6D1EB0FB25E44FBAB7DBE383 + 5E0CFB2579BD4622AD88E280 - buildActionMask - 2147483647 - files - - C2E8986407F543A9B622B1D2 - 2686CD3D628D49B8AD706E91 - 544743058F5540DA887032D5 - 6B01F6793B184344B82979BC - + includeInIndex + 1 isa - PBXSourcesBuildPhase - runOnlyForDeploymentPostprocessing - 0 + PBXFileReference + lastKnownFileType + sourcecode.c.objc + path + Pods-dummy.m + sourceTree + <group> - 7048A9DCF66E435485B109D8 - - containerPortal - C35E0B354E5646DEAFE4B4FA - isa - PBXContainerItemProxy - proxyType - 1 - remoteGlobalIDString - E7AEDF3C45F849A8B4358B09 - remoteInfo - Pods-HexColors - - 7150BC66A9C84380B009DD48 + 5F703371046545A2939CF01A + includeInIndex + 1 isa PBXFileReference lastKnownFileType - wrapper.framework + text name - Foundation.framework + Podfile path - System/Library/Frameworks/Foundation.framework + ../Podfile sourceTree - SDKROOT + SOURCE_ROOT + xcLanguageSpecificationIdentifier + xcode.lang.ruby - 75B471412A9147839B6A56D1 + 64B3E31E46754BC89FBB1F22 - explicitFileType - archive.ar - includeInIndex - 0 isa - PBXFileReference - path - libPods-HexColors.a - sourceTree - BUILT_PRODUCTS_DIR - - 7B220166450A440C843BD8DF - - baseConfigurationReference - CCA854EFD62D4F43B92AB2F6 - buildSettings - - ALWAYS_SEARCH_USER_PATHS - NO - COPY_PHASE_STRIP - NO - DSTROOT - /tmp/xcodeproj.dst - GCC_C_LANGUAGE_STANDARD - gnu99 - GCC_DYNAMIC_NO_PIC - NO - GCC_OPTIMIZATION_LEVEL - 0 - GCC_PRECOMPILE_PREFIX_HEADER - YES - GCC_PREFIX_HEADER - Pods-TSMessages-prefix.pch - GCC_PREPROCESSOR_DEFINITIONS - - DEBUG=1 - $(inherited) - - GCC_SYMBOLS_PRIVATE_EXTERN - NO - GCC_VERSION - com.apple.compilers.llvm.clang.1_0 - INSTALL_PATH - $(BUILT_PRODUCTS_DIR) - IPHONEOS_DEPLOYMENT_TARGET - 5.1 - OTHER_LDFLAGS - - PRODUCT_NAME - $(TARGET_NAME) - PUBLIC_HEADERS_FOLDER_PATH - $(TARGET_NAME) - SDKROOT - iphoneos - SKIP_INSTALL - YES - - isa - XCBuildConfiguration - name - Debug + PBXTargetDependency + target + BC5CDB1831C74F8AABF01B10 + targetProxy + 3B733B54AF964A7AAD3B0D37 - 7C69054C69EB4A928CD7B5E5 + 66AE72DAA7954E8BA85E178A - fileRef - 618EA4400E7548A38F36A30A + buildActionMask + 2147483647 + files + + D8E9A18E3B604B09931632C4 + 7B51E34A7E2346148F450290 + 4940F90FEA65410F8AFB8F8B + isa - PBXBuildFile + PBXFrameworksBuildPhase + runOnlyForDeploymentPostprocessing + 0 - 7FC0316E0D3A474DAE207938 + 68C15DED264D4219B1D29AC7 - fileRef - E6F8608730F84A098DEB8A05 + includeInIndex + 1 isa - PBXBuildFile + PBXFileReference + lastKnownFileType + sourcecode.c.objc + name + HexColor.m + path + Classes/HexColor.m + sourceTree + <group> - 850DFF742B9443539B374637 + 6C16DB02D58C4353B59B4E12 - fileRef - 0AF065F777E848F29746E2F6 + includeInIndex + 1 isa - PBXBuildFile + PBXFileReference + lastKnownFileType + text.xcconfig + path + Pods-HexColors.xcconfig + sourceTree + <group> - 87EB580E368F4E6CB33840A8 + 6CD42DAD26174313BDE0154F explicitFileType archive.ar @@ -953,46 +851,28 @@ isa PBXFileReference path - libPods.a + libPods-TSMessages.a sourceTree BUILT_PRODUCTS_DIR - 899217DAF97C4C3F9BAE6861 + 6F18CD3DC7F14E15AC671EF2 includeInIndex 1 isa PBXFileReference - lastKnownFileType - sourcecode.c.objc - path - Pods-dummy.m - sourceTree - <group> - - 8A93E30DB3AC40E99B0E1A12 - - children - - 6B0361DEF3DD4CEDB3E81214 - 899217DAF97C4C3F9BAE6861 - CC5BD63FA0E64476B6D096E2 - D00A0431231A400AA0A4F3B2 - 29BDFA547266427AA426611F - 08ED9A1527024644ADCBA9CD - - isa - PBXGroup name - Pods + NotificationBackgroundWarningIcon@2x.png + path + TSMessages/Resources/Images/NotificationBackgroundWarningIcon@2x.png sourceTree <group> - 8D9C3A3F98A44F99B303AB91 + 6FD011263EC84BDDBED1AFE1 children - E97E54CD959C4B56927F6158 + 9F8B269E50C449C6842AA3C1 isa PBXGroup @@ -1001,75 +881,63 @@ sourceTree <group> - 95AC99116638428092659625 - - includeInIndex - 1 - isa - PBXFileReference - name - NotificationButtonBackground.png - path - TSMessages/Resources/Images/NotificationButtonBackground.png - sourceTree - <group> - - 9633151B14DB45819E79B2B4 - - fileRef - 75B471412A9147839B6A56D1 - isa - PBXBuildFile - - 97F0EDB908074C5F96389171 + 70DB0E8F6C3D48A1BC733D2E fileRef - 3B17E30CA6F248738B1CCE1F + D22EE3B4774043D58D535E20 isa PBXBuildFile - 99E8DD8063B34CB9927C685C + 7346440540A643178A28990D - baseConfigurationReference - 08ED9A1527024644ADCBA9CD buildSettings ALWAYS_SEARCH_USER_PATHS NO - COPY_PHASE_STRIP + CLANG_CXX_LANGUAGE_STANDARD + gnu++0x + CLANG_CXX_LIBRARY + libc++ + CLANG_ENABLE_MODULES YES - DSTROOT - /tmp/xcodeproj.dst + CLANG_ENABLE_OBJC_ARC + NO + 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 + COPY_PHASE_STRIP + NO + ENABLE_NS_ASSERTIONS + NO GCC_C_LANGUAGE_STANDARD gnu99 - GCC_PRECOMPILE_PREFIX_HEADER + 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 + GCC_WARN_UNUSED_FUNCTION + YES + GCC_WARN_UNUSED_VARIABLE YES - GCC_VERSION - com.apple.compilers.llvm.clang.1_0 - INSTALL_PATH - $(BUILT_PRODUCTS_DIR) IPHONEOS_DEPLOYMENT_TARGET 5.1 - OTHER_CFLAGS - - -DNS_BLOCK_ASSERTIONS=1 - $(inherited) - - OTHER_CPLUSPLUSFLAGS - - -DNS_BLOCK_ASSERTIONS=1 - $(inherited) - - OTHER_LDFLAGS - - PRODUCT_NAME - $(TARGET_NAME) - PUBLIC_HEADERS_FOLDER_PATH - $(TARGET_NAME) - SDKROOT - iphoneos - SKIP_INSTALL - YES + STRIP_INSTALLED_PRODUCT + NO VALIDATE_PRODUCT YES @@ -1078,192 +946,241 @@ name Release - A08DC63CAC864D67BB5EF8D0 + 7369A2112BB9422BA478F6E0 includeInIndex 1 isa PBXFileReference name - NotificationBackgroundWarning.png + NotificationBackgroundMessage@2x.png path - TSMessages/Resources/Images/NotificationBackgroundWarning.png + TSMessages/Resources/Images/NotificationBackgroundMessage@2x.png sourceTree <group> - A1A1D99C3C214E88A19D1243 + 73A7EA8E61034AC98667E196 includeInIndex 1 isa PBXFileReference lastKnownFileType - text + text.xcconfig + path + Pods-HexColors-Private.xcconfig + sourceTree + <group> + + 73F1271D00AA46739C9233BA + + includeInIndex + 1 + isa + PBXFileReference name - Podfile + NotificationBackgroundSuccess@2x.png path - ../Podfile + TSMessages/Resources/Images/NotificationBackgroundSuccess@2x.png sourceTree - SOURCE_ROOT - xcLanguageSpecificationIdentifier - xcode.lang.ruby + <group> - A3336BB570604D1B91C8DF90 + 765AFF434ED547D0B29EBC1C - children - - AF317538018444A5BCCE7E50 - 41F15AC86CD44FEEA58FC25A - B430868717094FA5818548C7 - CD662529CAB847FD9E04D618 - BAEF50BEB4FB427C888F0C83 - 0664DAB085284272A58FA5C1 - C7F2DD42A80247B39C9E8B0A - D83066B9EE164853BDDADFC1 - EF26C31740F34C1DA03DE6F0 - 560E3253C75441BFAC032222 - F062BB1E748A4BA18E2EE45B - A08DC63CAC864D67BB5EF8D0 - E9D4E4D4993E44ECA6E4D666 - 3FFBF8A4E845423A93DE50A6 - 07359EA6F65641E7B1FA9119 - 95AC99116638428092659625 - 3EEBBA57508D41E99C45BA64 - + includeInIndex + 1 isa - PBXGroup + PBXFileReference name - Resources + NotificationButtonBackground.png + path + TSMessages/Resources/Images/NotificationButtonBackground.png sourceTree <group> - A5C45F2F48AB4C5880D46F26 + 7B51E34A7E2346148F450290 + + fileRef + 259060024F734777BBEE0224 + isa + PBXBuildFile + + 800156CDE3FA4B5EA1AFC2FA children - 87EB580E368F4E6CB33840A8 + 54F3AF800B5C4CC7BFA9F7EA + 68C15DED264D4219B1D29AC7 + B356E772B5254879B61E7376 isa PBXGroup name - Products + HexColors + path + HexColors sourceTree <group> - A68C68D28A4A4CE5A2765112 + 87375B4DDB794013BF02CB2E includeInIndex 1 isa PBXFileReference - lastKnownFileType - text.xcconfig + name + NotificationBackgroundWarningIcon.png path - Pods-TSMessages.xcconfig + TSMessages/Resources/Images/NotificationBackgroundWarningIcon.png sourceTree <group> - A819D4D0AFD046CBBA030B26 + 8FE07178853342E09250918D buildActionMask 2147483647 files - AD7AEBFA715C431B9F5FB89A + 2E04345824C144B786437EA1 isa PBXFrameworksBuildPhase runOnlyForDeploymentPostprocessing 0 - ACA8E41999534F83A6B1699C - - children - - 8A93E30DB3AC40E99B0E1A12 - - isa - PBXGroup - name - Targets Support Files - sourceTree - <group> - - AD7AEBFA715C431B9F5FB89A + 960AC0AB20464481B1F828FB - fileRef - 7150BC66A9C84380B009DD48 - isa - PBXBuildFile - - ADE06B4A58814760A98532FC - - buildSettings + attributes - IPHONEOS_DEPLOYMENT_TARGET - 5.1 - STRIP_INSTALLED_PRODUCT - NO + LastUpgradeCheck + 0500 + buildConfigurationList + 53B443F40EED4B19B90DEC17 + compatibilityVersion + Xcode 3.2 + developmentRegion + English + hasScannedForEncodings + 0 isa - XCBuildConfiguration - name - Release + PBXProject + knownRegions + + en + + mainGroup + 24240995116B46EAB0AF513E + productRefGroup + B2A7A54260A043A2874D2AEE + projectDirPath + + projectReferences + + projectRoot + + targets + + 40F6BD4E11724577A3B0BA51 + BC5CDB1831C74F8AABF01B10 + 9D1220C3B8A14ECF8E1DC6F4 + - AF317538018444A5BCCE7E50 + 9BB63CE3AC754A8BAC5EF09D includeInIndex 1 isa PBXFileReference - name - TSMessagesDefaultDesign.json + lastKnownFileType + sourcecode.c.h path - TSMessages/Resources/TSMessagesDefaultDesign.json + Pods-TSMessages-prefix.pch sourceTree <group> - B430868717094FA5818548C7 + 9D1220C3B8A14ECF8E1DC6F4 - includeInIndex - 1 + buildConfigurationList + A75A171CD8D145AD9F6561AC + buildPhases + + AA6C165C94CD4E6BBC98FF00 + 8FE07178853342E09250918D + 3A4D7998F45E4CFD93B86CD0 + + buildRules + + dependencies + + C1442F3F598F4DD7840D05CE + isa - PBXFileReference + PBXNativeTarget name - NotificationBackgroundError@2x.png - path - TSMessages/Resources/Images/NotificationBackgroundError@2x.png - sourceTree - <group> + Pods-TSMessages + productName + Pods-TSMessages + productReference + 6CD42DAD26174313BDE0154F + productType + com.apple.product-type.library.static - B860D15F4D8947D18C6CA21F + 9F7FE6B501114AA2BF5EE13F fileRef - 53202C8D4E6B4B018F7C74D6 + 54F3AF800B5C4CC7BFA9F7EA isa PBXBuildFile - BAEF50BEB4FB427C888F0C83 + 9F8B269E50C449C6842AA3C1 - includeInIndex - 1 + children + + 0D5A2A53932944A6AE8A4CA1 + 2415DE35049842A2AFFA2686 + 2463BD24FF8D4198995F9BEB + 4FB78B9DC5274E45ADE45851 + D981CB2AF212488C83B57089 + 5651147C2DFF4E698B32E32D + DD89D3A0E2E546B5B104B74C + B8EA8C8B92B54E3AAC2710C9 + isa - PBXFileReference + PBXGroup name - NotificationBackgroundErrorIcon@2x.png + TSMessages path - TSMessages/Resources/Images/NotificationBackgroundErrorIcon@2x.png + ../.. sourceTree <group> - BE1F7843899B486681962C59 + A0557B42439D46EBBCCD5BE2 fileRef - 63CAD95C55E041EEAD195B89 + 5651147C2DFF4E698B32E32D isa PBXBuildFile + settings + + COMPILER_FLAGS + -fobjc-arc -DOS_OBJECT_USE_OBJC=0 + - BEBBB8EDFAD74B189406A0B0 + A10A43940FF148AA829DF51D + + containerPortal + 960AC0AB20464481B1F828FB + isa + PBXContainerItemProxy + proxyType + 1 + remoteGlobalIDString + BC5CDB1831C74F8AABF01B10 + remoteInfo + Pods-HexColors + + A1C56EA0BB274A2D8AE23D41 includeInIndex 1 @@ -1271,243 +1188,322 @@ PBXFileReference lastKnownFileType sourcecode.c.objc - name - TSMessageView.m path - TSMessages/Views/TSMessageView.m + Pods-HexColors-dummy.m sourceTree <group> - C153462D0780424C997F2D88 + A1DEA504AFA84A758E9E82AA - buildConfigurations + buildActionMask + 2147483647 + files - 008FCB1214A547FABF2ACE78 - 99E8DD8063B34CB9927C685C + 1D7A52D5728F41E785C322DC - defaultConfigurationIsVisible - 0 - defaultConfigurationName - Release isa - XCConfigurationList - - C2E8986407F543A9B622B1D2 - - fileRef - C49A102233D542D7BC33EA02 - isa - PBXBuildFile - - C35E0B354E5646DEAFE4B4FA - - attributes - - LastUpgradeCheck - 0500 - - buildConfigurationList - E649BF1EB5B14728861CDEE1 - compatibilityVersion - Xcode 3.2 - developmentRegion - English - hasScannedForEncodings + PBXFrameworksBuildPhase + runOnlyForDeploymentPostprocessing 0 - isa - PBXProject - knownRegions - - en - - mainGroup - D7D3F2C08A5C43D4A9998514 - productRefGroup - A5C45F2F48AB4C5880D46F26 - projectDirPath - - projectReferences - - projectRoot - - targets - - 231C8250C74C4AFB9E3469E5 - E7AEDF3C45F849A8B4358B09 - 68B61584912B40AD8DB67427 - - C49A102233D542D7BC33EA02 + A26FAF9921E24272A13C6AE0 includeInIndex 1 isa PBXFileReference - lastKnownFileType - sourcecode.c.objc + name + NotificationBackgroundErrorIcon.png path - Pods-TSMessages-dummy.m + TSMessages/Resources/Images/NotificationBackgroundErrorIcon.png sourceTree <group> - C7F2DD42A80247B39C9E8B0A + A4CE9FC3E73543C38D323E2D + + isa + PBXFileReference + lastKnownFileType + wrapper.framework + name + Foundation.framework + path + Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk/System/Library/Frameworks/Foundation.framework + sourceTree + DEVELOPER_DIR + + A4D243890D05418CB11439DB includeInIndex 1 isa PBXFileReference - name - NotificationBackgroundMessage@2x.png + lastKnownFileType + text.xcconfig path - TSMessages/Resources/Images/NotificationBackgroundMessage@2x.png + Pods-TSMessages.xcconfig sourceTree <group> - CC58D3CE77FE488681CFF19F + A75A171CD8D145AD9F6561AC + buildConfigurations + + 04BEA0BD41874685ACBC8DA2 + 4728996C35514049BC00536B + + defaultConfigurationIsVisible + 0 + defaultConfigurationName + Release isa - PBXTargetDependency - target - 68B61584912B40AD8DB67427 - targetProxy - 1879866D15D84BC5B4A108BA + XCConfigurationList - CC5BD63FA0E64476B6D096E2 + A9AEC5BA924F4382B5749ACC includeInIndex 1 isa PBXFileReference - lastKnownFileType - text + name + NotificationBackgroundError.png path - Pods-acknowledgements.markdown + TSMessages/Resources/Images/NotificationBackgroundError.png sourceTree <group> - CCA854EFD62D4F43B92AB2F6 + AA6C165C94CD4E6BBC98FF00 + + buildActionMask + 2147483647 + files + + 70DB0E8F6C3D48A1BC733D2E + CABF247B7697439E883E462B + E3E553FD14FA42C1ACFA5816 + A0557B42439D46EBBCCD5BE2 + + isa + PBXSourcesBuildPhase + runOnlyForDeploymentPostprocessing + 0 + + AABC6754D5F9439D9E9892C3 includeInIndex 1 isa PBXFileReference lastKnownFileType - text.xcconfig + sourcecode.c.h path - Pods-TSMessages-Private.xcconfig + Pods-environment.h sourceTree <group> - CD662529CAB847FD9E04D618 + B2A7A54260A043A2874D2AEE - includeInIndex - 1 + children + + D1D2457075E847678498CAE1 + 259060024F734777BBEE0224 + 6CD42DAD26174313BDE0154F + isa - PBXFileReference + PBXGroup name - NotificationBackgroundErrorIcon.png - path - TSMessages/Resources/Images/NotificationBackgroundErrorIcon.png + Products sourceTree <group> - CE97B018E4C2414A9A5C3FAB + B33D4E81354E49398E2C3DC8 includeInIndex 1 isa PBXFileReference - lastKnownFileType - sourcecode.c.h + name + NotificationBackgroundMessage.png path - Pods-TSMessages-prefix.pch + TSMessages/Resources/Images/NotificationBackgroundMessage.png sourceTree <group> - D00A0431231A400AA0A4F3B2 + B356E772B5254879B61E7376 + + children + + 6C16DB02D58C4353B59B4E12 + 73A7EA8E61034AC98667E196 + A1C56EA0BB274A2D8AE23D41 + 0B14269B41954AC9B148A5F9 + + isa + PBXGroup + name + Support Files + sourceTree + SOURCE_ROOT + + B600F65B8D7D41ED85CBCC57 includeInIndex 1 isa PBXFileReference lastKnownFileType - text.plist.xml + text.script.sh path - Pods-acknowledgements.plist + Pods-resources.sh sourceTree <group> - D52EEB5E95A5449CB60B0762 + B6094657571848A4829418BE - children - - 0AF065F777E848F29746E2F6 - 5ED86E633260493EA1A2F499 - + baseConfigurationReference + 40DEB958567846FFA974718C + buildSettings + + ALWAYS_SEARCH_USER_PATHS + NO + COPY_PHASE_STRIP + NO + DSTROOT + /tmp/xcodeproj.dst + GCC_C_LANGUAGE_STANDARD + gnu99 + GCC_DYNAMIC_NO_PIC + NO + GCC_OPTIMIZATION_LEVEL + 0 + GCC_PRECOMPILE_PREFIX_HEADER + YES + GCC_PREPROCESSOR_DEFINITIONS + + DEBUG=1 + $(inherited) + + GCC_SYMBOLS_PRIVATE_EXTERN + NO + GCC_VERSION + com.apple.compilers.llvm.clang.1_0 + INSTALL_PATH + $(BUILT_PRODUCTS_DIR) + IPHONEOS_DEPLOYMENT_TARGET + 5.1 + OTHER_LDFLAGS + + PRODUCT_NAME + $(TARGET_NAME) + PUBLIC_HEADERS_FOLDER_PATH + $(TARGET_NAME) + SDKROOT + iphoneos + SKIP_INSTALL + YES + isa - PBXGroup + XCBuildConfiguration name - Source Files - sourceTree - <group> + Debug - D6101DA0AC8A4BA5AC30167C + B8EA8C8B92B54E3AAC2710C9 children - 0C3AF44C9B9D401A981B09FD + A4D243890D05418CB11439DB + 0B0F7677A5CA40EAB540A3DE + D22EE3B4774043D58D535E20 + 9BB63CE3AC754A8BAC5EF09D isa PBXGroup name - Pods + Support Files sourceTree - <group> + SOURCE_ROOT + + BAB9C16F0D7647749599679F + + isa + PBXTargetDependency + target + 9D1220C3B8A14ECF8E1DC6F4 + targetProxy + 54D3C00A46BB4E66BDEE0520 - D7D3F2C08A5C43D4A9998514 + BBEBDD261DC34FB8BB236341 children - 8D9C3A3F98A44F99B303AB91 - 69503BF241F446369D378606 - D6101DA0AC8A4BA5AC30167C - A5C45F2F48AB4C5880D46F26 - ACA8E41999534F83A6B1699C - A1A1D99C3C214E88A19D1243 + E95AE17553B84BCD971EAC70 isa PBXGroup + name + Frameworks sourceTree <group> - D83066B9EE164853BDDADFC1 + BC5CDB1831C74F8AABF01B10 - includeInIndex - 1 + buildConfigurationList + 5304BFC7CDFA425CA9C08D80 + buildPhases + + E7CE3C41B4E042728248247C + A1DEA504AFA84A758E9E82AA + 4A2F32290C174C9DAA4241E0 + + buildRules + + dependencies + isa - PBXFileReference + PBXNativeTarget name - NotificationBackgroundSuccess.png - path - TSMessages/Resources/Images/NotificationBackgroundSuccess.png - sourceTree - <group> + Pods-HexColors + productName + Pods-HexColors + productReference + 259060024F734777BBEE0224 + productType + com.apple.product-type.library.static - E5B62395E5324C6A91FA3B02 + C1442F3F598F4DD7840D05CE isa PBXTargetDependency target - E7AEDF3C45F849A8B4358B09 + BC5CDB1831C74F8AABF01B10 targetProxy - 7048A9DCF66E435485B109D8 + A10A43940FF148AA829DF51D + + CABF247B7697439E883E462B + + fileRef + 2415DE35049842A2AFFA2686 + isa + PBXBuildFile + settings + + COMPILER_FLAGS + -fobjc-arc -DOS_OBJECT_USE_OBJC=0 + - E649BF1EB5B14728861CDEE1 + CD45345C93F34361BC1B6E10 + + fileRef + 0D5A2A53932944A6AE8A4CA1 + isa + PBXBuildFile + + CEA591430ACF4758B1890A90 buildConfigurations - 26254BFC82E04500BF05E57B - ADE06B4A58814760A98532FC + B6094657571848A4829418BE + 1FA50EC3B88C4C0CB1B14CA1 defaultConfigurationIsVisible 0 @@ -1516,152 +1512,212 @@ isa XCConfigurationList - E6F8608730F84A098DEB8A05 + D1D2457075E847678498CAE1 + + explicitFileType + archive.ar + includeInIndex + 0 + isa + PBXFileReference + path + libPods.a + sourceTree + BUILT_PRODUCTS_DIR + + D22EE3B4774043D58D535E20 includeInIndex 1 isa PBXFileReference lastKnownFileType - sourcecode.c.h - name - TSMessage.h + sourcecode.c.objc path - TSMessages/Classes/TSMessage.h + Pods-TSMessages-dummy.m sourceTree <group> - E7AEDF3C45F849A8B4358B09 + D28618AA782C49A5B8F568CC - buildConfigurationList - 5223B9E5408A4BB7AB5AC3FA - buildPhases - - FF6F3D5673F44B39A7D6E9E6 - A819D4D0AFD046CBBA030B26 - 13D06846069C48AA81FDBCA0 - - buildRules - - dependencies - + includeInIndex + 1 isa - PBXNativeTarget + PBXFileReference name - Pods-HexColors - productName - Pods-HexColors - productReference - 75B471412A9147839B6A56D1 - productType - com.apple.product-type.library.static + NotificationBackgroundSuccessIcon.png + path + TSMessages/Resources/Images/NotificationBackgroundSuccessIcon.png + sourceTree + <group> - E7F054B132B240E3BCC9A26E + D8E9A18E3B604B09931632C4 - containerPortal - C35E0B354E5646DEAFE4B4FA + fileRef + A4CE9FC3E73543C38D323E2D isa - PBXContainerItemProxy - proxyType + PBXBuildFile + + D981CB2AF212488C83B57089 + + includeInIndex 1 - remoteGlobalIDString - E7AEDF3C45F849A8B4358B09 - remoteInfo - Pods-HexColors + isa + PBXFileReference + lastKnownFileType + sourcecode.c.h + name + TSMessageView.h + path + TSMessages/Views/TSMessageView.h + sourceTree + <group> - E97E54CD959C4B56927F6158 + DD89D3A0E2E546B5B104B74C children - 684D99C3E370489080DFAD7C - A3336BB570604D1B91C8DF90 - 3A68D0F35A2448709D775945 - 492C1D29D48B4EB38856AC3E + A9AEC5BA924F4382B5749ACC + FB594E4FA1A145B6B1A7EE4E + A26FAF9921E24272A13C6AE0 + E5DAFA8555EB40D78468A0D6 + B33D4E81354E49398E2C3DC8 + 7369A2112BB9422BA478F6E0 + FD949A47B9334D55AED8D090 + 73F1271D00AA46739C9233BA + D28618AA782C49A5B8F568CC + 14833BC0FBFB4B0C8672D8D3 + 2D687DE1255D459FAC46B986 + 38EC203546A14BD0913E36FB + 87375B4DDB794013BF02CB2E + 6F18CD3DC7F14E15AC671EF2 + 765AFF434ED547D0B29EBC1C + 457ECD26C4F14E829E904F1D + 2CB643C08C4B48B6983B92A0 isa PBXGroup name - TSMessages + Resources + sourceTree + <group> + + DE80330D02144B4CB72AAC15 + + includeInIndex + 1 + isa + PBXFileReference + lastKnownFileType + text path - ../.. + Pods-acknowledgements.markdown sourceTree <group> - E9D4E4D4993E44ECA6E4D666 + E3E553FD14FA42C1ACFA5816 + + fileRef + 4FB78B9DC5274E45ADE45851 + isa + PBXBuildFile + settings + + COMPILER_FLAGS + -fobjc-arc -DOS_OBJECT_USE_OBJC=0 + + + E5DAFA8555EB40D78468A0D6 includeInIndex 1 isa PBXFileReference name - NotificationBackgroundWarning@2x.png + NotificationBackgroundErrorIcon@2x.png path - TSMessages/Resources/Images/NotificationBackgroundWarning@2x.png + TSMessages/Resources/Images/NotificationBackgroundErrorIcon@2x.png sourceTree <group> - EB2450E8D1A647E290A31F05 + E7CE3C41B4E042728248247C buildActionMask 2147483647 files - 4EC9FB627F934E5B8D11BC28 - 9633151B14DB45819E79B2B4 - BE1F7843899B486681962C59 + 27BA6AF02B394EEDAD3073AA + 3C72160B2C8E45918505780B isa - PBXFrameworksBuildPhase + PBXSourcesBuildPhase runOnlyForDeploymentPostprocessing 0 - EB62E0597B194FE5A930E405 + E95AE17553B84BCD971EAC70 - includeInIndex - 1 + children + + A4CE9FC3E73543C38D323E2D + isa - PBXFileReference - lastKnownFileType - text.xcconfig - path - Pods-HexColors-Private.xcconfig + PBXGroup + name + iOS sourceTree <group> - EF26C31740F34C1DA03DE6F0 + FB594E4FA1A145B6B1A7EE4E includeInIndex 1 isa PBXFileReference name - NotificationBackgroundSuccess@2x.png + NotificationBackgroundError@2x.png path - TSMessages/Resources/Images/NotificationBackgroundSuccess@2x.png + TSMessages/Resources/Images/NotificationBackgroundError@2x.png sourceTree <group> - F062BB1E748A4BA18E2EE45B + FD949A47B9334D55AED8D090 includeInIndex 1 isa PBXFileReference name - NotificationBackgroundSuccessIcon@2x.png + NotificationBackgroundSuccess.png path - TSMessages/Resources/Images/NotificationBackgroundSuccessIcon@2x.png + TSMessages/Resources/Images/NotificationBackgroundSuccess.png + sourceTree + <group> + + FE01A87B16DA489ABE41A574 + + children + + 40DEB958567846FFA974718C + DE80330D02144B4CB72AAC15 + 34EC7EF804A54DD38BFE4A78 + 5E0CFB2579BD4622AD88E280 + AABC6754D5F9439D9E9892C3 + B600F65B8D7D41ED85CBCC57 + + isa + PBXGroup + name + Pods sourceTree <group> - FF6F3D5673F44B39A7D6E9E6 + FED15D656EC849388C009B94 buildActionMask 2147483647 files - 1B314248BB734734ADC43083 - 7C69054C69EB4A928CD7B5E5 + 4D0B5DF76432433290E9A520 isa PBXSourcesBuildPhase @@ -1670,6 +1726,6 @@ rootObject - C35E0B354E5646DEAFE4B4FA + 960AC0AB20464481B1F828FB diff --git a/TSMessages/Classes/TSMessage.h b/TSMessages/Classes/TSMessage.h index 4156f5d0..f31454a0 100755 --- a/TSMessages/Classes/TSMessage.h +++ b/TSMessages/Classes/TSMessage.h @@ -83,6 +83,38 @@ typedef NS_ENUM(NSInteger,TSMessageNotificationDuration) { subtitle:(NSString *)subtitle type:(TSMessageNotificationType)type; +/** Shows a notification message in a specific view controller with a specific duration + @param viewController The view controller to show the notification in. + You can use +setDefaultViewController: to set the the default one instead + @param title The title of the notification view + @param subtitle The text that is displayed underneath the title + @param type The notification type (Message, Warning, Error, Success) + @param duration The duration of the notification being displayed + */ ++ (void)showNotificationInViewController:(UIViewController *)viewController + title:(NSString *)title + subtitle:(NSString *)subtitle + type:(TSMessageNotificationType)type + duration:(NSTimeInterval)duration; + +/** Shows a notification message in a specific view controller with a specific duration + @param viewController The view controller to show the notification in. + You can use +setDefaultViewController: to set the the default one instead + @param title The title of the notification view + @param subtitle The text that is displayed underneath the title + @param type The notification type (Message, Warning, Error, Success) + @param duration The duration of the notification being displayed + @param dismissingEnabled Should the message be dismissed when the user taps/swipes it + */ ++ (void)showNotificationInViewController:(UIViewController *)viewController + title:(NSString *)title + subtitle:(NSString *)subtitle + type:(TSMessageNotificationType)type + duration:(NSTimeInterval)duration + canBeDismissedByUser:(BOOL)dismissingEnabled; + + + /** Shows a notification message in a specific view controller @param viewController The view controller to show the notification in. @param title The title of the notification view diff --git a/TSMessages/Classes/TSMessage.m b/TSMessages/Classes/TSMessage.m index 5fbb149e..d3be3300 100755 --- a/TSMessages/Classes/TSMessage.m +++ b/TSMessages/Classes/TSMessage.m @@ -65,6 +65,45 @@ + (void)showNotificationWithTitle:(NSString *)title type:type]; } ++ (void)showNotificationInViewController:(UIViewController *)viewController + title:(NSString *)title + subtitle:(NSString *)subtitle + type:(TSMessageNotificationType)type + duration:(NSTimeInterval)duration +{ + [self showNotificationInViewController:viewController + title:title + subtitle:subtitle + image:nil + type:type + duration:duration + callback:nil + buttonTitle:nil + buttonCallback:nil + atPosition:TSMessageNotificationPositionTop + canBeDismissedByUser:YES]; +} + ++ (void)showNotificationInViewController:(UIViewController *)viewController + title:(NSString *)title + subtitle:(NSString *)subtitle + type:(TSMessageNotificationType)type + duration:(NSTimeInterval)duration + canBeDismissedByUser:(BOOL)dismissingEnabled +{ + [self showNotificationInViewController:viewController + title:title + subtitle:subtitle + image:nil + type:type + duration:duration + callback:nil + buttonTitle:nil + buttonCallback:nil + atPosition:TSMessageNotificationPositionTop + canBeDismissedByUser:dismissingEnabled]; +} + + (void)showNotificationInViewController:(UIViewController *)viewController title:(NSString *)title subtitle:(NSString *)subtitle