[TIMOB-18374] iOS: Add source name to Ti.Calendar
GitHub Issue | n/a |
---|---|
Type | Improvement |
Priority | None |
Status | Open |
Resolution | Unresolved |
Affected Version/s | Release 3.4.1, Release 3.5.0 |
Fix Version/s | n/a |
Components | iOS |
Labels | ios |
Reporter | Michael Kåring |
Assignee | Unknown |
Created | 2015-01-09T07:24:24.000+0000 |
Updated | 2018-02-28T19:55:31.000+0000 |
Description
If you use example Ti.Calendar.allCalendars, you have no idea what account the fetched calendar belongs to. So it would be nice if there was a parameter for the source name. And maybe the calendars color too.
So we could do:
var cal = Ti.Calendar.getCalendarById(2);
Ti.API.info(cal.source+' - '+cal.title);
No comments