This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
## GEMS | |
# Coding | |
sudo gem install cocoapods | |
sudo gem install fastlane | |
## Homebrew | |
# Install Homebrew | |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
bold=$(tput bold) | |
normal=$(tput sgr0) | |
if test -f "Podfile.lock"; | |
then | |
VALUE=`cat Podfile.lock | grep COCOAPODS` | |
POD_VER=$(echo $VALUE | sed 's/COCOAPODS: //g') | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# USAGE: ./git-mirror [email protected]:account/source.git [email protected]:account/destination.git | |
echo ""; | |
echo "Cloning repository source: $1"; | |
echo ""; | |
git clone --mirror $1 temp-folder | |
echo ""; | |
echo "Adding new origin: $2"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
############################################################################################################## | |
# This script is only to be run once to generate NamespacedDependencies.h, do not run multiple times | |
# Uncomment the following line to prevent the script running | |
# exit 0 | |
# This script is a modified version of this: https://github.com/jverkoey/nimbus/blob/master/scripts/generate_namespace_header | |
############################################################################################################## | |
###################################################### | |
# Link here to the file where the namespaced dependencies will be listed | |
header=$PROJECT_DIR/NamespacedDependencies.h |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ************************************************************* // | |
// UIResponder+FirstResponder.h | |
// ************************************************************* // | |
@interface UIResponder (FirstResponder) | |
+ (UIResponder*)firstResponder; | |
@end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ************************************************************ // | |
// UIResponder+FirstResponder.h | |
// ************************************************************ // | |
@interface UIResponder (FirstResponder) | |
+ (UIResponder*)firstResponder; | |
@end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ************************************************************ // | |
// UIResponder+FirstResponder.h | |
// ************************************************************ // | |
@interface UIResponder (FirstResponder) | |
+ (UIResponder*)firstResponder; | |
@end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ************************************************************ // | |
// NSObject + Swizzle.h | |
// ************************************************************ // | |
@interface NSObject (Swizzle) | |
+ (void)swizzleSelector:(SEL)selector withSelector:(SEL)newSelector; | |
@end |