This file contains 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
post_install do |installer| | |
project = Xcodeproj::Project.open('MeetupApp.xcodeproj') | |
config_mapping = { | |
:Debug => 'Configuration/Debug.xcconfig' | |
} | |
set_xcconfig_reference(project,'MeetupApp','Debug','Configuration/Debug.xcconfig') | |
end | |
def set_xcconfig_reference(project, target_name, config_name, xcconfig_name) |
This file contains 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
#import "NSURL+MUAdditions.h" | |
@implementation NSURL (MUAdditions) | |
-(NSURL*) URLByAppendingQueryString:(NSString*)queryString | |
{ | |
NSString *absoluteString = [self absoluteString]; | |
NSInteger startOfQueryString = [absoluteString rangeOfString:@"?"].location; | |
NSInteger startOfFragment = [absoluteString rangeOfString:@"#"].location; |
NewerOlder