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
// | |
// AVAudioSession+Switch.h | |
// | |
// Created by Anton Shebukov on 09/06/16. | |
// Copyright (c) 2013-2017 Feedback Italia S.r.l. All rights reserved. | |
// | |
#import <AVFoundation/AVFoundation.h> |
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
# Set path to plist files | |
infoPlist=${INFOPLIST_FILE} | |
settingsPlist="appName/Resources/Settings.bundle/Root.plist" | |
# Get some values from info.plist and generate current date | |
CFBundleVersion=$(/usr/libexec/PlistBuddy -c "Print CFBundleVersion" "$infoPlist") | |
CFBuildNumber=$(/usr/libexec/PlistBuddy -c "Print CFBuildNumber" "$infoPlist") | |
CFBuildDate=$(date '+%Y-%m-%d %H:%M:%S %z') | |
# Increment build |
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
- (instancetype)initWithLatitude:(NSString *)aLatitude | |
longitude:(NSString *)aLongitude | |
completionHandler:(ASLocationMediaItemCompletionBlock)aCompletion { | |
NSParameterAssert(aLatitude != nil); | |
NSParameterAssert(aLongitude != nil); | |
self = [super initWithLatitude:aLatitude longitude:aLongitude]; | |
if (self) { | |
CLLocationCoordinate2D locCoord = CLLocationCoordinate2DMake([aLatitude floatValue], [aLongitude floatValue]); |