Link: https://www.buddybuild.com/blog/optimizing-your-swift-codebase-with-attributes
Indicates the avalibility of a method of a platform or version number
@available(iOS 10.0, macOS 10.12)
@available(iOS 10.0, macOS 10.12, *)
Link: https://www.buddybuild.com/blog/optimizing-your-swift-codebase-with-attributes
Indicates the avalibility of a method of a platform or version number
@available(iOS 10.0, macOS 10.12)
@available(iOS 10.0, macOS 10.12, *)
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
#!/bin/sh | |
# Setup_Crashlytics_API_Keys.sh | |
# iOSConsumerApp | |
# | |
# Created by Muhammad Tanveer on 9/17/15. | |
# Copyright (c) 2015 iCarAsia. All rights reserved. | |
path_to_info_plist_file="$TARGET_BUILD_DIR/${PRODUCT_NAME}.app/Info.plist" |
#!/bin/sh | |
# Run_Crashlytics.sh | |
# iOSConsumerApp | |
# | |
# Created by Muhammad Tanveer on 9/17/15. | |
# Copyright (c) 2015 iCarAsia. All rights reserved. | |
# Import keys and secrets from a file |
#!/bin/sh | |
# Crashlytics_keys.sh | |
# iOSConsumerApp | |
# | |
# Created by Muhammad Tanveer on 9/17/15. | |
# Copyright (c) 2015 iCarAsia. All rights reserved. | |
the_crashlytics_production_api_key="XXXXXXXXXXXXXXXXXXXXXX" | |
the_crashlytics_production_build_secret="XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" |
#!/bin/sh | |
# Setup_GoogleAnalytics_API_Keys.sh | |
# iOSConsumerApp | |
# | |
# Created by Muhammad Tanveer on 9/17/15. | |
# Copyright (c) 2015 iCarAsia. All rights reserved. | |
#!/bin/sh | |
# GoogleAnalytics_keys.sh | |
# iOSConsumerApp | |
# | |
# Created by Muhammad Tanveer on 9/17/15. | |
# Copyright (c) 2015 iCarAsia. All rights reserved. | |
if [ ${TARGET_NAME} = "iOSConsumerApp" ]; then |
#!/bin/sh | |
# Setup_Facebook_API_Keys.sh | |
# iOSConsumerApp | |
# | |
# Created by Muhammad Tanveer on 9/17/15. | |
# Copyright (c) 2015 iCarAsia. All rights reserved. | |
path_to_info_plist_file="$TARGET_BUILD_DIR/${PRODUCT_NAME}.app/Info.plist" |
#!/bin/sh | |
# Facebook_keys.sh | |
# iOSConsumerApp | |
# | |
# Created by Muhammad Tanveer on 9/17/15. | |
# Copyright (c) 2015 iCarAsia. All rights reserved. | |
if [ ${TARGET_NAME} = "iOSConsumerApp" ]; then |