Search results for

calendar

1,863 results found

Post

Replies

Boosts

Views

Activity

Reply to iOS 9 Beta battery life
Reposting this with more info:When the beta came out yesterday, I did an upgrade and not a restore. Today I litterally watched the battery percentage drop 1 percent every two minutes while I only had the home screen active (background apps disabled, location services disabled, etc). I kept checking the Settings -> Battery page and it show Home Screen at 15% of the usage, which was completely wrong.Today I did a complete restore and now things are better. The Settings -> Battery screen not only showed Photo App as the top user (I have over 8 gigs of phots and videos), but it also showed it as Background Activity. I didn't see that before I did the complete restore. Now, Mail, Messages and Calendar also show that. I'm sure the battery will still drain faster than with a production version, but at least it seems like the reporting is working correctly and it allowed me to understand what was sucking the life out of my battery.---------------------------------------------------------As an update, I
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
Calendar, Office365 and El Capitan
Since El Capitan Calendar.app does not connect to outlook.office365. I am also unable to create a new account in System Preferences/Internet Accounts that connects to the outlook server that does anything else than mail and notes.I will fill a bug report through radar but wonder if I am the only one noticing this issue.
4
0
1.5k
Jun ’15
Reply to Questions about NSCalendar
I'm getting a bit futher.let dayHourMinuteSecond = NSDateComponentsFormatter() dayHourMinuteSecond.allowedUnits = [.Day, .Hour, .Minute, .Second]Now conforms to the new way Swift 2.0 wants things formatted.I'm trying to figure out the calculated calendar time difference between two dates. Pretty simple. I think the function is the following: (using the autofill template),let userCalendar = NSCalendar.currentCalendar() let difference = userCalendar.components( <#T##unitFlags: NSCalendarUnit##NSCalendarUnit#>, fromDate: <#T##NSDate#>, toDate: <#T##NSDate#>, options: <#T##NSCalendarOptions#>)So my code with my variables would read (with the components used from the formatter above (which the compiler is happy with)let difference = userCalendar.components( dayHourMinuteSecond, fromDate: goHomeYoureDrunkTime, toDate: badPoetryDay, options: NSCalendarOptions)But I can't find any value that satisfies the Options for this. In my other code, WrapComponents was the only value that worke
Topic: Programming Languages SubTopic: Swift Tags:
Jun ’15
Reply to Calendar events not syncing
this has not worked for me - i have 2 accounts (icloud and exchange) - the only events being transferred are birthdays. Have tried alsorts of ideas (disabling calendars in the iphone settings, unpair/pair the devices, wiped the phone and fresh install. something seems to be stuck...have also submitted a bug request.Any other ideas?
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
How to create an iCloud Calendar?
I'm trying to create a calendar for my iOS app to place events into. I've seen some people simply grab all the calendars on the device and write to the first one that is writable, but I really dislike that. I don't want to screw around with my users' existing calendars.In pseudocode, this is what I want:if (calendar exists) {add event}else {create calendaradd event}That create calendar line is really giving me trouble. I can't find anything online or in the documentation to do that with swift. Any help?Thanks!
1
0
1.8k
Jun ’15
CalDAV
I am using the 1st El Capitan Beta and having an issue with Calendar. I am able to create an account (on my client computer) for my CalDAV server (Apple Server) . However, I see none of the calendar entries that were created by others. I can create and delete an event and that shows up, but not the other entries (mainly created by 1 person).Anybody else having this issue? Am I doing something wrong or should I enter a bug report?Thanks!CodeWrangler
0
0
250
Jun ’15
Reply to How to create an iCloud Calendar?
This is my solution. I didn't take into account any error catching, but I put the variables in for if it was needed.func checkCalendar() -> EKCalendar { var retCal: EKCalendar? let calendars = eventStore.calendarsForEntityType(EKEntityTypeEvent) as! [EKCalendar] // Grab every calendar the user has var exists: Bool = false for calendar in calendars { // Search all these calendars if calendar.title == Auto Schedule Cal { exists = true retCal = calendar } } var err : NSError? if !exists { let newCalendar = EKCalendar(forEntityType:EKEntityTypeEvent, eventStore:eventStore) newCalendar.title=Auto Schedule Cal newCalendar.source = eventStore.defaultCalendarForNewEvents.source eventStore.saveCalendar(newCalendar, commit:true, error:&err) retCal = newCalendar } return retCal! }This functions searches for a calendar named Auto Schedule Cal. If it doesn't find it, it creates one. It then returns the calender for use.Usage:(Given an EKEventStore title
Topic: App & System Services SubTopic: General Tags:
Jun ’15
CalendarUnit
How to correctly declare a Calendar Unit Component in iOS9? Here's what i did, and it fails..let cal = NSCalendar.currentCalendar() var comps = cal.components(.CalendarUnitYear | .CalendarUnitMonth | .CalendarUnitDay | .CalendarUnitHour | .CalendarUnitMinute | .CalendarUnitSecond, fromDate: NSDate())
4
0
858
Jun ’15
Address Book - Work Hours
There is a feature I have not found in Apple Calendar and other 3rd party Calendars. It is a feature that most doctors require as well as anyone who has somebody else keep there calendar and make their appointments. That is, an accurate showing of Work or Office hours. Apple has a start day and end of day time, but this is not robust enough for appointment taking. It has to be detailed enough to show the time off for lunch, different working hours on different working days. Ability to project out into the future indefinitely, and easily adjust for holidays, vacations, sick days and emergencies.Such working hours should be reflected via shading during any time hour ranges are shown (daily or weekly), and there should be API's for the calendar, such as find next open working time of at least x duration.This can be simulated by making repeating schedules of Work Hours as an event - but such a technique is confusing to look at, and clunky to adjust.With this one set of features
0
0
408
Jun ’15