Fresh Beginning
  • Home
  • Portfolio
  • My Clothing Shop
  • Etsy Clothing Store
  • Buy Me A Coffee
  • Patreon
  • Speaking
  • Reading
  • About Me
  • Contact Me
Subscribe

Swift 2.0

A collection of 4 posts
iOS10

Core Data with Mantle in Swift

Today we are going to talk about how I used Core data in conjunction with Mantle wrapper to directly store and retrieve data out of database without directly interacting with Core data. This involves the significant portion of MTLManagedObjectAdapter object which is a wrapper around core data. All we have
Mar 12, 2017 7 min read
Swift

Defer in Swift

Probably many posts have already been devoted to explain the use of defer keyword in Swift. But my two cents here. Defer is the new keyword added to the Swift 2.0 to handle unseen developer bugs and simplify the program flow. For more detailed and official explanation of defer,
Jun 6, 2016 2 min read
iOS

iOS - Add multiple attachments to an email (Swift 2.3)

Recently I was working on my Simple Signature iOS app. This app allows you to make and save multiple signatures. You can save and view signature creation as an image or a video. You can find more information about this app on my other post specifically dedicated to description of
Jan 18, 2016 1 min read
Add delay in Swift
Swift

Add delay in Swift

Adding delay is bad. But sometimes for philosophical, legal and professional reasons we do desire to add delays in our code. Below is the code for method to add a delay in the Swift (< 3.0). function addDelay(with desiredDelayInSeconds: Double) { let delay = desiredDelayInSeconds * Double(NSEC_PER_SEC) let time
Nov 12, 2015
Fresh Beginning © 2025
Powered by Ghost