Fresh Beginning
  • Home
  • Portfolio
  • Buy Me A Coffee
  • Patreon
  • Speaking
  • Reading
  • About Me
Subscribe

structs

A collection of 2 posts
Swift 4.0

Using Swift variables in Objective-C : Swift 4 Edition

Today I ran into weird problem which prompted me to write this blog post on Objective-C and Swift interconnectedness. Before Swift 4 came along, the sure way to access Swift variables in Objective-C was to inherit class from NSObject (Swift structs cannot be used in the Objective-C) and prefix it
Dec 2, 2017 2 min read
Xcode

Swifty UITableViewController with generics and structs

> Disclaimer - This post along with code supporting is inspired by Chris Eidhof's talk at trySwift [https://realm.io/news/tryswift-chris-eidhof-table-view-controllers-swift/]. I took the liberty to slightly update the code as per my own logic. There is no difference from the original source as long as user facing functionality is
Jun 5, 2016 2 min read
Fresh Beginning © 2023
Powered by Ghost