5e7b6ed60e
[FIXED] Font of navbar. [FIXED] A few compile fixes. [IMPROVED] Made properties nonatomic. [ADDED] Support for facebook, twitter and google+ sharing.
64 lines
1.9 KiB
Objective-C
64 lines
1.9 KiB
Objective-C
/* Copyright (c) 2012 Google Inc.
|
|
*
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
* you may not use this file except in compliance with the License.
|
|
* You may obtain a copy of the License at
|
|
*
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
* See the License for the specific language governing permissions and
|
|
* limitations under the License.
|
|
*/
|
|
|
|
//
|
|
// GTLServicePlus.m
|
|
//
|
|
|
|
// ----------------------------------------------------------------------------
|
|
// NOTE: This file is generated from Google APIs Discovery Service.
|
|
// Service:
|
|
// Google+ API (plus/v1moments)
|
|
// Description:
|
|
// The Google+ API enables developers to build on top of the Google+ platform.
|
|
// Documentation:
|
|
// http://developers.google.com/+/api/
|
|
// Classes:
|
|
// GTLServicePlus (0 custom class methods, 0 custom properties)
|
|
|
|
#import "GTLPlus.h"
|
|
|
|
@implementation GTLServicePlus
|
|
|
|
#if DEBUG
|
|
// Method compiled in debug builds just to check that all the needed support
|
|
// classes are present at link time.
|
|
+ (NSArray *)checkClasses {
|
|
NSArray *classes = [NSArray arrayWithObjects:
|
|
[GTLQueryPlus class],
|
|
[GTLPlusItemScope class],
|
|
[GTLPlusMoment class],
|
|
[GTLPlusPerson class],
|
|
nil];
|
|
return classes;
|
|
}
|
|
#endif // DEBUG
|
|
|
|
- (id)init {
|
|
self = [super init];
|
|
if (self) {
|
|
// Version from discovery.
|
|
self.apiVersion = @"v1moments";
|
|
|
|
// From discovery. Where to send JSON-RPC.
|
|
// Turn off prettyPrint for this service to save bandwidth (especially on
|
|
// mobile). The fetcher logging will pretty print.
|
|
self.rpcURL = [NSURL URLWithString:@"https://www.googleapis.com/rpc?prettyPrint=false"];
|
|
}
|
|
return self;
|
|
}
|
|
|
|
@end
|