Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am y0unghe on github.
  • I am andyhe (https://keybase.io/andyhe) on keybase.
  • I have a public key whose fingerprint is 755A 258A D9FD 6222 ADDE 3157 057A 8AAC E092 DBA1

To claim this, I am signing this object:

@y0unghe
y0unghe / XcodeBuildSettingsReference.md
Created May 3, 2017 09:50 — forked from NSExceptional/XcodeBuildSettingsReference.md
The Xcode Build Settings Reference in a searchable document, as of Xcode 8.3.2

Build settings reference

Active Build Action (ACTION)

A string identifying the build system action being performed.

Additional SDKs (ADDITIONAL_SDKS)

The locations of any sparse SDKs that should be layered on top of the one specified by Base SDK (SDKROOT). If more than one SDK is listed, the first one has highest precedence. Every SDK specified in this setting should be a "sparse" SDK, for example, not an SDK for an entire macOS release.

Alternate Install Group (ALTERNATE_GROUP)

{
"name": "ReactiveCocoa",
"version": "4.2.1",
"summary": "A framework for composing and transforming streams of values.",
"description": "ReactiveCocoa (RAC) is an Objective-C framework for Functional Reactive Programming.\nIt provides APIs for composing and transforming streams of values.",
"homepage": "https://github.com/ReactiveCocoa/ReactiveCocoa",
"license": {
"type": "MIT",
"file": "LICENSE.md"
},
@y0unghe
y0unghe / GoogleTTS.m
Created August 29, 2013 06:28
用google tts api发音
/*
q 要发音的中文或英文词语、句子
tl 发音语言
http://translate.google.com/translate_tts?ie=UTF-8&q=你好&tl=zh-CN&total=1&idx=0&textlen=11&prev=input
*/
NSString* userAgent = @"Mozilla/5.0";
NSURL *url = [NSURL URLWithString:[@"http://translate.google.com/translate_tts?ie=UTF-8&q=你好&tl=zh-CN&total=1&idx=0&textlen=11&prev=input"
stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding]];
NSMutableURLRequest* request = [[NSMutableURLRequest alloc] initWithURL:url];