Skip to content

Instantly share code, notes, and snippets.

View songzhou21's full-sized avatar
🎯
Focusing

Song Zhou songzhou21

🎯
Focusing
View GitHub Profile
//
// PlusOne.m
// test
//
// Created by Song Zhou on 08/05/2017.
// Copyright © 2017 Song Zhou. All rights reserved.
//
#import "PlusOne.h"
@songzhou21
songzhou21 / pod_using_swift_version.rb
Last active August 31, 2018 09:35
pod using swift version
swift_targets_map = {
"Charts" => "4.1"
}
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
version = swift_targets_map[target.name]
if version
puts "#{target} using Swift #{version}"