Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TIMOB-3035]iOS: EventKit module #3951

Merged
merged 12 commits into from Mar 12, 2013
Merged

Conversation

srahim
Copy link
Contributor

@srahim srahim commented Mar 11, 2013

EventKit module contains:

** Basic Calendar fetching and reading all of its properties.
** Accessing, modify and delete events.
** Create , update alerts
** Create, delete recurrence rules for events.

There are some sample code for testing within the documentation.
Detailed testing code will be provided along with JIRA TICKET

@ghost ghost assigned WhichKatieDid Mar 11, 2013
description: |
Always returns `AUTHORIZATION_AUTHORIZED` on iOS pre-6.0.

If `contactsAuthorization` is `AUTHORIZATION_RESTRICTED`, you should not
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

contactsAuthorization? Also, what sort of issues? (If Apple is vague, can we link to their docs?)


-(EKEventStore*)store
{
if (store == NULL) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor quibble. For Obj-C objects, we should use nil.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

addressed

if (result == NO || error != nil) {
DebugLog(@"Unable to remove event from eventStore.");
NSDictionary *errorEvent = [NSDictionary dictionaryWithObject:NUMINT(result) forKey:@"result"];
[self fireEvent:@"complete" withObject:errorEvent errorCode:[error code] message:[TiUtils messageFromError:error]];
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there ever a time we fire a complete that's successful?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i have no clue why its even there. removed in next commit.

@WhichKatieDid
Copy link
Contributor

Talked with Sabil for new commit on things that need doing.

@WhichKatieDid
Copy link
Contributor

CR and FR passed. Pressing big green button.

WhichKatieDid added a commit that referenced this pull request Mar 12, 2013
[TIMOB-3035]iOS: EventKit module
@WhichKatieDid WhichKatieDid merged commit 7ec09d5 into tidev:master Mar 12, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants