Vinay GaneshRegex and Smart Punctuation in iOSI was recently working on a regular expression to validate an email address and hours trying to understand why a simple regex wasn’t…Feb 14, 20182Feb 14, 20182
Vinay GaneshWhat’s so bad about inheritance?While writing new software, you will have to design how the different classes interact with each other. Just like how we were taught in…Jul 30, 20171Jul 30, 20171
Vinay GaneshVariable Shadowing in swift is not badIn swift 3, “var” parameters to a function was removed, which means you are down to dealing with immutable parameters passed to functions…Jun 12, 2017Jun 12, 2017
Vinay GaneshImplement Equatable for Unit Tests in SwiftIf you have worked on unit tests in swift, you know that you’ll need all kinds of tricks to bring the code coverage up. Here’s a simple…May 31, 2017May 31, 2017
Vinay GaneshSwift Optionals or not?Optionals in Swift are enums which either has a value(some) or set to nil(none). There is no direct way to identify by default if a…May 31, 2017May 31, 2017
Vinay GaneshHacking SyncML Protocol for Contacts SyncContacts are an integral part of mobile phones. A mobile user will add/delete/update the contacts on the phone. Contacts data is probably…May 26, 2017May 26, 2017
Vinay GaneshGrouping String constants in Objective-CStatic analysis has been the key in developing clean code. While static code analysis is a great procedure to have engineers code that…Sep 17, 2016Sep 17, 2016
Vinay GaneshXCode and Unit Testing NightmareWhile writing and running unit tests, there is always an instance that i am sure every single iOS developer has seen where the little…Jul 29, 2016Jul 29, 2016
Vinay GaneshAppCode and Unit TestsXCode’s quality is deteriorating by the day with its instability. I am trying out AppCode these days and i feel its so much better. But for…Jul 29, 20162Jul 29, 20162