From 968388e7049b4b48442af16ec4dc92309933bc40 Mon Sep 17 00:00:00 2001 From: rabzu Date: Thu, 9 Apr 2015 19:09:08 +0100 Subject: [PATCH] Demo in Swift --- .swp | Bin 0 -> 20480 bytes .../project.pbxproj | 529 ----------- BLKFlexibleHeightBar Demo/AppDelegate.h | 17 - BLKFlexibleHeightBar Demo/AppDelegate.m | 45 - .../DemoViewController.h | 15 - .../DemoViewController.m | 44 - BLKFlexibleHeightBar Demo/FacebookStyleBar.h | 13 - BLKFlexibleHeightBar Demo/FacebookStyleBar.m | 100 -- .../FacebookStyleViewController.h | 13 - .../FacebookStyleViewController.m | 102 --- .../ProfilePicture.imageset/Contents.json | 20 - .../SquareCashStyleBar.h | 14 - .../SquareCashStyleBar.m | 79 -- .../SquareCashStyleViewController.h | 13 - .../SquareCashStyleViewController.m | 100 -- BLKFlexibleHeightBar Demo/main.m | 16 - .../BLKFlexibleHeightBar_DemoTests.m | 40 - BLKFlexibleHeightBar.podspec | 14 - .../project.pbxproj | 585 ++++++++++++ .../contents.xcworkspacedata | 2 +- .../contents.xcworkspacedata | 10 + .../AppDelegate.swift | 46 + .../Base.lproj/LaunchScreen.xib | 4 +- .../Close.png | Bin .../FacebookStyleBar.swift | 120 +++ .../FacebookStyleViewController.swift | 106 +++ BLKFlexibleHeightBarSwiftDemo/Header.h | 9 + .../AppIcon.appiconset/Contents.json | 0 .../Info.plist | 6 +- .../Main.storyboard | 50 +- .../ProfilePicture.png | Bin .../SquareCashStyleBar.swift | 82 ++ .../SquareCashStyleViewController.swift | 91 ++ .../facebook-icon.png | Bin .../square-cash-icon.png | Bin .../BLKFlexibleHeightBarSwiftDemoTests.swift | 36 + .../Info.plist | 2 +- Podfile | 12 + Podfile.lock | 10 + .../BLKDelegateSplitter.h | 0 .../BLKDelegateSplitter.m | 0 .../BLKFlexibleHeightBar.h | 0 .../BLKFlexibleHeightBar.m | 0 .../BLKFlexibleHeightBarBehaviorDefiner.h | 0 .../BLKFlexibleHeightBarBehaviorDefiner.m | 0 ...FlexibleHeightBarSubviewLayoutAttributes.h | 0 ...FlexibleHeightBarSubviewLayoutAttributes.m | 0 .../FacebookStyleBarBehaviorDefiner.h | 0 .../FacebookStyleBarBehaviorDefiner.m | 0 .../SquareCashStyleBehaviorDefiner.h | 0 .../SquareCashStyleBehaviorDefiner.m | 0 .../UIView+BLKFlexibleHeightBarSubview.h | 0 .../UIView+BLKFlexibleHeightBarSubview.m | 0 .../BLKFlexibleHeightBar/LICENSE.md | 0 Pods/BLKFlexibleHeightBar/README.md | 163 ++++ .../BLKDelegateSplitter.h | 1 + .../BLKFlexibleHeightBar.h | 1 + .../BLKFlexibleHeightBarBehaviorDefiner.h | 1 + ...FlexibleHeightBarSubviewLayoutAttributes.h | 1 + .../FacebookStyleBarBehaviorDefiner.h | 1 + .../SquareCashStyleBehaviorDefiner.h | 1 + .../UIView+BLKFlexibleHeightBarSubview.h | 1 + .../BLKDelegateSplitter.h | 1 + .../BLKFlexibleHeightBar.h | 1 + .../BLKFlexibleHeightBarBehaviorDefiner.h | 1 + ...FlexibleHeightBarSubviewLayoutAttributes.h | 1 + .../FacebookStyleBarBehaviorDefiner.h | 1 + .../SquareCashStyleBehaviorDefiner.h | 1 + .../UIView+BLKFlexibleHeightBarSubview.h | 1 + Pods/Manifest.lock | 10 + Pods/Pods.xcodeproj/project.pbxproj | 864 ++++++++++++++++++ .../Info.plist | 26 + ...Demo-BLKFlexibleHeightBar-Private.xcconfig | 9 + ...tBarSwiftDemo-BLKFlexibleHeightBar-dummy.m | 5 + ...rSwiftDemo-BLKFlexibleHeightBar-prefix.pch | 5 + ...rSwiftDemo-BLKFlexibleHeightBar-umbrella.h | 13 + ...arSwiftDemo-BLKFlexibleHeightBar.modulemap | 6 + ...BarSwiftDemo-BLKFlexibleHeightBar.xcconfig | 0 .../Info.plist | 26 + ...ightBarSwiftDemo-acknowledgements.markdown | 14 + ...eHeightBarSwiftDemo-acknowledgements.plist | 44 + ...Pods-BLKFlexibleHeightBarSwiftDemo-dummy.m | 5 + ...LKFlexibleHeightBarSwiftDemo-environment.h | 14 + ...LKFlexibleHeightBarSwiftDemo-frameworks.sh | 55 ++ ...BLKFlexibleHeightBarSwiftDemo-resources.sh | 78 ++ ...s-BLKFlexibleHeightBarSwiftDemo-umbrella.h | 6 + ...KFlexibleHeightBarSwiftDemo.debug.xcconfig | 8 + ...ds-BLKFlexibleHeightBarSwiftDemo.modulemap | 6 + ...lexibleHeightBarSwiftDemo.release.xcconfig | 8 + .../Info.plist | 26 + ...ests-BLKFlexibleHeightBar-Private.xcconfig | 9 + ...wiftDemoTests-BLKFlexibleHeightBar-dummy.m | 5 + ...tDemoTests-BLKFlexibleHeightBar-prefix.pch | 5 + ...tDemoTests-BLKFlexibleHeightBar-umbrella.h | 13 + ...ftDemoTests-BLKFlexibleHeightBar.modulemap | 6 + ...iftDemoTests-BLKFlexibleHeightBar.xcconfig | 0 .../Info.plist | 26 + ...arSwiftDemoTests-acknowledgements.markdown | 14 + ...htBarSwiftDemoTests-acknowledgements.plist | 44 + ...BLKFlexibleHeightBarSwiftDemoTests-dummy.m | 5 + ...xibleHeightBarSwiftDemoTests-environment.h | 14 + ...xibleHeightBarSwiftDemoTests-frameworks.sh | 55 ++ ...exibleHeightBarSwiftDemoTests-resources.sh | 78 ++ ...FlexibleHeightBarSwiftDemoTests-umbrella.h | 6 + ...ibleHeightBarSwiftDemoTests.debug.xcconfig | 8 + ...KFlexibleHeightBarSwiftDemoTests.modulemap | 6 + ...leHeightBarSwiftDemoTests.release.xcconfig | 8 + backup-DVTIbeamCursor.tiff | Bin 0 -> 6426 bytes pbcopy | 0 109 files changed, 2849 insertions(+), 1203 deletions(-) create mode 100644 .swp delete mode 100644 BLKFlexibleHeightBar Demo.xcodeproj/project.pbxproj delete mode 100644 BLKFlexibleHeightBar Demo/AppDelegate.h delete mode 100644 BLKFlexibleHeightBar Demo/AppDelegate.m delete mode 100644 BLKFlexibleHeightBar Demo/DemoViewController.h delete mode 100644 BLKFlexibleHeightBar Demo/DemoViewController.m delete mode 100644 BLKFlexibleHeightBar Demo/FacebookStyleBar.h delete mode 100644 BLKFlexibleHeightBar Demo/FacebookStyleBar.m delete mode 100644 BLKFlexibleHeightBar Demo/FacebookStyleViewController.h delete mode 100644 BLKFlexibleHeightBar Demo/FacebookStyleViewController.m delete mode 100644 BLKFlexibleHeightBar Demo/Images.xcassets/ProfilePicture.imageset/Contents.json delete mode 100644 BLKFlexibleHeightBar Demo/SquareCashStyleBar.h delete mode 100644 BLKFlexibleHeightBar Demo/SquareCashStyleBar.m delete mode 100644 BLKFlexibleHeightBar Demo/SquareCashStyleViewController.h delete mode 100644 BLKFlexibleHeightBar Demo/SquareCashStyleViewController.m delete mode 100644 BLKFlexibleHeightBar Demo/main.m delete mode 100644 BLKFlexibleHeightBar DemoTests/BLKFlexibleHeightBar_DemoTests.m delete mode 100644 BLKFlexibleHeightBar.podspec create mode 100644 BLKFlexibleHeightBarSwiftDemo.xcodeproj/project.pbxproj rename {BLKFlexibleHeightBar Demo.xcodeproj => BLKFlexibleHeightBarSwiftDemo.xcodeproj}/project.xcworkspace/contents.xcworkspacedata (62%) create mode 100644 BLKFlexibleHeightBarSwiftDemo.xcworkspace/contents.xcworkspacedata create mode 100644 BLKFlexibleHeightBarSwiftDemo/AppDelegate.swift rename {BLKFlexibleHeightBar Demo => BLKFlexibleHeightBarSwiftDemo}/Base.lproj/LaunchScreen.xib (86%) rename {BLKFlexibleHeightBar Demo => BLKFlexibleHeightBarSwiftDemo}/Close.png (100%) mode change 100644 => 100755 create mode 100644 BLKFlexibleHeightBarSwiftDemo/FacebookStyleBar.swift create mode 100644 BLKFlexibleHeightBarSwiftDemo/FacebookStyleViewController.swift create mode 100644 BLKFlexibleHeightBarSwiftDemo/Header.h rename {BLKFlexibleHeightBar Demo => BLKFlexibleHeightBarSwiftDemo}/Images.xcassets/AppIcon.appiconset/Contents.json (100%) rename {BLKFlexibleHeightBar Demo => BLKFlexibleHeightBarSwiftDemo}/Info.plist (88%) rename {BLKFlexibleHeightBar Demo/Base.lproj => BLKFlexibleHeightBarSwiftDemo}/Main.storyboard (83%) mode change 100644 => 100755 rename {BLKFlexibleHeightBar Demo => BLKFlexibleHeightBarSwiftDemo}/ProfilePicture.png (100%) mode change 100644 => 100755 create mode 100644 BLKFlexibleHeightBarSwiftDemo/SquareCashStyleBar.swift create mode 100644 BLKFlexibleHeightBarSwiftDemo/SquareCashStyleViewController.swift rename {BLKFlexibleHeightBar Demo => BLKFlexibleHeightBarSwiftDemo}/facebook-icon.png (100%) mode change 100644 => 100755 rename {BLKFlexibleHeightBar Demo => BLKFlexibleHeightBarSwiftDemo}/square-cash-icon.png (100%) mode change 100644 => 100755 create mode 100644 BLKFlexibleHeightBarSwiftDemoTests/BLKFlexibleHeightBarSwiftDemoTests.swift rename {BLKFlexibleHeightBar DemoTests => BLKFlexibleHeightBarSwiftDemoTests}/Info.plist (90%) create mode 100644 Podfile create mode 100644 Podfile.lock rename {BLKFlexibleHeightBar => Pods/BLKFlexibleHeightBar/BLKFlexibleHeightBar}/BLKDelegateSplitter.h (100%) rename {BLKFlexibleHeightBar => Pods/BLKFlexibleHeightBar/BLKFlexibleHeightBar}/BLKDelegateSplitter.m (100%) rename {BLKFlexibleHeightBar => Pods/BLKFlexibleHeightBar/BLKFlexibleHeightBar}/BLKFlexibleHeightBar.h (100%) rename {BLKFlexibleHeightBar => Pods/BLKFlexibleHeightBar/BLKFlexibleHeightBar}/BLKFlexibleHeightBar.m (100%) rename {BLKFlexibleHeightBar => Pods/BLKFlexibleHeightBar/BLKFlexibleHeightBar}/BLKFlexibleHeightBarBehaviorDefiner.h (100%) rename {BLKFlexibleHeightBar => Pods/BLKFlexibleHeightBar/BLKFlexibleHeightBar}/BLKFlexibleHeightBarBehaviorDefiner.m (100%) rename {BLKFlexibleHeightBar => Pods/BLKFlexibleHeightBar/BLKFlexibleHeightBar}/BLKFlexibleHeightBarSubviewLayoutAttributes.h (100%) rename {BLKFlexibleHeightBar => Pods/BLKFlexibleHeightBar/BLKFlexibleHeightBar}/BLKFlexibleHeightBarSubviewLayoutAttributes.m (100%) rename {BLKFlexibleHeightBar => Pods/BLKFlexibleHeightBar/BLKFlexibleHeightBar}/FacebookStyleBarBehaviorDefiner.h (100%) rename {BLKFlexibleHeightBar => Pods/BLKFlexibleHeightBar/BLKFlexibleHeightBar}/FacebookStyleBarBehaviorDefiner.m (100%) rename {BLKFlexibleHeightBar => Pods/BLKFlexibleHeightBar/BLKFlexibleHeightBar}/SquareCashStyleBehaviorDefiner.h (100%) rename {BLKFlexibleHeightBar => Pods/BLKFlexibleHeightBar/BLKFlexibleHeightBar}/SquareCashStyleBehaviorDefiner.m (100%) rename {BLKFlexibleHeightBar => Pods/BLKFlexibleHeightBar/BLKFlexibleHeightBar}/UIView+BLKFlexibleHeightBarSubview.h (100%) rename {BLKFlexibleHeightBar => Pods/BLKFlexibleHeightBar/BLKFlexibleHeightBar}/UIView+BLKFlexibleHeightBarSubview.m (100%) rename LICENSE.md => Pods/BLKFlexibleHeightBar/LICENSE.md (100%) create mode 100644 Pods/BLKFlexibleHeightBar/README.md create mode 120000 Pods/Headers/Private/BLKFlexibleHeightBar/BLKDelegateSplitter.h create mode 120000 Pods/Headers/Private/BLKFlexibleHeightBar/BLKFlexibleHeightBar.h create mode 120000 Pods/Headers/Private/BLKFlexibleHeightBar/BLKFlexibleHeightBarBehaviorDefiner.h create mode 120000 Pods/Headers/Private/BLKFlexibleHeightBar/BLKFlexibleHeightBarSubviewLayoutAttributes.h create mode 120000 Pods/Headers/Private/BLKFlexibleHeightBar/FacebookStyleBarBehaviorDefiner.h create mode 120000 Pods/Headers/Private/BLKFlexibleHeightBar/SquareCashStyleBehaviorDefiner.h create mode 120000 Pods/Headers/Private/BLKFlexibleHeightBar/UIView+BLKFlexibleHeightBarSubview.h create mode 120000 Pods/Headers/Public/BLKFlexibleHeightBar/BLKDelegateSplitter.h create mode 120000 Pods/Headers/Public/BLKFlexibleHeightBar/BLKFlexibleHeightBar.h create mode 120000 Pods/Headers/Public/BLKFlexibleHeightBar/BLKFlexibleHeightBarBehaviorDefiner.h create mode 120000 Pods/Headers/Public/BLKFlexibleHeightBar/BLKFlexibleHeightBarSubviewLayoutAttributes.h create mode 120000 Pods/Headers/Public/BLKFlexibleHeightBar/FacebookStyleBarBehaviorDefiner.h create mode 120000 Pods/Headers/Public/BLKFlexibleHeightBar/SquareCashStyleBehaviorDefiner.h create mode 120000 Pods/Headers/Public/BLKFlexibleHeightBar/UIView+BLKFlexibleHeightBarSubview.h create mode 100644 Pods/Manifest.lock create mode 100644 Pods/Pods.xcodeproj/project.pbxproj create mode 100644 Pods/Target Support Files/Pods-BLKFlexibleHeightBarSwiftDemo-BLKFlexibleHeightBar/Info.plist create mode 100644 Pods/Target Support Files/Pods-BLKFlexibleHeightBarSwiftDemo-BLKFlexibleHeightBar/Pods-BLKFlexibleHeightBarSwiftDemo-BLKFlexibleHeightBar-Private.xcconfig create mode 100644 Pods/Target Support Files/Pods-BLKFlexibleHeightBarSwiftDemo-BLKFlexibleHeightBar/Pods-BLKFlexibleHeightBarSwiftDemo-BLKFlexibleHeightBar-dummy.m create mode 100644 Pods/Target Support Files/Pods-BLKFlexibleHeightBarSwiftDemo-BLKFlexibleHeightBar/Pods-BLKFlexibleHeightBarSwiftDemo-BLKFlexibleHeightBar-prefix.pch create mode 100644 Pods/Target Support Files/Pods-BLKFlexibleHeightBarSwiftDemo-BLKFlexibleHeightBar/Pods-BLKFlexibleHeightBarSwiftDemo-BLKFlexibleHeightBar-umbrella.h create mode 100644 Pods/Target Support Files/Pods-BLKFlexibleHeightBarSwiftDemo-BLKFlexibleHeightBar/Pods-BLKFlexibleHeightBarSwiftDemo-BLKFlexibleHeightBar.modulemap create mode 100644 Pods/Target Support Files/Pods-BLKFlexibleHeightBarSwiftDemo-BLKFlexibleHeightBar/Pods-BLKFlexibleHeightBarSwiftDemo-BLKFlexibleHeightBar.xcconfig create mode 100644 Pods/Target Support Files/Pods-BLKFlexibleHeightBarSwiftDemo/Info.plist create mode 100644 Pods/Target Support Files/Pods-BLKFlexibleHeightBarSwiftDemo/Pods-BLKFlexibleHeightBarSwiftDemo-acknowledgements.markdown create mode 100644 Pods/Target Support Files/Pods-BLKFlexibleHeightBarSwiftDemo/Pods-BLKFlexibleHeightBarSwiftDemo-acknowledgements.plist create mode 100644 Pods/Target Support Files/Pods-BLKFlexibleHeightBarSwiftDemo/Pods-BLKFlexibleHeightBarSwiftDemo-dummy.m create mode 100644 Pods/Target Support Files/Pods-BLKFlexibleHeightBarSwiftDemo/Pods-BLKFlexibleHeightBarSwiftDemo-environment.h create mode 100755 Pods/Target Support Files/Pods-BLKFlexibleHeightBarSwiftDemo/Pods-BLKFlexibleHeightBarSwiftDemo-frameworks.sh create mode 100755 Pods/Target Support Files/Pods-BLKFlexibleHeightBarSwiftDemo/Pods-BLKFlexibleHeightBarSwiftDemo-resources.sh create mode 100644 Pods/Target Support Files/Pods-BLKFlexibleHeightBarSwiftDemo/Pods-BLKFlexibleHeightBarSwiftDemo-umbrella.h create mode 100644 Pods/Target Support Files/Pods-BLKFlexibleHeightBarSwiftDemo/Pods-BLKFlexibleHeightBarSwiftDemo.debug.xcconfig create mode 100644 Pods/Target Support Files/Pods-BLKFlexibleHeightBarSwiftDemo/Pods-BLKFlexibleHeightBarSwiftDemo.modulemap create mode 100644 Pods/Target Support Files/Pods-BLKFlexibleHeightBarSwiftDemo/Pods-BLKFlexibleHeightBarSwiftDemo.release.xcconfig create mode 100644 Pods/Target Support Files/Pods-BLKFlexibleHeightBarSwiftDemoTests-BLKFlexibleHeightBar/Info.plist create mode 100644 Pods/Target Support Files/Pods-BLKFlexibleHeightBarSwiftDemoTests-BLKFlexibleHeightBar/Pods-BLKFlexibleHeightBarSwiftDemoTests-BLKFlexibleHeightBar-Private.xcconfig create mode 100644 Pods/Target Support Files/Pods-BLKFlexibleHeightBarSwiftDemoTests-BLKFlexibleHeightBar/Pods-BLKFlexibleHeightBarSwiftDemoTests-BLKFlexibleHeightBar-dummy.m create mode 100644 Pods/Target Support Files/Pods-BLKFlexibleHeightBarSwiftDemoTests-BLKFlexibleHeightBar/Pods-BLKFlexibleHeightBarSwiftDemoTests-BLKFlexibleHeightBar-prefix.pch create mode 100644 Pods/Target Support Files/Pods-BLKFlexibleHeightBarSwiftDemoTests-BLKFlexibleHeightBar/Pods-BLKFlexibleHeightBarSwiftDemoTests-BLKFlexibleHeightBar-umbrella.h create mode 100644 Pods/Target Support Files/Pods-BLKFlexibleHeightBarSwiftDemoTests-BLKFlexibleHeightBar/Pods-BLKFlexibleHeightBarSwiftDemoTests-BLKFlexibleHeightBar.modulemap create mode 100644 Pods/Target Support Files/Pods-BLKFlexibleHeightBarSwiftDemoTests-BLKFlexibleHeightBar/Pods-BLKFlexibleHeightBarSwiftDemoTests-BLKFlexibleHeightBar.xcconfig create mode 100644 Pods/Target Support Files/Pods-BLKFlexibleHeightBarSwiftDemoTests/Info.plist create mode 100644 Pods/Target Support Files/Pods-BLKFlexibleHeightBarSwiftDemoTests/Pods-BLKFlexibleHeightBarSwiftDemoTests-acknowledgements.markdown create mode 100644 Pods/Target Support Files/Pods-BLKFlexibleHeightBarSwiftDemoTests/Pods-BLKFlexibleHeightBarSwiftDemoTests-acknowledgements.plist create mode 100644 Pods/Target Support Files/Pods-BLKFlexibleHeightBarSwiftDemoTests/Pods-BLKFlexibleHeightBarSwiftDemoTests-dummy.m create mode 100644 Pods/Target Support Files/Pods-BLKFlexibleHeightBarSwiftDemoTests/Pods-BLKFlexibleHeightBarSwiftDemoTests-environment.h create mode 100755 Pods/Target Support Files/Pods-BLKFlexibleHeightBarSwiftDemoTests/Pods-BLKFlexibleHeightBarSwiftDemoTests-frameworks.sh create mode 100755 Pods/Target Support Files/Pods-BLKFlexibleHeightBarSwiftDemoTests/Pods-BLKFlexibleHeightBarSwiftDemoTests-resources.sh create mode 100644 Pods/Target Support Files/Pods-BLKFlexibleHeightBarSwiftDemoTests/Pods-BLKFlexibleHeightBarSwiftDemoTests-umbrella.h create mode 100644 Pods/Target Support Files/Pods-BLKFlexibleHeightBarSwiftDemoTests/Pods-BLKFlexibleHeightBarSwiftDemoTests.debug.xcconfig create mode 100644 Pods/Target Support Files/Pods-BLKFlexibleHeightBarSwiftDemoTests/Pods-BLKFlexibleHeightBarSwiftDemoTests.modulemap create mode 100644 Pods/Target Support Files/Pods-BLKFlexibleHeightBarSwiftDemoTests/Pods-BLKFlexibleHeightBarSwiftDemoTests.release.xcconfig create mode 100644 backup-DVTIbeamCursor.tiff create mode 100644 pbcopy diff --git a/.swp b/.swp new file mode 100644 index 0000000000000000000000000000000000000000..64224cfdda095ebfc08b202e3238569843f63787 GIT binary patch literal 20480 zcmeI2O^hVTRmam_Fc`3n;DGH@Y|ml4d%LrHdOYCm@hm$%<5`b9GrQXE@nVffs;I1} zs&r>%mh+=)dM&g@!bdpZkBjAl*OGlkVl4#XVhbcb#2pDE*#{&fEF;+<#EIW~ky#&I zRpVVBY=p9<*Hx7n8S&zMzkg(R{}XrancoSo1pNKF{PTZb_+Sv^w)`^p*Dp!55(SLI3fdAowBlRp@o-v(RhMBj~?=EeQS-`kP-3g1?6T z3i=c1kD)(;{^eJg6Z#zVIy8ZvgRVj!f_@k9;Cbl9Uk-xX(DTrbe~C4rA42~KxpxIY z5Be1J4(J=d7zA%XUjl&mBJ^44$AA?-g5H3>27Lf}KlF7#jyIrxW3S(X{v7%;6hk*4 zk-;vs{_kO8yDl+B{F*z-ZpY=LYk^(~OZT|EnI&0nuA7Gs?)a~hVO%=>Ivv-~($WvP zE#HdsqI4tq`cnUxNe>UMhWpdOGAV;!*f_~u+B-ikZC+O6FwQov1rP4rRaUk=N36=S z{*q02_u`R>Q{}JI>15qcM}aZU~Jkmw%60Irl`7Sv74AOGv`^Ao3716 zb1O@qDNQ#khb}jR_)LbzrLm@;+mSQ7h8rfaJix`W%;RoVxX*$G=6 zn@OA`+$~)`Vt^TD6B(ZH-bkSgO<2n5BIB{Mc@d(TLg#=Z6J=@7r3DlB^K8Vh!i?l^i&t`+nzIaV$WsO(sagoHppF3 znCsWg<#4}aHep)l6=wX3TNfseY-)z~%$bf&#zQNQ?#rVh?M|87wCHE~NG{)e@kU>y zbkbbBXHVTRZ_T*P{qSIi#}2kS%Z%u3o6WZ079+9;ws!1wU6`zoE;~neKYlxLkK=CQ zKBhuEvUvy16{SrhSF3VS&7$Saj#@!yr{1Z2neLAtu8hJh!)DE?JD}ks=>5oMsU6FwTtXnDcxDHi z3(6CjZ5dc;^jBNU;wTZ%7W*CJZNgBN8eBLUnz%4gk`)e@xPilzah6)50IQE>+&C-r z8lzBtw-FiMh0c5GL#d0fBb&$UL#+d@`x%ak$HDxDuH(*dv*}tJCa)3~1~_o=aCDAR z!mi`lILmLTcje-}$2Ai#*F5m@m744!n-SqRzhANGz-bIP+z+oBb|@nVH9y7FNOSGf z`#LpCFm)4pf`&6GQ$z8GGoOUM?)C{M+}*2vR|c<*KS;%3%A4>=Rz~xz$D8FR76n? zaH4#Ip)xHdIkmZtY{%P9W3C!>n$60_RNHcQ)#lW6nny8-t}7=FVH6p0mv}L7vf*ib zns=!wuZ^{s&1~#9wH2r}6)x$ArN!SrLC6n#E^z}q>II)%t1Q!i z$`N)~MewC1HzgXud<6FePhtM@Q?g~_M6TG99gD0~E%T~tY(WwTjvcJD2q|rjKU3M< z-L%EA-?0rl(2H|xrRe{xh>7X;msFcA-qXROEtSM)hz#}yA8E=45g6@CvmSF z?wHH_4B48C4fkmpc6_^nQqgErk&5rHV#F8O62PRSlrEySPh6lQ?a+)n>eJf$BNw>h`-l18_JKD&mm6jGd6oc(tly+yH@|Gp6NRKJDhPgC(s9{LWXc)WP=Fw1k7zrnJFj*xp2_e$|{~--; zB7HCYe{;V7uk`)jhXe=s2YUOzhn|Bz4DCbTqR;<4^nU2Kpl{RP|2}jMjiDj*6m*}y z{#od|^z~nb?nC#W|E9Np6Z%u=gU|<{zoWnZTd06?=rhn==v(ypZ$f`SpZ_`N9zFhD z=rZ(!r-I<$p}&Ow0=f-dqsRXN`x!y9uT$CE|AoH~h30-%#(iQJcF_curcx10>@PQB znog!g3$~ZL-MZ(l3aJu0K8P$mino>brP8^p9r~kAaD^Bz`BvRyZ)lofVbk_v5q*z38yO< zE0w{8idHM|w;`&gRt(LZ(jyHtW2BdUMFmHzQJgBHtE4QozT~JCu|T|Sg%8(@#ge!$ zvm!mJ8_E6`D&A??BwH&p{MU?JIm~+G+ci>=)HR?#$Tf=CW&?#*XAf*CO8ltNTZu80SzFTnc1 zdy@UE87I|XH{Bf*EsUfD(8x&ch^^0;BA6obZN#l1WmUSkXbU?md*%{p&ph&>z($mb zBhXDYtrIW~SQ!PEC`1LT^_E0CRH$IZT)x#VMO0JwHeQBX;uF=lC!r`b2#p@>3AJn! zQBjH5Z%{r!zSV0+*+#nT44EsLkkC$kD@GpiCQVkaJS z67--P${y7lW~i%f5mQcLt*2uN7Tfn|E*D`xMR!GwBe{jaNX0Qly{JgAK%%{SY_+i! z@e~3SBO~oMvq>#qF?PkFol$QA?33CWvv0DJ8mKpG13*L@AfQCJtu;*z!?U1IZ8xUa z^Pz$<7q5!4U!DWTC^Gl<-U@=1 ztA|rmloEOg^u3v-ku5h1G9gX54khCPRBT-fmIf178MbPg71;5r=jY~MH_M5@(Vhig zx$j<)!u;Br&DAKk)c32~2a<)D$&yaCR|;!wm$7b|3(dzzALBz<*~R4!rT&j?a`C!1 z1$A2qnI6lN%AL@gES+qSZfEt5nzl#YC@s`->P42H6tmS@92EV$vS6R3ax`a~0kfbL$N40&qpQ=gTZnC)i3aro@%JS6dC`nw*l% zL&eMXBuU6Nft2dUhh|#Fx4~G4vk3rjK{d2t2G;=Dn{~l!R`uwggu6AI;{bBEj`E?o z4X-4RLc+VGc5F_7;q@`7KC!F~f&&Fq#5Sbb znBS|cIAvvuDzOt`Ll1xb#zZ`Iz<9z;A`sejsS`vRREtRl+?NA3D_#|v?He;?#Odx7 z>-QF<2L}`zi{}=7&QX1~l}Q!5!jSY#(BS5@;pRN}!cMD}h!5tpr*L z{Qs7~cfJ`2#u{-l%}Zp0dzM+n%YxdA0eYUr)|~J|;F5yrX$aJRQ_@JbtJ#;j0oZv$TnNVVMd zPZSK+*Er+|QeP#jn|xl~jZQf@ot7(q& zfG_=9esW~vyLs)=rO97nEYx!&eH{fbq;qWhpaHAi9pe34fbqh}p+m$AdOLb{qX6=S zGsi6j<4<0?^%7?Va!zwDaQ*BgP!4X4f310eWdv9VSbT;GoX literal 0 HcmV?d00001 diff --git a/BLKFlexibleHeightBar Demo.xcodeproj/project.pbxproj b/BLKFlexibleHeightBar Demo.xcodeproj/project.pbxproj deleted file mode 100644 index 5fcb181..0000000 --- a/BLKFlexibleHeightBar Demo.xcodeproj/project.pbxproj +++ /dev/null @@ -1,529 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 46; - objects = { - -/* Begin PBXBuildFile section */ - 930EBF891A84AB4B00A67CCA /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 930EBF881A84AB4B00A67CCA /* main.m */; }; - 930EBF8C1A84AB4B00A67CCA /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 930EBF8B1A84AB4B00A67CCA /* AppDelegate.m */; }; - 930EBF8F1A84AB4B00A67CCA /* DemoViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 930EBF8E1A84AB4B00A67CCA /* DemoViewController.m */; }; - 930EBF921A84AB4B00A67CCA /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 930EBF901A84AB4B00A67CCA /* Main.storyboard */; }; - 930EBF941A84AB4B00A67CCA /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 930EBF931A84AB4B00A67CCA /* Images.xcassets */; }; - 930EBF971A84AB4B00A67CCA /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 930EBF951A84AB4B00A67CCA /* LaunchScreen.xib */; }; - 930EBFA31A84AB4B00A67CCA /* BLKFlexibleHeightBar_DemoTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 930EBFA21A84AB4B00A67CCA /* BLKFlexibleHeightBar_DemoTests.m */; }; - 930EBFB41A84ABFC00A67CCA /* BLKFlexibleHeightBar.m in Sources */ = {isa = PBXBuildFile; fileRef = 930EBFAD1A84ABFC00A67CCA /* BLKFlexibleHeightBar.m */; }; - 930EBFB51A84ABFC00A67CCA /* BLKFlexibleHeightBarSubviewLayoutAttributes.m in Sources */ = {isa = PBXBuildFile; fileRef = 930EBFAF1A84ABFC00A67CCA /* BLKFlexibleHeightBarSubviewLayoutAttributes.m */; }; - 930EBFB61A84ABFC00A67CCA /* BLKDelegateSplitter.m in Sources */ = {isa = PBXBuildFile; fileRef = 930EBFB11A84ABFC00A67CCA /* BLKDelegateSplitter.m */; }; - 930EBFB71A84ABFC00A67CCA /* UIView+BLKFlexibleHeightBarSubview.m in Sources */ = {isa = PBXBuildFile; fileRef = 930EBFB31A84ABFC00A67CCA /* UIView+BLKFlexibleHeightBarSubview.m */; }; - 9353CB1D1AA9B230003E134E /* FacebookStyleBarBehaviorDefiner.m in Sources */ = {isa = PBXBuildFile; fileRef = 9353CB1C1AA9B230003E134E /* FacebookStyleBarBehaviorDefiner.m */; }; - 9353CB201AAA372E003E134E /* SquareCashStyleBehaviorDefiner.m in Sources */ = {isa = PBXBuildFile; fileRef = 9353CB1F1AAA372E003E134E /* SquareCashStyleBehaviorDefiner.m */; }; - 9353CB231AABB76C003E134E /* FacebookStyleViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 9353CB221AABB76C003E134E /* FacebookStyleViewController.m */; }; - 9353CB261AABB786003E134E /* SquareCashStyleViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 9353CB251AABB786003E134E /* SquareCashStyleViewController.m */; }; - 9353CB291AABB8B5003E134E /* square-cash-icon.png in Resources */ = {isa = PBXBuildFile; fileRef = 9353CB271AABB8B5003E134E /* square-cash-icon.png */; }; - 9353CB2A1AABB8B5003E134E /* facebook-icon.png in Resources */ = {isa = PBXBuildFile; fileRef = 9353CB281AABB8B5003E134E /* facebook-icon.png */; }; - 9353CB2D1AABBE14003E134E /* FacebookStyleBar.m in Sources */ = {isa = PBXBuildFile; fileRef = 9353CB2C1AABBE14003E134E /* FacebookStyleBar.m */; }; - 9353CB2F1AAC07DC003E134E /* Close.png in Resources */ = {isa = PBXBuildFile; fileRef = 9353CB2E1AAC07DC003E134E /* Close.png */; }; - 9371171B1A96F3CC00B26476 /* SquareCashStyleBar.m in Sources */ = {isa = PBXBuildFile; fileRef = 9371171A1A96F3CC00B26476 /* SquareCashStyleBar.m */; }; - 93ED25451A92C44A00DBCAA8 /* BLKFlexibleHeightBarBehaviorDefiner.m in Sources */ = {isa = PBXBuildFile; fileRef = 93ED25441A92C44A00DBCAA8 /* BLKFlexibleHeightBarBehaviorDefiner.m */; }; - 93F6350B1AAD90D9008C596F /* ProfilePicture.png in Resources */ = {isa = PBXBuildFile; fileRef = 93F6350A1AAD90D9008C596F /* ProfilePicture.png */; }; -/* End PBXBuildFile section */ - -/* Begin PBXContainerItemProxy section */ - 930EBF9D1A84AB4B00A67CCA /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 930EBF7B1A84AB4B00A67CCA /* Project object */; - proxyType = 1; - remoteGlobalIDString = 930EBF821A84AB4B00A67CCA; - remoteInfo = "BLKFlexibleHeightBar Demo"; - }; -/* End PBXContainerItemProxy section */ - -/* Begin PBXFileReference section */ - 930EBF831A84AB4B00A67CCA /* BLKFlexibleHeightBar Demo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "BLKFlexibleHeightBar Demo.app"; sourceTree = BUILT_PRODUCTS_DIR; }; - 930EBF871A84AB4B00A67CCA /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - 930EBF881A84AB4B00A67CCA /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; - 930EBF8A1A84AB4B00A67CCA /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; }; - 930EBF8B1A84AB4B00A67CCA /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; }; - 930EBF8D1A84AB4B00A67CCA /* DemoViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = DemoViewController.h; sourceTree = ""; }; - 930EBF8E1A84AB4B00A67CCA /* DemoViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = DemoViewController.m; sourceTree = ""; }; - 930EBF911A84AB4B00A67CCA /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; - 930EBF931A84AB4B00A67CCA /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; - 930EBF961A84AB4B00A67CCA /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; - 930EBF9C1A84AB4B00A67CCA /* BLKFlexibleHeightBar DemoTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "BLKFlexibleHeightBar DemoTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; - 930EBFA11A84AB4B00A67CCA /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - 930EBFA21A84AB4B00A67CCA /* BLKFlexibleHeightBar_DemoTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = BLKFlexibleHeightBar_DemoTests.m; sourceTree = ""; }; - 930EBFAC1A84ABFC00A67CCA /* BLKFlexibleHeightBar.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = BLKFlexibleHeightBar.h; path = BLKFlexibleHeightBar/BLKFlexibleHeightBar.h; sourceTree = SOURCE_ROOT; }; - 930EBFAD1A84ABFC00A67CCA /* BLKFlexibleHeightBar.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = BLKFlexibleHeightBar.m; path = BLKFlexibleHeightBar/BLKFlexibleHeightBar.m; sourceTree = SOURCE_ROOT; }; - 930EBFAE1A84ABFC00A67CCA /* BLKFlexibleHeightBarSubviewLayoutAttributes.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = BLKFlexibleHeightBarSubviewLayoutAttributes.h; path = BLKFlexibleHeightBar/BLKFlexibleHeightBarSubviewLayoutAttributes.h; sourceTree = SOURCE_ROOT; }; - 930EBFAF1A84ABFC00A67CCA /* BLKFlexibleHeightBarSubviewLayoutAttributes.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = BLKFlexibleHeightBarSubviewLayoutAttributes.m; path = BLKFlexibleHeightBar/BLKFlexibleHeightBarSubviewLayoutAttributes.m; sourceTree = SOURCE_ROOT; }; - 930EBFB01A84ABFC00A67CCA /* BLKDelegateSplitter.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = BLKDelegateSplitter.h; path = BLKFlexibleHeightBar/BLKDelegateSplitter.h; sourceTree = SOURCE_ROOT; }; - 930EBFB11A84ABFC00A67CCA /* BLKDelegateSplitter.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = BLKDelegateSplitter.m; path = BLKFlexibleHeightBar/BLKDelegateSplitter.m; sourceTree = SOURCE_ROOT; }; - 930EBFB21A84ABFC00A67CCA /* UIView+BLKFlexibleHeightBarSubview.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "UIView+BLKFlexibleHeightBarSubview.h"; path = "BLKFlexibleHeightBar/UIView+BLKFlexibleHeightBarSubview.h"; sourceTree = SOURCE_ROOT; }; - 930EBFB31A84ABFC00A67CCA /* UIView+BLKFlexibleHeightBarSubview.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = "UIView+BLKFlexibleHeightBarSubview.m"; path = "BLKFlexibleHeightBar/UIView+BLKFlexibleHeightBarSubview.m"; sourceTree = SOURCE_ROOT; }; - 9353CB1B1AA9B230003E134E /* FacebookStyleBarBehaviorDefiner.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = FacebookStyleBarBehaviorDefiner.h; path = BLKFlexibleHeightBar/FacebookStyleBarBehaviorDefiner.h; sourceTree = SOURCE_ROOT; }; - 9353CB1C1AA9B230003E134E /* FacebookStyleBarBehaviorDefiner.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = FacebookStyleBarBehaviorDefiner.m; path = BLKFlexibleHeightBar/FacebookStyleBarBehaviorDefiner.m; sourceTree = SOURCE_ROOT; }; - 9353CB1E1AAA372E003E134E /* SquareCashStyleBehaviorDefiner.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SquareCashStyleBehaviorDefiner.h; path = BLKFlexibleHeightBar/SquareCashStyleBehaviorDefiner.h; sourceTree = SOURCE_ROOT; }; - 9353CB1F1AAA372E003E134E /* SquareCashStyleBehaviorDefiner.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = SquareCashStyleBehaviorDefiner.m; path = BLKFlexibleHeightBar/SquareCashStyleBehaviorDefiner.m; sourceTree = SOURCE_ROOT; }; - 9353CB211AABB76C003E134E /* FacebookStyleViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = FacebookStyleViewController.h; sourceTree = ""; }; - 9353CB221AABB76C003E134E /* FacebookStyleViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = FacebookStyleViewController.m; sourceTree = ""; }; - 9353CB241AABB786003E134E /* SquareCashStyleViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SquareCashStyleViewController.h; sourceTree = ""; }; - 9353CB251AABB786003E134E /* SquareCashStyleViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SquareCashStyleViewController.m; sourceTree = ""; }; - 9353CB271AABB8B5003E134E /* square-cash-icon.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "square-cash-icon.png"; sourceTree = ""; }; - 9353CB281AABB8B5003E134E /* facebook-icon.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "facebook-icon.png"; sourceTree = ""; }; - 9353CB2B1AABBE14003E134E /* FacebookStyleBar.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = FacebookStyleBar.h; sourceTree = ""; }; - 9353CB2C1AABBE14003E134E /* FacebookStyleBar.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = FacebookStyleBar.m; sourceTree = ""; }; - 9353CB2E1AAC07DC003E134E /* Close.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = Close.png; sourceTree = ""; }; - 937117191A96F3CC00B26476 /* SquareCashStyleBar.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SquareCashStyleBar.h; sourceTree = ""; }; - 9371171A1A96F3CC00B26476 /* SquareCashStyleBar.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SquareCashStyleBar.m; sourceTree = ""; }; - 93ED25431A92C44A00DBCAA8 /* BLKFlexibleHeightBarBehaviorDefiner.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = BLKFlexibleHeightBarBehaviorDefiner.h; path = BLKFlexibleHeightBar/BLKFlexibleHeightBarBehaviorDefiner.h; sourceTree = SOURCE_ROOT; }; - 93ED25441A92C44A00DBCAA8 /* BLKFlexibleHeightBarBehaviorDefiner.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = BLKFlexibleHeightBarBehaviorDefiner.m; path = BLKFlexibleHeightBar/BLKFlexibleHeightBarBehaviorDefiner.m; sourceTree = SOURCE_ROOT; }; - 93F6350A1AAD90D9008C596F /* ProfilePicture.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = ProfilePicture.png; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - 930EBF801A84AB4B00A67CCA /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 930EBF991A84AB4B00A67CCA /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 930EBF7A1A84AB4B00A67CCA = { - isa = PBXGroup; - children = ( - 930EBF851A84AB4B00A67CCA /* BLKFlexibleHeightBar Demo */, - 930EBF9F1A84AB4B00A67CCA /* BLKFlexibleHeightBar DemoTests */, - 930EBF841A84AB4B00A67CCA /* Products */, - ); - sourceTree = ""; - }; - 930EBF841A84AB4B00A67CCA /* Products */ = { - isa = PBXGroup; - children = ( - 930EBF831A84AB4B00A67CCA /* BLKFlexibleHeightBar Demo.app */, - 930EBF9C1A84AB4B00A67CCA /* BLKFlexibleHeightBar DemoTests.xctest */, - ); - name = Products; - sourceTree = ""; - }; - 930EBF851A84AB4B00A67CCA /* BLKFlexibleHeightBar Demo */ = { - isa = PBXGroup; - children = ( - 930EBFB81A84AC0000A67CCA /* BLKFlexibleHeightBar */, - 930EBF8A1A84AB4B00A67CCA /* AppDelegate.h */, - 930EBF8B1A84AB4B00A67CCA /* AppDelegate.m */, - 930EBF8D1A84AB4B00A67CCA /* DemoViewController.h */, - 930EBF8E1A84AB4B00A67CCA /* DemoViewController.m */, - 9353CB241AABB786003E134E /* SquareCashStyleViewController.h */, - 9353CB251AABB786003E134E /* SquareCashStyleViewController.m */, - 937117191A96F3CC00B26476 /* SquareCashStyleBar.h */, - 9371171A1A96F3CC00B26476 /* SquareCashStyleBar.m */, - 9353CB211AABB76C003E134E /* FacebookStyleViewController.h */, - 9353CB221AABB76C003E134E /* FacebookStyleViewController.m */, - 9353CB2B1AABBE14003E134E /* FacebookStyleBar.h */, - 9353CB2C1AABBE14003E134E /* FacebookStyleBar.m */, - 930EBF901A84AB4B00A67CCA /* Main.storyboard */, - 930EBF931A84AB4B00A67CCA /* Images.xcassets */, - 930EBF951A84AB4B00A67CCA /* LaunchScreen.xib */, - 930EBF861A84AB4B00A67CCA /* Supporting Files */, - ); - path = "BLKFlexibleHeightBar Demo"; - sourceTree = ""; - }; - 930EBF861A84AB4B00A67CCA /* Supporting Files */ = { - isa = PBXGroup; - children = ( - 9353CB271AABB8B5003E134E /* square-cash-icon.png */, - 9353CB281AABB8B5003E134E /* facebook-icon.png */, - 93F6350A1AAD90D9008C596F /* ProfilePicture.png */, - 9353CB2E1AAC07DC003E134E /* Close.png */, - 930EBF871A84AB4B00A67CCA /* Info.plist */, - 930EBF881A84AB4B00A67CCA /* main.m */, - ); - name = "Supporting Files"; - sourceTree = ""; - }; - 930EBF9F1A84AB4B00A67CCA /* BLKFlexibleHeightBar DemoTests */ = { - isa = PBXGroup; - children = ( - 930EBFA21A84AB4B00A67CCA /* BLKFlexibleHeightBar_DemoTests.m */, - 930EBFA01A84AB4B00A67CCA /* Supporting Files */, - ); - path = "BLKFlexibleHeightBar DemoTests"; - sourceTree = ""; - }; - 930EBFA01A84AB4B00A67CCA /* Supporting Files */ = { - isa = PBXGroup; - children = ( - 930EBFA11A84AB4B00A67CCA /* Info.plist */, - ); - name = "Supporting Files"; - sourceTree = ""; - }; - 930EBFB81A84AC0000A67CCA /* BLKFlexibleHeightBar */ = { - isa = PBXGroup; - children = ( - 930EBFAC1A84ABFC00A67CCA /* BLKFlexibleHeightBar.h */, - 930EBFAD1A84ABFC00A67CCA /* BLKFlexibleHeightBar.m */, - 930EBFB21A84ABFC00A67CCA /* UIView+BLKFlexibleHeightBarSubview.h */, - 930EBFB31A84ABFC00A67CCA /* UIView+BLKFlexibleHeightBarSubview.m */, - 930EBFAE1A84ABFC00A67CCA /* BLKFlexibleHeightBarSubviewLayoutAttributes.h */, - 930EBFAF1A84ABFC00A67CCA /* BLKFlexibleHeightBarSubviewLayoutAttributes.m */, - 93ED25421A92C36900DBCAA8 /* BLKFlxibleHeightBarBehaviorDefiner */, - ); - name = BLKFlexibleHeightBar; - sourceTree = ""; - }; - 93ED25421A92C36900DBCAA8 /* BLKFlxibleHeightBarBehaviorDefiner */ = { - isa = PBXGroup; - children = ( - 93ED25431A92C44A00DBCAA8 /* BLKFlexibleHeightBarBehaviorDefiner.h */, - 93ED25441A92C44A00DBCAA8 /* BLKFlexibleHeightBarBehaviorDefiner.m */, - 9353CB1E1AAA372E003E134E /* SquareCashStyleBehaviorDefiner.h */, - 9353CB1F1AAA372E003E134E /* SquareCashStyleBehaviorDefiner.m */, - 9353CB1B1AA9B230003E134E /* FacebookStyleBarBehaviorDefiner.h */, - 9353CB1C1AA9B230003E134E /* FacebookStyleBarBehaviorDefiner.m */, - 930EBFB01A84ABFC00A67CCA /* BLKDelegateSplitter.h */, - 930EBFB11A84ABFC00A67CCA /* BLKDelegateSplitter.m */, - ); - name = BLKFlxibleHeightBarBehaviorDefiner; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXNativeTarget section */ - 930EBF821A84AB4B00A67CCA /* BLKFlexibleHeightBar Demo */ = { - isa = PBXNativeTarget; - buildConfigurationList = 930EBFA61A84AB4B00A67CCA /* Build configuration list for PBXNativeTarget "BLKFlexibleHeightBar Demo" */; - buildPhases = ( - 930EBF7F1A84AB4B00A67CCA /* Sources */, - 930EBF801A84AB4B00A67CCA /* Frameworks */, - 930EBF811A84AB4B00A67CCA /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = "BLKFlexibleHeightBar Demo"; - productName = "BLKFlexibleHeightBar Demo"; - productReference = 930EBF831A84AB4B00A67CCA /* BLKFlexibleHeightBar Demo.app */; - productType = "com.apple.product-type.application"; - }; - 930EBF9B1A84AB4B00A67CCA /* BLKFlexibleHeightBar DemoTests */ = { - isa = PBXNativeTarget; - buildConfigurationList = 930EBFA91A84AB4B00A67CCA /* Build configuration list for PBXNativeTarget "BLKFlexibleHeightBar DemoTests" */; - buildPhases = ( - 930EBF981A84AB4B00A67CCA /* Sources */, - 930EBF991A84AB4B00A67CCA /* Frameworks */, - 930EBF9A1A84AB4B00A67CCA /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - 930EBF9E1A84AB4B00A67CCA /* PBXTargetDependency */, - ); - name = "BLKFlexibleHeightBar DemoTests"; - productName = "BLKFlexibleHeightBar DemoTests"; - productReference = 930EBF9C1A84AB4B00A67CCA /* BLKFlexibleHeightBar DemoTests.xctest */; - productType = "com.apple.product-type.bundle.unit-test"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - 930EBF7B1A84AB4B00A67CCA /* Project object */ = { - isa = PBXProject; - attributes = { - LastUpgradeCheck = 0610; - ORGANIZATIONNAME = "Bryan Keller"; - TargetAttributes = { - 930EBF821A84AB4B00A67CCA = { - CreatedOnToolsVersion = 6.1.1; - }; - 930EBF9B1A84AB4B00A67CCA = { - CreatedOnToolsVersion = 6.1.1; - TestTargetID = 930EBF821A84AB4B00A67CCA; - }; - }; - }; - buildConfigurationList = 930EBF7E1A84AB4B00A67CCA /* Build configuration list for PBXProject "BLKFlexibleHeightBar Demo" */; - compatibilityVersion = "Xcode 3.2"; - developmentRegion = English; - hasScannedForEncodings = 0; - knownRegions = ( - en, - Base, - ); - mainGroup = 930EBF7A1A84AB4B00A67CCA; - productRefGroup = 930EBF841A84AB4B00A67CCA /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - 930EBF821A84AB4B00A67CCA /* BLKFlexibleHeightBar Demo */, - 930EBF9B1A84AB4B00A67CCA /* BLKFlexibleHeightBar DemoTests */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - 930EBF811A84AB4B00A67CCA /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 9353CB2A1AABB8B5003E134E /* facebook-icon.png in Resources */, - 93F6350B1AAD90D9008C596F /* ProfilePicture.png in Resources */, - 930EBF921A84AB4B00A67CCA /* Main.storyboard in Resources */, - 930EBF971A84AB4B00A67CCA /* LaunchScreen.xib in Resources */, - 9353CB291AABB8B5003E134E /* square-cash-icon.png in Resources */, - 930EBF941A84AB4B00A67CCA /* Images.xcassets in Resources */, - 9353CB2F1AAC07DC003E134E /* Close.png in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 930EBF9A1A84AB4B00A67CCA /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - 930EBF7F1A84AB4B00A67CCA /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 930EBF8F1A84AB4B00A67CCA /* DemoViewController.m in Sources */, - 930EBF8C1A84AB4B00A67CCA /* AppDelegate.m in Sources */, - 9353CB231AABB76C003E134E /* FacebookStyleViewController.m in Sources */, - 930EBF891A84AB4B00A67CCA /* main.m in Sources */, - 9353CB1D1AA9B230003E134E /* FacebookStyleBarBehaviorDefiner.m in Sources */, - 930EBFB41A84ABFC00A67CCA /* BLKFlexibleHeightBar.m in Sources */, - 930EBFB51A84ABFC00A67CCA /* BLKFlexibleHeightBarSubviewLayoutAttributes.m in Sources */, - 930EBFB71A84ABFC00A67CCA /* UIView+BLKFlexibleHeightBarSubview.m in Sources */, - 9371171B1A96F3CC00B26476 /* SquareCashStyleBar.m in Sources */, - 9353CB201AAA372E003E134E /* SquareCashStyleBehaviorDefiner.m in Sources */, - 9353CB261AABB786003E134E /* SquareCashStyleViewController.m in Sources */, - 9353CB2D1AABBE14003E134E /* FacebookStyleBar.m in Sources */, - 930EBFB61A84ABFC00A67CCA /* BLKDelegateSplitter.m in Sources */, - 93ED25451A92C44A00DBCAA8 /* BLKFlexibleHeightBarBehaviorDefiner.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 930EBF981A84AB4B00A67CCA /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 930EBFA31A84AB4B00A67CCA /* BLKFlexibleHeightBar_DemoTests.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXTargetDependency section */ - 930EBF9E1A84AB4B00A67CCA /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = 930EBF821A84AB4B00A67CCA /* BLKFlexibleHeightBar Demo */; - targetProxy = 930EBF9D1A84AB4B00A67CCA /* PBXContainerItemProxy */; - }; -/* End PBXTargetDependency section */ - -/* Begin PBXVariantGroup section */ - 930EBF901A84AB4B00A67CCA /* Main.storyboard */ = { - isa = PBXVariantGroup; - children = ( - 930EBF911A84AB4B00A67CCA /* Base */, - ); - name = Main.storyboard; - sourceTree = ""; - }; - 930EBF951A84AB4B00A67CCA /* LaunchScreen.xib */ = { - isa = PBXVariantGroup; - children = ( - 930EBF961A84AB4B00A67CCA /* Base */, - ); - name = LaunchScreen.xib; - sourceTree = ""; - }; -/* End PBXVariantGroup section */ - -/* Begin XCBuildConfiguration section */ - 930EBFA41A84AB4B00A67CCA /* 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.1; - MTL_ENABLE_DEBUG_INFO = YES; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = iphoneos; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Debug; - }; - 930EBFA51A84AB4B00A67CCA /* 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.1; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = iphoneos; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - }; - name = Release; - }; - 930EBFA71A84AB4B00A67CCA /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - INFOPLIST_FILE = "BLKFlexibleHeightBar Demo/Info.plist"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; - PRODUCT_NAME = "$(TARGET_NAME)"; - }; - name = Debug; - }; - 930EBFA81A84AB4B00A67CCA /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - INFOPLIST_FILE = "BLKFlexibleHeightBar Demo/Info.plist"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; - PRODUCT_NAME = "$(TARGET_NAME)"; - }; - name = Release; - }; - 930EBFAA1A84AB4B00A67CCA /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - FRAMEWORK_SEARCH_PATHS = ( - "$(SDKROOT)/Developer/Library/Frameworks", - "$(inherited)", - ); - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - INFOPLIST_FILE = "BLKFlexibleHeightBar DemoTests/Info.plist"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_NAME = "$(TARGET_NAME)"; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/BLKFlexibleHeightBar Demo.app/BLKFlexibleHeightBar Demo"; - }; - name = Debug; - }; - 930EBFAB1A84AB4B00A67CCA /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - FRAMEWORK_SEARCH_PATHS = ( - "$(SDKROOT)/Developer/Library/Frameworks", - "$(inherited)", - ); - INFOPLIST_FILE = "BLKFlexibleHeightBar DemoTests/Info.plist"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_NAME = "$(TARGET_NAME)"; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/BLKFlexibleHeightBar Demo.app/BLKFlexibleHeightBar Demo"; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - 930EBF7E1A84AB4B00A67CCA /* Build configuration list for PBXProject "BLKFlexibleHeightBar Demo" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 930EBFA41A84AB4B00A67CCA /* Debug */, - 930EBFA51A84AB4B00A67CCA /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 930EBFA61A84AB4B00A67CCA /* Build configuration list for PBXNativeTarget "BLKFlexibleHeightBar Demo" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 930EBFA71A84AB4B00A67CCA /* Debug */, - 930EBFA81A84AB4B00A67CCA /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 930EBFA91A84AB4B00A67CCA /* Build configuration list for PBXNativeTarget "BLKFlexibleHeightBar DemoTests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 930EBFAA1A84AB4B00A67CCA /* Debug */, - 930EBFAB1A84AB4B00A67CCA /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = 930EBF7B1A84AB4B00A67CCA /* Project object */; -} diff --git a/BLKFlexibleHeightBar Demo/AppDelegate.h b/BLKFlexibleHeightBar Demo/AppDelegate.h deleted file mode 100644 index 8a70653..0000000 --- a/BLKFlexibleHeightBar Demo/AppDelegate.h +++ /dev/null @@ -1,17 +0,0 @@ -// -// AppDelegate.h -// BLKFlexibleHeightBar Demo -// -// Created by Bryan Keller on 2/6/15. -// Copyright (c) 2015 Bryan Keller. All rights reserved. -// - -#import - -@interface AppDelegate : UIResponder - -@property (strong, nonatomic) UIWindow *window; - - -@end - diff --git a/BLKFlexibleHeightBar Demo/AppDelegate.m b/BLKFlexibleHeightBar Demo/AppDelegate.m deleted file mode 100644 index c73c184..0000000 --- a/BLKFlexibleHeightBar Demo/AppDelegate.m +++ /dev/null @@ -1,45 +0,0 @@ -// -// AppDelegate.m -// BLKFlexibleHeightBar Demo -// -// Created by Bryan Keller on 2/6/15. -// Copyright (c) 2015 Bryan Keller. All rights reserved. -// - -#import "AppDelegate.h" - -@interface AppDelegate () - -@end - -@implementation AppDelegate - - -- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { - // Override point for customization after application launch. - return YES; -} - -- (void)applicationWillResignActive:(UIApplication *)application { - // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. - // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game. -} - -- (void)applicationDidEnterBackground:(UIApplication *)application { - // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. - // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. -} - -- (void)applicationWillEnterForeground:(UIApplication *)application { - // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background. -} - -- (void)applicationDidBecomeActive:(UIApplication *)application { - // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. -} - -- (void)applicationWillTerminate:(UIApplication *)application { - // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. -} - -@end diff --git a/BLKFlexibleHeightBar Demo/DemoViewController.h b/BLKFlexibleHeightBar Demo/DemoViewController.h deleted file mode 100644 index 63623cd..0000000 --- a/BLKFlexibleHeightBar Demo/DemoViewController.h +++ /dev/null @@ -1,15 +0,0 @@ -// -// DemoViewController.h -// BLKFlexibleHeightBar Demo -// -// Created by Bryan Keller on 2/6/15. -// Copyright (c) 2015 Bryan Keller. All rights reserved. -// - -#import - -@interface DemoViewController : UIViewController - - -@end - diff --git a/BLKFlexibleHeightBar Demo/DemoViewController.m b/BLKFlexibleHeightBar Demo/DemoViewController.m deleted file mode 100644 index ca9f09a..0000000 --- a/BLKFlexibleHeightBar Demo/DemoViewController.m +++ /dev/null @@ -1,44 +0,0 @@ -// -// DemoViewController.m -// BLKFlexibleHeightBar Demo -// -// Created by Bryan Keller on 2/6/15. -// Copyright (c) 2015 Bryan Keller. All rights reserved. -// - -#import "DemoViewController.h" - -@interface DemoViewController () - -@property (weak, nonatomic) IBOutlet UIButton *squareCashButton; -@property (weak, nonatomic) IBOutlet UIButton *facebookButton; - -@end - -@implementation DemoViewController - -- (void)viewDidLoad -{ - [super viewDidLoad]; - - [self setNeedsStatusBarAppearanceUpdate]; - - self.squareCashButton.layer.borderWidth = 2.0; - self.squareCashButton.layer.borderColor = [UIColor colorWithWhite:0.0 alpha:0.5].CGColor; - - self.facebookButton.layer.borderWidth = 2.0; - self.facebookButton.layer.borderColor = [UIColor colorWithWhite:0.0 alpha:0.5].CGColor; -} - -- (void)didReceiveMemoryWarning -{ - [super didReceiveMemoryWarning]; - // Dispose of any resources that can be recreated. -} - -- (UIStatusBarStyle)preferredStatusBarStyle -{ - return UIStatusBarStyleDefault; -} - -@end diff --git a/BLKFlexibleHeightBar Demo/FacebookStyleBar.h b/BLKFlexibleHeightBar Demo/FacebookStyleBar.h deleted file mode 100644 index 479236d..0000000 --- a/BLKFlexibleHeightBar Demo/FacebookStyleBar.h +++ /dev/null @@ -1,13 +0,0 @@ -// -// FacebookStyleBar.h -// BLKFlexibleHeightBar Demo -// -// Created by Bryan Keller on 3/7/15. -// Copyright (c) 2015 Bryan Keller. All rights reserved. -// - -#import "BLKFlexibleHeightBar.h" - -@interface FacebookStyleBar : BLKFlexibleHeightBar - -@end diff --git a/BLKFlexibleHeightBar Demo/FacebookStyleBar.m b/BLKFlexibleHeightBar Demo/FacebookStyleBar.m deleted file mode 100644 index 5cc51fd..0000000 --- a/BLKFlexibleHeightBar Demo/FacebookStyleBar.m +++ /dev/null @@ -1,100 +0,0 @@ -// -// FacebookStyleBar.m -// BLKFlexibleHeightBar Demo -// -// Created by Bryan Keller on 3/7/15. -// Copyright (c) 2015 Bryan Keller. All rights reserved. -// - -#import "FacebookStyleBar.h" - -@implementation FacebookStyleBar - -- (instancetype)initWithFrame:(CGRect)frame -{ - if(self = [super initWithFrame:frame]) - { - [self configureBar]; - } - - return self; -} - -- (void)configureBar -{ - // Configure bar appearence - self.maximumBarHeight = 105.0; - self.minimumBarHeight = 20.0; - self.backgroundColor = [UIColor colorWithRed:0.31 green:0.42 blue:0.64 alpha:1]; - self.clipsToBounds = YES; - - - // Add blue bar view - UIView *blueBarView = [[UIView alloc] init]; - blueBarView.backgroundColor = self.backgroundColor; - - BLKFlexibleHeightBarSubviewLayoutAttributes *initialBlueBarLayoutAttributes = [[BLKFlexibleHeightBarSubviewLayoutAttributes alloc] init]; - initialBlueBarLayoutAttributes.frame = CGRectMake(0.0, 25.0, self.frame.size.width, 40.0); - initialBlueBarLayoutAttributes.zIndex = 1023; - [blueBarView addLayoutAttributes:initialBlueBarLayoutAttributes forProgress:0.0]; - [blueBarView addLayoutAttributes:initialBlueBarLayoutAttributes forProgress:40.0/(105.0-20.0)]; - - BLKFlexibleHeightBarSubviewLayoutAttributes *finalBlueBarLayoutAttributes = [[BLKFlexibleHeightBarSubviewLayoutAttributes alloc] initWithExistingLayoutAttributes:initialBlueBarLayoutAttributes]; - finalBlueBarLayoutAttributes.transform = CGAffineTransformMakeTranslation(0.0, -40.0); - [blueBarView addLayoutAttributes:finalBlueBarLayoutAttributes forProgress:1.0]; - - [self addSubview:blueBarView]; - - - // Add search field and close button - UITextField *searchField = [[UITextField alloc] init]; - searchField.layer.cornerRadius = 5.0; - searchField.attributedPlaceholder = [[NSAttributedString alloc] initWithString:@"Search" attributes:@{NSForegroundColorAttributeName:[UIColor colorWithRed:0.55 green:0.6 blue:0.75 alpha:1]}]; - searchField.backgroundColor = [UIColor colorWithRed:0.22 green:0.27 blue:0.46 alpha:1]; - searchField.layer.sublayerTransform = CATransform3DMakeTranslation(5, 0, 0); - - BLKFlexibleHeightBarSubviewLayoutAttributes *initialSearchFieldLayoutAttributes = [[BLKFlexibleHeightBarSubviewLayoutAttributes alloc] init]; - initialSearchFieldLayoutAttributes.frame = CGRectMake(8.0, 25.0, initialBlueBarLayoutAttributes.size.width * 0.85, initialBlueBarLayoutAttributes.size.height-8.0); - initialSearchFieldLayoutAttributes.zIndex = 1024; - [searchField addLayoutAttributes:initialSearchFieldLayoutAttributes forProgress:0.0]; - [searchField addLayoutAttributes:initialSearchFieldLayoutAttributes forProgress:40.0/(105.0-20.0)]; - - BLKFlexibleHeightBarSubviewLayoutAttributes *finalSearchFieldLayoutAttributes = [[BLKFlexibleHeightBarSubviewLayoutAttributes alloc] initWithExistingLayoutAttributes:initialSearchFieldLayoutAttributes]; - finalSearchFieldLayoutAttributes.transform = CGAffineTransformMakeTranslation(0.0, -0.3*(105-20)); - finalSearchFieldLayoutAttributes.alpha = 0.0; - - [searchField addLayoutAttributes:finalSearchFieldLayoutAttributes forProgress:0.8]; - [searchField addLayoutAttributes:finalSearchFieldLayoutAttributes forProgress:1.0]; - - [self addSubview:searchField]; - - - // Add white bar view - UIView *whiteBarView = [[UIView alloc] init]; - whiteBarView.backgroundColor = [UIColor whiteColor]; - - BLKFlexibleHeightBarSubviewLayoutAttributes *initialWhiteBarLayoutAttributes = [[BLKFlexibleHeightBarSubviewLayoutAttributes alloc] init]; - initialWhiteBarLayoutAttributes.frame = CGRectMake(0.0, 65.0, self.frame.size.width, 40.0); - [whiteBarView addLayoutAttributes:initialWhiteBarLayoutAttributes forProgress:0.0]; - - BLKFlexibleHeightBarSubviewLayoutAttributes *finalWhiteBarLayoutAttributes = [[BLKFlexibleHeightBarSubviewLayoutAttributes alloc] initWithExistingLayoutAttributes:initialWhiteBarLayoutAttributes]; - finalWhiteBarLayoutAttributes.transform = CGAffineTransformMakeTranslation(0.0, -40.0); - [whiteBarView addLayoutAttributes:finalWhiteBarLayoutAttributes forProgress:40.0/(105.0-20.0)]; - - [self addSubview:whiteBarView]; - - // Configure white bar view subviews - UIView *bottomBorderView = [[UIView alloc] initWithFrame:CGRectMake(0.0, initialWhiteBarLayoutAttributes.size.height-0.5, initialWhiteBarLayoutAttributes.size.width, 0.5)]; - bottomBorderView.backgroundColor = [UIColor colorWithRed:0.75 green:0.76 blue:0.78 alpha:1]; - [whiteBarView addSubview:bottomBorderView]; - - UIView *leftVerticalDividerView = [[UIView alloc] initWithFrame:CGRectMake(initialWhiteBarLayoutAttributes.size.width*0.334, initialWhiteBarLayoutAttributes.size.height*0.1, 0.5, initialWhiteBarLayoutAttributes.size.height*0.8)]; - leftVerticalDividerView.backgroundColor = [UIColor colorWithRed:0.85 green:0.86 blue:0.88 alpha:1]; - [whiteBarView addSubview:leftVerticalDividerView]; - - UIView *rightVerticalDividerView = [[UIView alloc] initWithFrame:CGRectMake(initialWhiteBarLayoutAttributes.size.width*0.667, initialWhiteBarLayoutAttributes.size.height*0.1, 0.5, initialWhiteBarLayoutAttributes.size.height*0.8)]; - rightVerticalDividerView.backgroundColor = [UIColor colorWithRed:0.85 green:0.86 blue:0.88 alpha:1]; - [whiteBarView addSubview:rightVerticalDividerView]; -} - -@end diff --git a/BLKFlexibleHeightBar Demo/FacebookStyleViewController.h b/BLKFlexibleHeightBar Demo/FacebookStyleViewController.h deleted file mode 100644 index 1c1d124..0000000 --- a/BLKFlexibleHeightBar Demo/FacebookStyleViewController.h +++ /dev/null @@ -1,13 +0,0 @@ -// -// FacebookStyleViewController.h -// BLKFlexibleHeightBar Demo -// -// Created by Bryan Keller on 3/7/15. -// Copyright (c) 2015 Bryan Keller. All rights reserved. -// - -#import - -@interface FacebookStyleViewController : UIViewController - -@end diff --git a/BLKFlexibleHeightBar Demo/FacebookStyleViewController.m b/BLKFlexibleHeightBar Demo/FacebookStyleViewController.m deleted file mode 100644 index ee3b4ff..0000000 --- a/BLKFlexibleHeightBar Demo/FacebookStyleViewController.m +++ /dev/null @@ -1,102 +0,0 @@ -// -// FacebookStyleViewController.m -// BLKFlexibleHeightBar Demo -// -// Created by Bryan Keller on 3/7/15. -// Copyright (c) 2015 Bryan Keller. All rights reserved. -// - -#import "FacebookStyleViewController.h" - -#import "FacebookStyleBar.h" -#import "FacebookStyleBarBehaviorDefiner.h" - -@interface FacebookStyleViewController () - -@property (nonatomic) FacebookStyleBar *myCustomBar; -@property (nonatomic, weak) IBOutlet UITableView *tableView; - -@end - -@implementation FacebookStyleViewController - -- (void)viewDidLoad -{ - [super viewDidLoad]; - - [self setNeedsStatusBarAppearanceUpdate]; - - // Setup the bar - self.myCustomBar = [[FacebookStyleBar alloc] initWithFrame:CGRectMake(0.0, 0.0, CGRectGetWidth(self.view.frame), 100.0)]; - - FacebookStyleBarBehaviorDefiner *behaviorDefiner = [[FacebookStyleBarBehaviorDefiner alloc] init]; - [behaviorDefiner addSnappingPositionProgress:0.0 forProgressRangeStart:0.0 end:40.0/(105.0-20.0)]; - [behaviorDefiner addSnappingPositionProgress:1.0 forProgressRangeStart:40.0/(105.0-20.0) end:1.0]; - behaviorDefiner.snappingEnabled = YES; - behaviorDefiner.thresholdNegativeDirection = 140.0; - ((UIScrollView *)self.tableView).delegate = behaviorDefiner; - self.myCustomBar.behaviorDefiner = behaviorDefiner; - - [self.view addSubview:self.myCustomBar]; - - // Setup the table view - [self.tableView registerClass:[UITableViewCell class] forCellReuseIdentifier:@"Cell"]; - self.tableView.contentInset = UIEdgeInsetsMake(self.myCustomBar.maximumBarHeight, 0.0, 0.0, 0.0); - - - // Add a close button to the bar - UIButton *closeButton = [UIButton buttonWithType:UIButtonTypeSystem]; - closeButton.userInteractionEnabled = YES; - closeButton.tintColor = [UIColor whiteColor]; - [closeButton setImage:[UIImage imageNamed:@"Close.png"] forState:UIControlStateNormal]; - [closeButton addTarget:self action:@selector(closeViewController:) forControlEvents:UIControlEventTouchUpInside]; - - BLKFlexibleHeightBarSubviewLayoutAttributes *initialCloseButtonLayoutAttributes = [[BLKFlexibleHeightBarSubviewLayoutAttributes alloc] init]; - initialCloseButtonLayoutAttributes.frame = CGRectMake(self.myCustomBar.frame.size.width - 35.0, 26.5, 30.0, 30.0); - initialCloseButtonLayoutAttributes.zIndex = 1024; - - [closeButton addLayoutAttributes:initialCloseButtonLayoutAttributes forProgress:0.0]; - [closeButton addLayoutAttributes:initialCloseButtonLayoutAttributes forProgress:40.0/(105.0-20.0)]; - - BLKFlexibleHeightBarSubviewLayoutAttributes *finalCloseButtonLayoutAttributes = [[BLKFlexibleHeightBarSubviewLayoutAttributes alloc] initWithExistingLayoutAttributes:initialCloseButtonLayoutAttributes]; - finalCloseButtonLayoutAttributes.transform = CGAffineTransformMakeTranslation(0.0, -0.3*(105-20)); - finalCloseButtonLayoutAttributes.alpha = 0.0; - - [closeButton addLayoutAttributes:finalCloseButtonLayoutAttributes forProgress:0.8]; - [closeButton addLayoutAttributes:finalCloseButtonLayoutAttributes forProgress:1.0]; - - [self.myCustomBar addSubview:closeButton]; -} - -- (void)didReceiveMemoryWarning -{ - [super didReceiveMemoryWarning]; - // Dispose of any resources that can be recreated. -} - -- (UIStatusBarStyle)preferredStatusBarStyle -{ - return UIStatusBarStyleLightContent; -} - -- (void)closeViewController:(id)sender -{ - [self dismissViewControllerAnimated:YES completion:nil]; -} - - -# pragma mark - UITableViewDataSource methods - -- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section -{ - return 20; -} - -- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath -{ - UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:@"Cell" forIndexPath:indexPath]; - cell.backgroundColor = [UIColor colorWithRed:0.95 green:0.95 blue:0.95 alpha:1]; - return cell; -} - -@end diff --git a/BLKFlexibleHeightBar Demo/Images.xcassets/ProfilePicture.imageset/Contents.json b/BLKFlexibleHeightBar Demo/Images.xcassets/ProfilePicture.imageset/Contents.json deleted file mode 100644 index f8f827e..0000000 --- a/BLKFlexibleHeightBar Demo/Images.xcassets/ProfilePicture.imageset/Contents.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "images" : [ - { - "idiom" : "universal", - "scale" : "1x" - }, - { - "idiom" : "universal", - "scale" : "2x" - }, - { - "idiom" : "universal", - "scale" : "3x" - } - ], - "info" : { - "version" : 1, - "author" : "xcode" - } -} \ No newline at end of file diff --git a/BLKFlexibleHeightBar Demo/SquareCashStyleBar.h b/BLKFlexibleHeightBar Demo/SquareCashStyleBar.h deleted file mode 100644 index abd0059..0000000 --- a/BLKFlexibleHeightBar Demo/SquareCashStyleBar.h +++ /dev/null @@ -1,14 +0,0 @@ -// -// SquareCashStyleBar.h -// BLKFlexibleHeightBar Demo -// -// Created by Bryan Keller on 2/19/15. -// Copyright (c) 2015 Bryan Keller. All rights reserved. -// - -#import -#import "BLKFlexibleHeightBar.h" - -@interface SquareCashStyleBar : BLKFlexibleHeightBar - -@end diff --git a/BLKFlexibleHeightBar Demo/SquareCashStyleBar.m b/BLKFlexibleHeightBar Demo/SquareCashStyleBar.m deleted file mode 100644 index 4d767dc..0000000 --- a/BLKFlexibleHeightBar Demo/SquareCashStyleBar.m +++ /dev/null @@ -1,79 +0,0 @@ -// -// SquareCashStyleBar.m -// BLKFlexibleHeightBar Demo -// -// Created by Bryan Keller on 2/19/15. -// Copyright (c) 2015 Bryan Keller. All rights reserved. -// - -#import "SquareCashStyleBar.h" - -@implementation SquareCashStyleBar - -- (instancetype)initWithFrame:(CGRect)frame -{ - if(self = [super initWithFrame:frame]) - { - [self configureBar]; - } - - return self; -} - -- (void)configureBar -{ - // Configure bar appearence - self.maximumBarHeight = 200.0; - self.minimumBarHeight = 65.0; - self.backgroundColor = [UIColor colorWithRed:0.17 green:0.63 blue:0.11 alpha:1]; - - - // Add and configure name label - UILabel *nameLabel = [[UILabel alloc] init]; - nameLabel.font = [UIFont systemFontOfSize:22.0]; - nameLabel.textColor = [UIColor whiteColor]; - nameLabel.text = @"Bryan Keller"; - - BLKFlexibleHeightBarSubviewLayoutAttributes *initialNameLabelLayoutAttributes = [[BLKFlexibleHeightBarSubviewLayoutAttributes alloc] init]; - initialNameLabelLayoutAttributes.size = [nameLabel sizeThatFits:CGSizeZero]; - initialNameLabelLayoutAttributes.center = CGPointMake(self.frame.size.width*0.5, self.maximumBarHeight-50.0); - [nameLabel addLayoutAttributes:initialNameLabelLayoutAttributes forProgress:0.0]; - - BLKFlexibleHeightBarSubviewLayoutAttributes *midwayNameLabelLayoutAttributes = [[BLKFlexibleHeightBarSubviewLayoutAttributes alloc] initWithExistingLayoutAttributes:initialNameLabelLayoutAttributes]; - midwayNameLabelLayoutAttributes.center = CGPointMake(self.frame.size.width*0.5, (self.maximumBarHeight-self.minimumBarHeight)*0.4+self.minimumBarHeight-50.0); - [nameLabel addLayoutAttributes:midwayNameLabelLayoutAttributes forProgress:0.6]; - - BLKFlexibleHeightBarSubviewLayoutAttributes *finalNameLabelLayoutAttributes = [[BLKFlexibleHeightBarSubviewLayoutAttributes alloc] initWithExistingLayoutAttributes:midwayNameLabelLayoutAttributes]; - finalNameLabelLayoutAttributes.center = CGPointMake(self.frame.size.width*0.5, self.minimumBarHeight-25.0); - [nameLabel addLayoutAttributes:finalNameLabelLayoutAttributes forProgress:1.0]; - - [self addSubview:nameLabel]; - - - // Add and configure profile image - UIImageView *profileImageView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"ProfilePicture.png"]]; - profileImageView.contentMode = UIViewContentModeScaleAspectFill; - profileImageView.clipsToBounds = YES; - profileImageView.layer.cornerRadius = 35.0; - profileImageView.layer.borderWidth = 2.0; - profileImageView.layer.borderColor = [UIColor whiteColor].CGColor; - - BLKFlexibleHeightBarSubviewLayoutAttributes *initialProfileImageViewLayoutAttributes = [[BLKFlexibleHeightBarSubviewLayoutAttributes alloc] init]; - initialProfileImageViewLayoutAttributes.size = CGSizeMake(70.0, 70.0); - initialProfileImageViewLayoutAttributes.center = CGPointMake(self.frame.size.width*0.5, self.maximumBarHeight-110.0); - [profileImageView addLayoutAttributes:initialProfileImageViewLayoutAttributes forProgress:0.0]; - - BLKFlexibleHeightBarSubviewLayoutAttributes *midwayProfileImageViewLayoutAttributes = [[BLKFlexibleHeightBarSubviewLayoutAttributes alloc] initWithExistingLayoutAttributes:initialProfileImageViewLayoutAttributes]; - midwayProfileImageViewLayoutAttributes.center = CGPointMake(self.frame.size.width*0.5, (self.maximumBarHeight-self.minimumBarHeight)*0.8+self.minimumBarHeight-110.0); - [profileImageView addLayoutAttributes:midwayProfileImageViewLayoutAttributes forProgress:0.2]; - - BLKFlexibleHeightBarSubviewLayoutAttributes *finalProfileImageViewLayoutAttributes = [[BLKFlexibleHeightBarSubviewLayoutAttributes alloc] initWithExistingLayoutAttributes:midwayProfileImageViewLayoutAttributes]; - finalProfileImageViewLayoutAttributes.center = CGPointMake(self.frame.size.width*0.5, (self.maximumBarHeight-self.minimumBarHeight)*0.64+self.minimumBarHeight-110.0); - finalProfileImageViewLayoutAttributes.transform = CGAffineTransformMakeScale(0.5, 0.5); - finalProfileImageViewLayoutAttributes.alpha = 0.0; - [profileImageView addLayoutAttributes:finalProfileImageViewLayoutAttributes forProgress:0.5]; - - [self addSubview:profileImageView]; -} - -@end diff --git a/BLKFlexibleHeightBar Demo/SquareCashStyleViewController.h b/BLKFlexibleHeightBar Demo/SquareCashStyleViewController.h deleted file mode 100644 index 758c9dc..0000000 --- a/BLKFlexibleHeightBar Demo/SquareCashStyleViewController.h +++ /dev/null @@ -1,13 +0,0 @@ -// -// SquareCashStyleViewController.h -// BLKFlexibleHeightBar Demo -// -// Created by Bryan Keller on 3/7/15. -// Copyright (c) 2015 Bryan Keller. All rights reserved. -// - -#import - -@interface SquareCashStyleViewController : UIViewController - -@end diff --git a/BLKFlexibleHeightBar Demo/SquareCashStyleViewController.m b/BLKFlexibleHeightBar Demo/SquareCashStyleViewController.m deleted file mode 100644 index 95ce9d8..0000000 --- a/BLKFlexibleHeightBar Demo/SquareCashStyleViewController.m +++ /dev/null @@ -1,100 +0,0 @@ -// -// SquareCashStyleViewController.m -// BLKFlexibleHeightBar Demo -// -// Created by Bryan Keller on 3/7/15. -// Copyright (c) 2015 Bryan Keller. All rights reserved. -// - -#import "SquareCashStyleViewController.h" - -#import "SquareCashStyleBar.h" -#import "SquareCashStyleBehaviorDefiner.h" -#import "BLKDelegateSplitter.h" - -@interface SquareCashStyleViewController () - -@property (nonatomic) SquareCashStyleBar *myCustomBar; -@property (nonatomic, weak) IBOutlet UITableView *tableView; -@property (nonatomic) BLKDelegateSplitter *delegateSplitter; - -@end - -@implementation SquareCashStyleViewController - -- (void)viewDidLoad -{ - [super viewDidLoad]; - - [self setNeedsStatusBarAppearanceUpdate]; - - // Setup the bar - self.myCustomBar = [[SquareCashStyleBar alloc] initWithFrame:CGRectMake(0.0, 0.0, CGRectGetWidth(self.view.frame), 100.0)]; - - SquareCashStyleBehaviorDefiner *behaviorDefiner = [[SquareCashStyleBehaviorDefiner alloc] init]; - [behaviorDefiner addSnappingPositionProgress:0.0 forProgressRangeStart:0.0 end:0.5]; - [behaviorDefiner addSnappingPositionProgress:1.0 forProgressRangeStart:0.5 end:1.0]; - behaviorDefiner.snappingEnabled = YES; - behaviorDefiner.elasticMaximumHeightAtTop = YES; - self.myCustomBar.behaviorDefiner = behaviorDefiner; - - // Configure a separate UITableViewDelegate and UIScrollViewDelegate (optional) - self.delegateSplitter = [[BLKDelegateSplitter alloc] initWithFirstDelegate:behaviorDefiner secondDelegate:self]; - self.tableView.delegate = (id)self.delegateSplitter; - - [self.view addSubview:self.myCustomBar]; - - // Setup the table view - [self.tableView registerClass:[UITableViewCell class] forCellReuseIdentifier:@"Cell"]; - self.tableView.contentInset = UIEdgeInsetsMake(self.myCustomBar.maximumBarHeight, 0.0, 0.0, 0.0); - - - // Add close button - it's pinned to the top right corner, so it doesn't need to respond to bar height changes - UIButton *closeButton = [UIButton buttonWithType:UIButtonTypeCustom]; - closeButton.frame = CGRectMake(self.myCustomBar.frame.size.width-40.0, 25.0, 30.0, 30.0); - closeButton.tintColor = [UIColor whiteColor]; - [closeButton setImage:[UIImage imageNamed:@"Close.png"] forState:UIControlStateNormal]; - [closeButton addTarget:self action:@selector(closeViewController:) forControlEvents:UIControlEventTouchUpInside]; - [self.myCustomBar addSubview:closeButton]; -} - -- (void)didReceiveMemoryWarning -{ - [super didReceiveMemoryWarning]; - // Dispose of any resources that can be recreated. -} - -- (UIStatusBarStyle)preferredStatusBarStyle -{ - return UIStatusBarStyleLightContent; -} - -- (void)closeViewController:(id)sender -{ - [self dismissViewControllerAnimated:YES completion:nil]; -} - - -# pragma mark - UITableViewDataSource methods - -- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section -{ - return 20; -} - -- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath -{ - UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:@"Cell" forIndexPath:indexPath]; - cell.backgroundColor = [UIColor colorWithRed:0.95 green:0.95 blue:0.95 alpha:1]; - return cell; -} - - -# pragma mark - UITableViewDelegate methods - -- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath -{ - return 100.0; -} - -@end diff --git a/BLKFlexibleHeightBar Demo/main.m b/BLKFlexibleHeightBar Demo/main.m deleted file mode 100644 index f9a0932..0000000 --- a/BLKFlexibleHeightBar Demo/main.m +++ /dev/null @@ -1,16 +0,0 @@ -// -// main.m -// BLKFlexibleHeightBar Demo -// -// Created by Bryan Keller on 2/6/15. -// Copyright (c) 2015 Bryan Keller. All rights reserved. -// - -#import -#import "AppDelegate.h" - -int main(int argc, char * argv[]) { - @autoreleasepool { - return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); - } -} diff --git a/BLKFlexibleHeightBar DemoTests/BLKFlexibleHeightBar_DemoTests.m b/BLKFlexibleHeightBar DemoTests/BLKFlexibleHeightBar_DemoTests.m deleted file mode 100644 index c737fff..0000000 --- a/BLKFlexibleHeightBar DemoTests/BLKFlexibleHeightBar_DemoTests.m +++ /dev/null @@ -1,40 +0,0 @@ -// -// BLKFlexibleHeightBar_DemoTests.m -// BLKFlexibleHeightBar DemoTests -// -// Created by Bryan Keller on 2/6/15. -// Copyright (c) 2015 Bryan Keller. All rights reserved. -// - -#import -#import - -@interface BLKFlexibleHeightBar_DemoTests : XCTestCase - -@end - -@implementation BLKFlexibleHeightBar_DemoTests - -- (void)setUp { - [super setUp]; - // Put setup code here. This method is called before the invocation of each test method in the class. -} - -- (void)tearDown { - // Put teardown code here. This method is called after the invocation of each test method in the class. - [super tearDown]; -} - -- (void)testExample { - // This is an example of a functional test case. - XCTAssert(YES, @"Pass"); -} - -- (void)testPerformanceExample { - // This is an example of a performance test case. - [self measureBlock:^{ - // Put the code you want to measure the time of here. - }]; -} - -@end diff --git a/BLKFlexibleHeightBar.podspec b/BLKFlexibleHeightBar.podspec deleted file mode 100644 index e6447c1..0000000 --- a/BLKFlexibleHeightBar.podspec +++ /dev/null @@ -1,14 +0,0 @@ -Pod::Spec.new do |s| - s.name = 'BLKFlexibleHeightBar' - s.version = '1.0.2' - s.license = { :type => 'MIT', :file => 'LICENSE.md' } - s.summary = "A library for creating condensing header bars like those seen in the Facebook, Square Cash, and Safari iOS apps." - s.homepage = 'https://github.com/bryankeller/BLKFlexibleHeightBar/' - s.authors = { 'Bryan Keller' => 'kellerbryan19@gmail.com' } - s.social_media_url = "https://twitter.com/BKyourway19" - s.source = { :git => 'https://github.com/bryankeller/BLKFlexibleHeightBar.git', :tag => s.version.to_s } - s.source_files = 'BLKFlexibleHeightBar/*.{h,m}' - s.requires_arc = true - s.platform = :ios - s.platform = :ios, '6.0' -end diff --git a/BLKFlexibleHeightBarSwiftDemo.xcodeproj/project.pbxproj b/BLKFlexibleHeightBarSwiftDemo.xcodeproj/project.pbxproj new file mode 100644 index 0000000..ca46baa --- /dev/null +++ b/BLKFlexibleHeightBarSwiftDemo.xcodeproj/project.pbxproj @@ -0,0 +1,585 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + 295886A871B40FD120036E43 /* Pods_BLKFlexibleHeightBarSwiftDemo.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C4C0D015B6C2926112C5057B /* Pods_BLKFlexibleHeightBarSwiftDemo.framework */; settings = {ATTRIBUTES = (Weak, ); }; }; + 8FC5A03B538BD0B544C8B2C9 /* Pods_BLKFlexibleHeightBarSwiftDemoTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6F4A006797BD7C5287319C69 /* Pods_BLKFlexibleHeightBarSwiftDemoTests.framework */; settings = {ATTRIBUTES = (Weak, ); }; }; + D84BAD8C1AD6D72E00A58D71 /* FacebookStyleViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = D84BAD8B1AD6D72E00A58D71 /* FacebookStyleViewController.swift */; }; + D84BAD911AD6E16A00A58D71 /* SquareCashStyleBar.swift in Sources */ = {isa = PBXBuildFile; fileRef = D84BAD901AD6E16A00A58D71 /* SquareCashStyleBar.swift */; }; + D84BAD931AD6E3FA00A58D71 /* SquareCashStyleViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = D84BAD921AD6E3FA00A58D71 /* SquareCashStyleViewController.swift */; }; + D8E734F01AD6C0A900428694 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = D8E734EF1AD6C0A900428694 /* AppDelegate.swift */; }; + D8E734F71AD6C0A900428694 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = D8E734F61AD6C0A900428694 /* Images.xcassets */; }; + D8E734FA1AD6C0A900428694 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = D8E734F81AD6C0A900428694 /* LaunchScreen.xib */; }; + D8E735061AD6C0A900428694 /* BLKFlexibleHeightBarSwiftDemoTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = D8E735051AD6C0A900428694 /* BLKFlexibleHeightBarSwiftDemoTests.swift */; }; + D8E735111AD6C23700428694 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = D8E735101AD6C23700428694 /* Main.storyboard */; }; + D8E735161AD6C27500428694 /* square-cash-icon.png in Resources */ = {isa = PBXBuildFile; fileRef = D8E735121AD6C27500428694 /* square-cash-icon.png */; }; + D8E735171AD6C27500428694 /* facebook-icon.png in Resources */ = {isa = PBXBuildFile; fileRef = D8E735131AD6C27500428694 /* facebook-icon.png */; }; + D8E735181AD6C27500428694 /* ProfilePicture.png in Resources */ = {isa = PBXBuildFile; fileRef = D8E735141AD6C27500428694 /* ProfilePicture.png */; }; + D8E735191AD6C27500428694 /* Close.png in Resources */ = {isa = PBXBuildFile; fileRef = D8E735151AD6C27500428694 /* Close.png */; }; + D8E7351B1AD6C2B600428694 /* FacebookStyleBar.swift in Sources */ = {isa = PBXBuildFile; fileRef = D8E7351A1AD6C2B600428694 /* FacebookStyleBar.swift */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + D8E735001AD6C0A900428694 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = D8E734E21AD6C0A900428694 /* Project object */; + proxyType = 1; + remoteGlobalIDString = D8E734E91AD6C0A900428694; + remoteInfo = BLKFlexibleHeightBarSwiftDemo; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + 1089EABEB5A231324D4B4E6C /* Pods-BLKFlexibleHeightBarSwiftDemo.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-BLKFlexibleHeightBarSwiftDemo.debug.xcconfig"; path = "Pods/Target Support Files/Pods-BLKFlexibleHeightBarSwiftDemo/Pods-BLKFlexibleHeightBarSwiftDemo.debug.xcconfig"; sourceTree = ""; }; + 30119CC0B623FE83CA7E281D /* Pods-BLKFlexibleHeightBarSwiftDemo.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-BLKFlexibleHeightBarSwiftDemo.release.xcconfig"; path = "Pods/Target Support Files/Pods-BLKFlexibleHeightBarSwiftDemo/Pods-BLKFlexibleHeightBarSwiftDemo.release.xcconfig"; sourceTree = ""; }; + 6F4A006797BD7C5287319C69 /* Pods_BLKFlexibleHeightBarSwiftDemoTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_BLKFlexibleHeightBarSwiftDemoTests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 7ABB143E4B5BB1F6A57C300C /* Pods-BLKFlexibleHeightBarSwiftDemoTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-BLKFlexibleHeightBarSwiftDemoTests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-BLKFlexibleHeightBarSwiftDemoTests/Pods-BLKFlexibleHeightBarSwiftDemoTests.debug.xcconfig"; sourceTree = ""; }; + 8D813B57C4CD1EED4BD02A0F /* Pods-BLKFlexibleHeightBarSwiftDemoTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-BLKFlexibleHeightBarSwiftDemoTests.release.xcconfig"; path = "Pods/Target Support Files/Pods-BLKFlexibleHeightBarSwiftDemoTests/Pods-BLKFlexibleHeightBarSwiftDemoTests.release.xcconfig"; sourceTree = ""; }; + C4C0D015B6C2926112C5057B /* Pods_BLKFlexibleHeightBarSwiftDemo.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_BLKFlexibleHeightBarSwiftDemo.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + D84BAD8B1AD6D72E00A58D71 /* FacebookStyleViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = FacebookStyleViewController.swift; sourceTree = ""; }; + D84BAD901AD6E16A00A58D71 /* SquareCashStyleBar.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SquareCashStyleBar.swift; sourceTree = ""; }; + D84BAD921AD6E3FA00A58D71 /* SquareCashStyleViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SquareCashStyleViewController.swift; sourceTree = ""; }; + D8E734EA1AD6C0A900428694 /* BLKFlexibleHeightBarSwiftDemo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = BLKFlexibleHeightBarSwiftDemo.app; sourceTree = BUILT_PRODUCTS_DIR; }; + D8E734EE1AD6C0A900428694 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + D8E734EF1AD6C0A900428694 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; + D8E734F61AD6C0A900428694 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; + D8E734F91AD6C0A900428694 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; + D8E734FF1AD6C0A900428694 /* BLKFlexibleHeightBarSwiftDemoTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = BLKFlexibleHeightBarSwiftDemoTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + D8E735041AD6C0A900428694 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + D8E735051AD6C0A900428694 /* BLKFlexibleHeightBarSwiftDemoTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BLKFlexibleHeightBarSwiftDemoTests.swift; sourceTree = ""; }; + D8E7350F1AD6C1EC00428694 /* Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = Header.h; sourceTree = ""; }; + D8E735101AD6C23700428694 /* Main.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; path = Main.storyboard; sourceTree = ""; }; + D8E735121AD6C27500428694 /* square-cash-icon.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "square-cash-icon.png"; sourceTree = ""; }; + D8E735131AD6C27500428694 /* facebook-icon.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "facebook-icon.png"; sourceTree = ""; }; + D8E735141AD6C27500428694 /* ProfilePicture.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = ProfilePicture.png; sourceTree = ""; }; + D8E735151AD6C27500428694 /* Close.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = Close.png; sourceTree = ""; }; + D8E7351A1AD6C2B600428694 /* FacebookStyleBar.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = FacebookStyleBar.swift; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + D8E734E71AD6C0A900428694 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 295886A871B40FD120036E43 /* Pods_BLKFlexibleHeightBarSwiftDemo.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + D8E734FC1AD6C0A900428694 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 8FC5A03B538BD0B544C8B2C9 /* Pods_BLKFlexibleHeightBarSwiftDemoTests.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 1632BBD7B6ED6F9E0505A216 /* Pods */ = { + isa = PBXGroup; + children = ( + 1089EABEB5A231324D4B4E6C /* Pods-BLKFlexibleHeightBarSwiftDemo.debug.xcconfig */, + 30119CC0B623FE83CA7E281D /* Pods-BLKFlexibleHeightBarSwiftDemo.release.xcconfig */, + 7ABB143E4B5BB1F6A57C300C /* Pods-BLKFlexibleHeightBarSwiftDemoTests.debug.xcconfig */, + 8D813B57C4CD1EED4BD02A0F /* Pods-BLKFlexibleHeightBarSwiftDemoTests.release.xcconfig */, + ); + name = Pods; + sourceTree = ""; + }; + D8E734E11AD6C0A900428694 = { + isa = PBXGroup; + children = ( + D8E734EC1AD6C0A900428694 /* BLKFlexibleHeightBarSwiftDemo */, + D8E735021AD6C0A900428694 /* BLKFlexibleHeightBarSwiftDemoTests */, + D8E734EB1AD6C0A900428694 /* Products */, + 1632BBD7B6ED6F9E0505A216 /* Pods */, + E5D883595F8A57F49646E4F5 /* Frameworks */, + ); + sourceTree = ""; + }; + D8E734EB1AD6C0A900428694 /* Products */ = { + isa = PBXGroup; + children = ( + D8E734EA1AD6C0A900428694 /* BLKFlexibleHeightBarSwiftDemo.app */, + D8E734FF1AD6C0A900428694 /* BLKFlexibleHeightBarSwiftDemoTests.xctest */, + ); + name = Products; + sourceTree = ""; + }; + D8E734EC1AD6C0A900428694 /* BLKFlexibleHeightBarSwiftDemo */ = { + isa = PBXGroup; + children = ( + D8E734EF1AD6C0A900428694 /* AppDelegate.swift */, + D8E7351A1AD6C2B600428694 /* FacebookStyleBar.swift */, + D84BAD921AD6E3FA00A58D71 /* SquareCashStyleViewController.swift */, + D8E734F61AD6C0A900428694 /* Images.xcassets */, + D8E735101AD6C23700428694 /* Main.storyboard */, + D8E734F81AD6C0A900428694 /* LaunchScreen.xib */, + D8E734ED1AD6C0A900428694 /* Supporting Files */, + D8E7350F1AD6C1EC00428694 /* Header.h */, + D84BAD8B1AD6D72E00A58D71 /* FacebookStyleViewController.swift */, + D84BAD901AD6E16A00A58D71 /* SquareCashStyleBar.swift */, + ); + path = BLKFlexibleHeightBarSwiftDemo; + sourceTree = ""; + }; + D8E734ED1AD6C0A900428694 /* Supporting Files */ = { + isa = PBXGroup; + children = ( + D8E735121AD6C27500428694 /* square-cash-icon.png */, + D8E735131AD6C27500428694 /* facebook-icon.png */, + D8E735141AD6C27500428694 /* ProfilePicture.png */, + D8E735151AD6C27500428694 /* Close.png */, + D8E734EE1AD6C0A900428694 /* Info.plist */, + ); + name = "Supporting Files"; + sourceTree = ""; + }; + D8E735021AD6C0A900428694 /* BLKFlexibleHeightBarSwiftDemoTests */ = { + isa = PBXGroup; + children = ( + D8E735051AD6C0A900428694 /* BLKFlexibleHeightBarSwiftDemoTests.swift */, + D8E735031AD6C0A900428694 /* Supporting Files */, + ); + path = BLKFlexibleHeightBarSwiftDemoTests; + sourceTree = ""; + }; + D8E735031AD6C0A900428694 /* Supporting Files */ = { + isa = PBXGroup; + children = ( + D8E735041AD6C0A900428694 /* Info.plist */, + ); + name = "Supporting Files"; + sourceTree = ""; + }; + E5D883595F8A57F49646E4F5 /* Frameworks */ = { + isa = PBXGroup; + children = ( + C4C0D015B6C2926112C5057B /* Pods_BLKFlexibleHeightBarSwiftDemo.framework */, + 6F4A006797BD7C5287319C69 /* Pods_BLKFlexibleHeightBarSwiftDemoTests.framework */, + ); + name = Frameworks; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + D8E734E91AD6C0A900428694 /* BLKFlexibleHeightBarSwiftDemo */ = { + isa = PBXNativeTarget; + buildConfigurationList = D8E735091AD6C0A900428694 /* Build configuration list for PBXNativeTarget "BLKFlexibleHeightBarSwiftDemo" */; + buildPhases = ( + A4469941406872662C5AFA99 /* Check Pods Manifest.lock */, + D8E734E61AD6C0A900428694 /* Sources */, + D8E734E71AD6C0A900428694 /* Frameworks */, + D8E734E81AD6C0A900428694 /* Resources */, + 05CB98CF7C33E844306ED2BE /* Copy Pods Resources */, + 2AD779036B883EAB7B259C1C /* Embed Pods Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = BLKFlexibleHeightBarSwiftDemo; + productName = BLKFlexibleHeightBarSwiftDemo; + productReference = D8E734EA1AD6C0A900428694 /* BLKFlexibleHeightBarSwiftDemo.app */; + productType = "com.apple.product-type.application"; + }; + D8E734FE1AD6C0A900428694 /* BLKFlexibleHeightBarSwiftDemoTests */ = { + isa = PBXNativeTarget; + buildConfigurationList = D8E7350C1AD6C0A900428694 /* Build configuration list for PBXNativeTarget "BLKFlexibleHeightBarSwiftDemoTests" */; + buildPhases = ( + 802E6325B895128C9F7A163D /* Check Pods Manifest.lock */, + D8E734FB1AD6C0A900428694 /* Sources */, + D8E734FC1AD6C0A900428694 /* Frameworks */, + D8E734FD1AD6C0A900428694 /* Resources */, + A47548DD544BE1156F167D2F /* Copy Pods Resources */, + A31BAF90335E70CD9393B6B3 /* Embed Pods Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + D8E735011AD6C0A900428694 /* PBXTargetDependency */, + ); + name = BLKFlexibleHeightBarSwiftDemoTests; + productName = BLKFlexibleHeightBarSwiftDemoTests; + productReference = D8E734FF1AD6C0A900428694 /* BLKFlexibleHeightBarSwiftDemoTests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + D8E734E21AD6C0A900428694 /* Project object */ = { + isa = PBXProject; + attributes = { + LastUpgradeCheck = 0630; + ORGANIZATIONNAME = Weshapp; + TargetAttributes = { + D8E734E91AD6C0A900428694 = { + CreatedOnToolsVersion = 6.3; + }; + D8E734FE1AD6C0A900428694 = { + CreatedOnToolsVersion = 6.3; + TestTargetID = D8E734E91AD6C0A900428694; + }; + }; + }; + buildConfigurationList = D8E734E51AD6C0A900428694 /* Build configuration list for PBXProject "BLKFlexibleHeightBarSwiftDemo" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = D8E734E11AD6C0A900428694; + productRefGroup = D8E734EB1AD6C0A900428694 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + D8E734E91AD6C0A900428694 /* BLKFlexibleHeightBarSwiftDemo */, + D8E734FE1AD6C0A900428694 /* BLKFlexibleHeightBarSwiftDemoTests */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + D8E734E81AD6C0A900428694 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + D8E735191AD6C27500428694 /* Close.png in Resources */, + D8E734FA1AD6C0A900428694 /* LaunchScreen.xib in Resources */, + D8E734F71AD6C0A900428694 /* Images.xcassets in Resources */, + D8E735181AD6C27500428694 /* ProfilePicture.png in Resources */, + D8E735161AD6C27500428694 /* square-cash-icon.png in Resources */, + D8E735171AD6C27500428694 /* facebook-icon.png in Resources */, + D8E735111AD6C23700428694 /* Main.storyboard in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + D8E734FD1AD6C0A900428694 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXShellScriptBuildPhase section */ + 05CB98CF7C33E844306ED2BE /* 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-BLKFlexibleHeightBarSwiftDemo/Pods-BLKFlexibleHeightBarSwiftDemo-resources.sh\"\n"; + showEnvVarsInLog = 0; + }; + 2AD779036B883EAB7B259C1C /* Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "Embed Pods Frameworks"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-BLKFlexibleHeightBarSwiftDemo/Pods-BLKFlexibleHeightBarSwiftDemo-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; + 802E6325B895128C9F7A163D /* 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; + }; + A31BAF90335E70CD9393B6B3 /* Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "Embed Pods Frameworks"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-BLKFlexibleHeightBarSwiftDemoTests/Pods-BLKFlexibleHeightBarSwiftDemoTests-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; + A4469941406872662C5AFA99 /* 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; + }; + A47548DD544BE1156F167D2F /* 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-BLKFlexibleHeightBarSwiftDemoTests/Pods-BLKFlexibleHeightBarSwiftDemoTests-resources.sh\"\n"; + showEnvVarsInLog = 0; + }; +/* End PBXShellScriptBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + D8E734E61AD6C0A900428694 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + D8E734F01AD6C0A900428694 /* AppDelegate.swift in Sources */, + D84BAD931AD6E3FA00A58D71 /* SquareCashStyleViewController.swift in Sources */, + D84BAD8C1AD6D72E00A58D71 /* FacebookStyleViewController.swift in Sources */, + D8E7351B1AD6C2B600428694 /* FacebookStyleBar.swift in Sources */, + D84BAD911AD6E16A00A58D71 /* SquareCashStyleBar.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + D8E734FB1AD6C0A900428694 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + D8E735061AD6C0A900428694 /* BLKFlexibleHeightBarSwiftDemoTests.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + D8E735011AD6C0A900428694 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = D8E734E91AD6C0A900428694 /* BLKFlexibleHeightBarSwiftDemo */; + targetProxy = D8E735001AD6C0A900428694 /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin PBXVariantGroup section */ + D8E734F81AD6C0A900428694 /* LaunchScreen.xib */ = { + isa = PBXVariantGroup; + children = ( + D8E734F91AD6C0A900428694 /* Base */, + ); + name = LaunchScreen.xib; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + D8E735071AD6C0A900428694 /* 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; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; + 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.3; + MTL_ENABLE_DEBUG_INFO = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + D8E735081AD6C0A900428694 /* 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 = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_NO_COMMON_BLOCKS = YES; + 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.3; + MTL_ENABLE_DEBUG_INFO = NO; + SDKROOT = iphoneos; + TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + D8E7350A1AD6C0A900428694 /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 1089EABEB5A231324D4B4E6C /* Pods-BLKFlexibleHeightBarSwiftDemo.debug.xcconfig */; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + INFOPLIST_FILE = BLKFlexibleHeightBarSwiftDemo/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + D8E7350B1AD6C0A900428694 /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 30119CC0B623FE83CA7E281D /* Pods-BLKFlexibleHeightBarSwiftDemo.release.xcconfig */; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + INFOPLIST_FILE = BLKFlexibleHeightBarSwiftDemo/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; + D8E7350D1AD6C0A900428694 /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 7ABB143E4B5BB1F6A57C300C /* Pods-BLKFlexibleHeightBarSwiftDemoTests.debug.xcconfig */; + buildSettings = { + BUNDLE_LOADER = "$(TEST_HOST)"; + FRAMEWORK_SEARCH_PATHS = ( + "$(SDKROOT)/Developer/Library/Frameworks", + "$(inherited)", + ); + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + INFOPLIST_FILE = BLKFlexibleHeightBarSwiftDemoTests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_NAME = "$(TARGET_NAME)"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/BLKFlexibleHeightBarSwiftDemo.app/BLKFlexibleHeightBarSwiftDemo"; + }; + name = Debug; + }; + D8E7350E1AD6C0A900428694 /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 8D813B57C4CD1EED4BD02A0F /* Pods-BLKFlexibleHeightBarSwiftDemoTests.release.xcconfig */; + buildSettings = { + BUNDLE_LOADER = "$(TEST_HOST)"; + FRAMEWORK_SEARCH_PATHS = ( + "$(SDKROOT)/Developer/Library/Frameworks", + "$(inherited)", + ); + INFOPLIST_FILE = BLKFlexibleHeightBarSwiftDemoTests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_NAME = "$(TARGET_NAME)"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/BLKFlexibleHeightBarSwiftDemo.app/BLKFlexibleHeightBarSwiftDemo"; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + D8E734E51AD6C0A900428694 /* Build configuration list for PBXProject "BLKFlexibleHeightBarSwiftDemo" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + D8E735071AD6C0A900428694 /* Debug */, + D8E735081AD6C0A900428694 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + D8E735091AD6C0A900428694 /* Build configuration list for PBXNativeTarget "BLKFlexibleHeightBarSwiftDemo" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + D8E7350A1AD6C0A900428694 /* Debug */, + D8E7350B1AD6C0A900428694 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + D8E7350C1AD6C0A900428694 /* Build configuration list for PBXNativeTarget "BLKFlexibleHeightBarSwiftDemoTests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + D8E7350D1AD6C0A900428694 /* Debug */, + D8E7350E1AD6C0A900428694 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = D8E734E21AD6C0A900428694 /* Project object */; +} diff --git a/BLKFlexibleHeightBar Demo.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/BLKFlexibleHeightBarSwiftDemo.xcodeproj/project.xcworkspace/contents.xcworkspacedata similarity index 62% rename from BLKFlexibleHeightBar Demo.xcodeproj/project.xcworkspace/contents.xcworkspacedata rename to BLKFlexibleHeightBarSwiftDemo.xcodeproj/project.xcworkspace/contents.xcworkspacedata index b54306d..2c4d173 100644 --- a/BLKFlexibleHeightBar Demo.xcodeproj/project.xcworkspace/contents.xcworkspacedata +++ b/BLKFlexibleHeightBarSwiftDemo.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -2,6 +2,6 @@ + location = "self:BLKFlexibleHeightBarSwiftDemo.xcodeproj"> diff --git a/BLKFlexibleHeightBarSwiftDemo.xcworkspace/contents.xcworkspacedata b/BLKFlexibleHeightBarSwiftDemo.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..0f8c8eb --- /dev/null +++ b/BLKFlexibleHeightBarSwiftDemo.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,10 @@ + + + + + + + diff --git a/BLKFlexibleHeightBarSwiftDemo/AppDelegate.swift b/BLKFlexibleHeightBarSwiftDemo/AppDelegate.swift new file mode 100644 index 0000000..17b99c1 --- /dev/null +++ b/BLKFlexibleHeightBarSwiftDemo/AppDelegate.swift @@ -0,0 +1,46 @@ +// +// AppDelegate.swift +// BLKFlexibleHeightBarSwiftDemo +// +// Created by rabzu on 09/04/2015. +// Copyright (c) 2015 Weshapp. All rights reserved. +// + +import UIKit + +@UIApplicationMain +class AppDelegate: UIResponder, UIApplicationDelegate { + + var window: UIWindow? + + + func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool { + // Override point for customization after application launch. + return true + } + + func applicationWillResignActive(application: UIApplication) { + // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. + // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game. + } + + func applicationDidEnterBackground(application: UIApplication) { + // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. + // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. + } + + func applicationWillEnterForeground(application: UIApplication) { + // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background. + } + + func applicationDidBecomeActive(application: UIApplication) { + // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. + } + + func applicationWillTerminate(application: UIApplication) { + // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. + } + + +} + diff --git a/BLKFlexibleHeightBar Demo/Base.lproj/LaunchScreen.xib b/BLKFlexibleHeightBarSwiftDemo/Base.lproj/LaunchScreen.xib similarity index 86% rename from BLKFlexibleHeightBar Demo/Base.lproj/LaunchScreen.xib rename to BLKFlexibleHeightBarSwiftDemo/Base.lproj/LaunchScreen.xib index 9804151..434049c 100644 --- a/BLKFlexibleHeightBar Demo/Base.lproj/LaunchScreen.xib +++ b/BLKFlexibleHeightBarSwiftDemo/Base.lproj/LaunchScreen.xib @@ -11,13 +11,13 @@ -