title: How to create an alarm clock app with swift?
body: <p>I'm trying to create a kind of alarm clock app with the swift but I could not figure out how to set an alarm model. I've tried <code>UILocalnotification</code> but I don't want my users to be involved the flow of alarm app other than setting the alarm. Then tried <code>NSTimer</code> and <code>NSRunloop</code> etc. but that didn't work either since those don't work when app gets background. So is there any alternative ways to do that? Any help and suggestion would be appreciated, thanks.</p>