
RustemAqtau
How to convert iOS date to Rrule format?
How to convert time recurrence(daily, weekly, monthly, etc) to Rrule format and send to backend? Ex:
"rrule": "FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR"
Do you using libraries for this in Swift?
Most Liked

godofbiscuits
It depends on where you’re getting your recurrences from? I don’t recall any Apple-specific recurrence mechanisms on the level of calendars like you’re describing. But eventually if you have date objects, you’ll want to use DateComponents to extract the kind of data you’re describing (I don’t know what RRules are)
How you get a DateComponents object is below. See the docs for how to extract the individual months, days etc.
let date = Date()
var calendar = Locale.current.calendar
var dateComponents = calendar.dateComponents(Set<Calendar.Component>(), from: date)
1
Popular Ios topics

Since a few of us seem to be interested in learning Swift, I wondered what languages or frameworks people are (or thinking about) pairing...
New

17 Things You Can Do in iOS 14 That You Couldn’t Do Before.
Say hello to iOS 14, which is rolling out as a free over-the-air software up...
New

Learn about iOS 14’s new group messaging features that make long conversations easier to manage with threads and how to add more personal...
New

Apple’s Swift has far-reaching effects on all platforms, not just iOS, OS X, watchOS, and tvOS. Learn why Swift matters, how to use the p...
New

Apps on all of Apple’s app stores will now have to reveal what data they collect and what it is used for.
Ultimately if the user is un...
New

Someone uses iPad Pro as a principal device to working? Most like programming stuff in your day-by-day?
New

Doesn’t have to be for coding, but just apps you’ve found useful; :smiley:
I think this is great:
The thing I like most about it is h...
New

Yeah I’m the kind of shmoe who gets excited about finding a new iOS Org Mode file viewer and editor. This one is done quite well, good fo...
New

Hi! Do you use 3rd party UI inspector tools like Sherlock or Reveal? Which is better?
New

How to convert time recurrence(daily, weekly, monthly, etc) to Rrule format and send to backend? Ex:
"rrule": "FREQ=WEEKLY;BYDAY=MO,TU,W...
New
Other popular topics

Which, if any, games do you play? On what platform?
I just bought (and completed) Minecraft Dungeons for my Nintendo Switch. Other than ...
New

Bought the Moonlander mechanical keyboard. Cherry Brown MX switches. Arms and wrists have been hurting enough that it’s time I did someth...
New
New

Rust is an exciting new programming language combining the power of C with memory safety, fearless concurrency, and productivity boosters...
New

I have seen the keycaps I want - they are due for a group-buy this week but won’t be delivered until October next year!!! :rofl:
The Ser...
New

Oh just spent so much time on this to discover now that RancherOS is in end of life but Rancher is refusing to mark the Github repo as su...
New

Author Spotlight
Mike Riley
@mriley
This month, we turn the spotlight on Mike Riley, author of Portable Python Projects. Mike’s book ...
New

Author Spotlight:
Karl Stolley
@karlstolley
Logic! Rhetoric! Prag! Wow, what a combination. In this spotlight, we sit down with Karl ...
New

There appears to have been an update that has changed the terminology for what has previously been known as the Taskbar Overflow - this h...
New

This is cool!
DEEPSEEK-V3 ON M4 MAC: BLAZING FAST INFERENCE ON APPLE SILICON
We just witnessed something incredible: the largest open-s...
New
Categories:
Sub Categories:
Popular Portals
- /elixir
- /rust
- /ruby
- /wasm
- /erlang
- /phoenix
- /keyboards
- /rails
- /js
- /python
- /security
- /go
- /swift
- /vim
- /clojure
- /emacs
- /haskell
- /java
- /onivim
- /svelte
- /typescript
- /crystal
- /c-plus-plus
- /kotlin
- /tailwind
- /gleam
- /ocaml
- /react
- /elm
- /flutter
- /vscode
- /ash
- /opensuse
- /centos
- /html
- /php
- /deepseek
- /zig
- /scala
- /textmate
- /lisp
- /sublime-text
- /nixos
- /debian
- /agda
- /react-native
- /kubuntu
- /arch-linux
- /django
- /ubuntu
- /revery
- /spring
- /manjaro
- /diversity
- /nodejs
- /lua
- /julia
- /c
- /slackware
- /neovim