forked from google/google-api-objectivec-client-for-rest
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit ad9208d
Showing
1,849 changed files
with
1,469,415 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
# How to contribute # | ||
|
||
We'd love to accept your patches and contributions to this project. There are | ||
a just a few small guidelines you need to follow. | ||
|
||
|
||
## Contributor License Agreement ## | ||
|
||
Contributions to any Google project must be accompanied by a Contributor | ||
License Agreement. This is not a copyright **assignment**, it simply gives | ||
Google permission to use and redistribute your contributions as part of the | ||
project. | ||
|
||
* If you are an individual writing original source code and you're sure you | ||
own the intellectual property, then you'll need to sign an [individual | ||
CLA][]. | ||
|
||
* If you work for a company that wants to allow you to contribute your work, | ||
then you'll need to sign a [corporate CLA][]. | ||
|
||
You generally only need to submit a CLA once, so if you've already submitted | ||
one (even if it was for a different project), you probably don't need to do it | ||
again. | ||
|
||
[individual CLA]: https://developers.google.com/open-source/cla/individual | ||
[corporate CLA]: https://developers.google.com/open-source/cla/corporate | ||
|
||
|
||
## Submitting a patch ## | ||
|
||
1. It's generally best to start by opening a new issue describing the bug or | ||
feature you're intending to fix. Even if you think it's relatively minor, | ||
it's helpful to know what people are working on. Mention in the initial | ||
issue that you are planning to work on that bug or feature so that it can | ||
be assigned to you. | ||
|
||
1. Follow the normal process of [forking][] the project, and setup a new | ||
branch to work in. It's important that each group of changes be done in | ||
separate branches in order to ensure that a pull request only includes the | ||
commits related to that bug or feature. | ||
|
||
1. Any significant changes should almost always be accompanied by tests. The | ||
project already has good test coverage, so look at some of the existing | ||
tests if you're unsure how to go about it. | ||
|
||
1. Do your best to have [well-formed commit messages][] for each change. | ||
This provides consistency throughout the project, and ensures that commit | ||
messages are able to be formatted properly by various git tools. | ||
|
||
1. Finally, push the commits to your fork and submit a [pull request][]. | ||
|
||
[forking]: https://help.github.com/articles/fork-a-repo | ||
[well-formed commit messages]: http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html | ||
[pull request]: https://help.github.com/articles/creating-a-pull-request |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
This directory contains git submodules for the other projects that this project | ||
depends on. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
## Build generated | ||
build/ | ||
DerivedData/ | ||
|
||
## Various settings | ||
*.pbxuser | ||
!default.pbxuser | ||
*.mode1v3 | ||
!default.mode1v3 | ||
*.mode2v3 | ||
!default.mode2v3 | ||
*.perspectivev3 | ||
!default.perspectivev3 | ||
xcuserdata/ | ||
|
||
## Other | ||
*.moved-aside | ||
*.xcuserstate | ||
|
||
# Pods are ignored in the examples as all Pods & their dependencies are either | ||
# development Pods (this repo) or sourced from repos in the same organization. | ||
# Generally we recommend versioning Pods, see the pros & cons here: | ||
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control | ||
Pods | ||
Podfile.lock |
444 changes: 444 additions & 0 deletions
444
Examples/CalendarSample/CalendarSample.xcodeproj/project.pbxproj
Large diffs are not rendered by default.
Oops, something went wrong.
7 changes: 7 additions & 0 deletions
7
...ples/CalendarSample/CalendarSample.xcodeproj/project.xcworkspace/contents.xcworkspacedata
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
8 changes: 8 additions & 0 deletions
8
...Sample/CalendarSample.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>IDEDidComputeMac32BitWarning</key> | ||
<true/> | ||
</dict> | ||
</plist> |
8 changes: 8 additions & 0 deletions
8
...le/CalendarSample.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>IDEWorkspaceSharedSettings_AutocreateContextsIfNeeded</key> | ||
<false/> | ||
</dict> | ||
</plist> |
87 changes: 87 additions & 0 deletions
87
...es/CalendarSample/CalendarSample.xcodeproj/xcshareddata/xcschemes/CalendarSample.xcscheme
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Scheme | ||
LastUpgradeVersion = "1010" | ||
version = "1.3"> | ||
<BuildAction | ||
parallelizeBuildables = "YES" | ||
buildImplicitDependencies = "YES"> | ||
<BuildActionEntries> | ||
<BuildActionEntry | ||
buildForTesting = "YES" | ||
buildForRunning = "YES" | ||
buildForProfiling = "YES" | ||
buildForArchiving = "YES" | ||
buildForAnalyzing = "YES"> | ||
<BuildableReference | ||
BuildableIdentifier = "primary" | ||
BlueprintIdentifier = "8D1107260486CEB800E47090" | ||
BuildableName = "CalendarSample.app" | ||
BlueprintName = "CalendarSample" | ||
ReferencedContainer = "container:CalendarSample.xcodeproj"> | ||
</BuildableReference> | ||
</BuildActionEntry> | ||
</BuildActionEntries> | ||
</BuildAction> | ||
<TestAction | ||
buildConfiguration = "Debug" | ||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" | ||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" | ||
shouldUseLaunchSchemeArgsEnv = "YES"> | ||
<MacroExpansion> | ||
<BuildableReference | ||
BuildableIdentifier = "primary" | ||
BlueprintIdentifier = "8D1107260486CEB800E47090" | ||
BuildableName = "CalendarSample.app" | ||
BlueprintName = "CalendarSample" | ||
ReferencedContainer = "container:CalendarSample.xcodeproj"> | ||
</BuildableReference> | ||
</MacroExpansion> | ||
<Testables> | ||
</Testables> | ||
</TestAction> | ||
<LaunchAction | ||
buildConfiguration = "Debug" | ||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" | ||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" | ||
launchStyle = "0" | ||
useCustomWorkingDirectory = "NO" | ||
ignoresPersistentStateOnLaunch = "NO" | ||
debugDocumentVersioning = "YES" | ||
debugServiceExtension = "internal" | ||
allowLocationSimulation = "YES"> | ||
<BuildableProductRunnable | ||
runnableDebuggingMode = "0"> | ||
<BuildableReference | ||
BuildableIdentifier = "primary" | ||
BlueprintIdentifier = "8D1107260486CEB800E47090" | ||
BuildableName = "CalendarSample.app" | ||
BlueprintName = "CalendarSample" | ||
ReferencedContainer = "container:CalendarSample.xcodeproj"> | ||
</BuildableReference> | ||
</BuildableProductRunnable> | ||
</LaunchAction> | ||
<ProfileAction | ||
buildConfiguration = "Release" | ||
shouldUseLaunchSchemeArgsEnv = "YES" | ||
savedToolIdentifier = "" | ||
useCustomWorkingDirectory = "NO" | ||
debugDocumentVersioning = "YES"> | ||
<BuildableProductRunnable | ||
runnableDebuggingMode = "0"> | ||
<BuildableReference | ||
BuildableIdentifier = "primary" | ||
BlueprintIdentifier = "8D1107260486CEB800E47090" | ||
BuildableName = "CalendarSample.app" | ||
BlueprintName = "CalendarSample" | ||
ReferencedContainer = "container:CalendarSample.xcodeproj"> | ||
</BuildableReference> | ||
</BuildableProductRunnable> | ||
</ProfileAction> | ||
<AnalyzeAction | ||
buildConfiguration = "Debug"> | ||
</AnalyzeAction> | ||
<ArchiveAction | ||
buildConfiguration = "Release" | ||
revealArchiveInOrganizer = "YES"> | ||
</ArchiveAction> | ||
</Scheme> |
10 changes: 10 additions & 0 deletions
10
Examples/CalendarSample/CalendarSample.xcworkspace/contents.xcworkspacedata
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
8 changes: 8 additions & 0 deletions
8
Examples/CalendarSample/CalendarSample.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>IDEDidComputeMac32BitWarning</key> | ||
<true/> | ||
</dict> | ||
</plist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
/* Copyright (c) 2011 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. | ||
*/ | ||
|
||
// | ||
// CalendarSampleAppController.h | ||
// | ||
|
||
#import <Cocoa/Cocoa.h> | ||
|
||
@interface CalendarSampleAppController : NSObject<NSApplicationDelegate> | ||
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
/* Copyright (c) 2011 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. | ||
*/ | ||
|
||
// | ||
// CalendarSampleAppController.m | ||
// | ||
|
||
#import "CalendarSampleAppController.h" | ||
#import "CalendarSampleWindowController.h" | ||
|
||
@implementation CalendarSampleAppController | ||
|
||
- (void)applicationWillFinishLaunching:(NSNotification *)notification { | ||
CalendarSampleWindowController* windowController | ||
= [CalendarSampleWindowController sharedWindowController]; | ||
[windowController showWindow:self]; | ||
} | ||
|
||
- (void)applicationWillTerminate:(NSNotification *)notification { | ||
// Ensure any defaults are flushed out. | ||
[[NSUserDefaults standardUserDefaults] synchronize]; | ||
} | ||
|
||
- (BOOL)applicationShouldTerminateAfterLastWindowClosed:(NSApplication *)sender { | ||
return YES; | ||
} | ||
|
||
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
/* Copyright (c) 2011 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. | ||
*/ | ||
|
||
// | ||
// CalendarSampleWindowController.h | ||
// | ||
|
||
#import <Cocoa/Cocoa.h> | ||
|
||
#import "GTLRCalendar.h" | ||
|
||
@interface CalendarSampleWindowController : NSWindowController { | ||
@private | ||
IBOutlet NSTextField *_signedInField; | ||
IBOutlet NSButton *_signedInButton; | ||
|
||
IBOutlet NSTableView *_calendarTable; | ||
IBOutlet NSProgressIndicator *_calendarProgressIndicator; | ||
IBOutlet NSTextView *_calendarResultTextField; | ||
IBOutlet NSButton *_calendarCancelButton; | ||
|
||
IBOutlet NSSegmentedControl *_calendarSegmentedControl; | ||
IBOutlet NSButton *_addCalendarButton; | ||
IBOutlet NSButton *_renameCalendarButton; | ||
IBOutlet NSButton *_deleteCalendarButton; | ||
IBOutlet NSTextField *_calendarNameField; | ||
|
||
IBOutlet NSTableView *_eventTable; | ||
IBOutlet NSProgressIndicator *_eventProgressIndicator; | ||
IBOutlet NSTextView *_eventResultTextField; | ||
IBOutlet NSButton *_eventCancelButton; | ||
|
||
IBOutlet NSButton *_addEntryButton; | ||
IBOutlet NSButton *_editEntryButton; | ||
IBOutlet NSButton *_deleteEntriesButton; | ||
IBOutlet NSButton *_queryTodaysEventsButton; | ||
IBOutlet NSButton *_queryFreeBusyButton; | ||
|
||
IBOutlet NSSegmentedControl *_entrySegmentedControl; | ||
|
||
IBOutlet NSButton *_clientIDButton; | ||
IBOutlet NSTextField *_clientIDRequiredTextField; | ||
IBOutlet NSWindow *_clientIDSheet; | ||
IBOutlet NSTextField *_clientIDField; | ||
IBOutlet NSTextField *_clientSecretField; | ||
} | ||
|
||
+ (CalendarSampleWindowController *)sharedWindowController; | ||
|
||
- (IBAction)signInClicked:(id)sender; | ||
|
||
- (IBAction)getCalendarList:(id)sender; | ||
|
||
- (IBAction)cancelCalendarFetch:(id)sender; | ||
- (IBAction)cancelEventsFetch:(id)sender; | ||
|
||
- (IBAction)addCalendar:(id)sender; | ||
- (IBAction)renameCalendar:(id)sender; | ||
- (IBAction)deleteCalendar:(id)sender; | ||
|
||
- (IBAction)entrySegmentClicked:(id)sender; | ||
|
||
- (IBAction)addEntry:(id)sender; | ||
- (IBAction)editEntry:(id)sender; | ||
- (IBAction)deleteEntries:(id)sender; | ||
|
||
- (IBAction)queryTodayClicked:(id)sender; | ||
- (IBAction)queryFreeBusyClicked:(id)sender; | ||
|
||
- (IBAction)loggingCheckboxClicked:(id)sender; | ||
|
||
// Client ID sheet | ||
- (IBAction)clientIDClicked:(id)sender; | ||
- (IBAction)clientIDDoneClicked:(id)sender; | ||
- (IBAction)APIConsoleClicked:(id)sender; | ||
|
||
@end |
Oops, something went wrong.