Latest 0.0.4
Homepage https://github.com/neethouse/NeetMSTranslator
License MIT
Platforms ios 6.0, requires ARC
Authors

Microsoft Translator for iOS

Haw to Install

use cocoapods

pod 'NeetMSTranslator', '~>0.0.3

How to Use


 NMSTranslator *tra = [NMSTranslator sharedTranslator];

 [tra initializeTranslatorWithClientID:@"your client ID"
                          clientSecret:@"your client secret"];

 [tra transrateWithText:@"hello" to:@"ja" success:^(NSHTTPURLResponse *response, NSString *string) {

     NSLog(@"succ: %@", string); // こんにちわ

 } failure:^(NSHTTPURLResponse *response, NSData *data, NSError *error) {

     NSLog(@"err: %@", error);
 }];

Latest podspec

{
    "name": "NeetMSTranslator",
    "version": "0.0.4",
    "summary": "Microsoft Translator for iOS",
    "description": "Microsoft Translator for iOSnn```obj-cnNMSTranslator *tra = [NMSTranslator sharedTranslator];nn[tra initializeTranslatorWithClientID:@"your client ID"n                         clientSecret:@"your client secret"];nn[tra transrateWithText:@"hello" to:@"ja" success:^(NSHTTPURLResponse *response, NSString *string) {nn  NSLog(@"succ: %@", string); // u3053u3093u306bu3061u308fnn} failure:^(NSHTTPURLResponse *response, NSData *data, NSError *error) {nn  NSLog(@"err: %@", error);n}];nn```",
    "homepage": "https://github.com/neethouse/NeetMSTranslator",
    "license": "MIT",
    "authors": {
        "mironal": "[email protected]"
    },
    "platforms": {
        "ios": "6.0"
    },
    "source": {
        "git": "https://github.com/neethouse/NeetMSTranslator.git",
        "tag": "0.0.4"
    },
    "source_files": "NeetMSTranslator/Classes/*.{h,m}",
    "requires_arc": true
}

Pin It on Pinterest

Share This