Simple Migration Options for CoreData PersistentStoreCoordinator

If you change a scheme of your CoreData such as adding a new attribute, you can easily migrate it with options below. do { try persistentStoreCoordinator.addPersistentStoreWithType(NSSQLiteStoreType, configuration: nil, URL: storeURL, options: [NSMigratePersistentStoresAutomaticallyOption: true , NSInferMappingModelAutomaticallyOption: true]) } catch { fatalError("Error…

How to securely use xmlrpc

I like to post an article to wordpress through Byword or Ulysses. And those tools use wordpress’s xmlrpc.php. By the way if you use xmlrpc.php with your own server , you might face up to infinite attacks which target xmlrpc.php.…

My experience on Upthere

Upthere is a kind of new concept of cloud service such as iCloud, Dropbox, Google Drive. Mostly cloud services save your data in both local and cloud. It could be beneficial for someone who wants to back up their data.…