yyyy, DateFormatter, iOS, Gotchas, Tricks, Swift, Foundation Challenges of DateFormatters Working with DateFormatters is tough - At least on iOS. Today I will show with an example how I shot myself in the foot while working with simple DateFormatters problem. Here's the problem
Xcode 9, Swift 3.0, Swift, Tricks, Tips, Tutorial, Xcode Preferences Random Xcode Trick Despite my regular rantings on Xcode and Apple software, I still love them. In past few years, I have used so many IDEs and trust me, Xcode is one of the best I
Swift 4.0, Objective-C, Swift, Tips, Tricks, structs, classes, variables, Bridging header 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
Swift 3.0, Closures, Tips, Tricks, autoclosure, @autoclosure, Closure, escaping, non-escaping What is @autoclosure in Swift? It's on very rare or never occasion that I have ever used a @autoclosure keyword while passing a closure to method - A closure which takes no parameter and returns a value (No
JavaScript, Tips, Tricks, Tutorial, Web page, Live Editing, Browser, Chrome, Google Chrome, WebPage How to live edit any webpage I learned this trick to edit any web page on the fly long time ago. It was fun in the beginning and good technique to prank friends. With this technique when you type
UI Testing, Testing, iOS, Tips, Tricks, Gotchas, UI Tests, Command Line, Terminal Running UI tests from command line Recently I ran into an interesting problem of writing UI tests. More interesting thing lied ahead when I had to run these tests on the command line. Here are some of the tips
AutoLayout, iOS, Idea, Tricks, iPhone, iPad Autolayout to size views on different devices Recently I ran into a not so interesting auto layout problem. I wanted to show a view which would stretch to the full width of iPhone with fixed padding like this However, I
Xcode, Tips, Search and Replace, Search, Replace, Tricks, RegEx, Regular Expressions Search and Replace in Xcode with Regular Expressions Recently I ran into problem where I wanted to search a pattern in the Xcode project and replace the found string with another one. In the past I had had hard time dealing
iOS, Objective-C, Xcode, Github, Demo, iOS8, Tips, Tricks, Tutorial, UITableViewCell, Height, Automatic Height UITableViewCell automatic height management We all know that iOS8 brought in really nice changes. Well, it be will be too long post to describe all of them. But I will talk about one of my most favorite
iOS, Objective-C, AutoLayout, Tutorial, Tips, Xcode, Tricks Autolayout Tricks - Part 3 Thank you for following this series of Autolayout tricks so far. Similar to previous posts, these tricks are also based on the ideas mentioned in iOS - Autolayout Mystified) by Erica Sadun Today
AutoLayout, Erica Sadun, iOS, Objective-C, Tutorial, Tips, Xcode, Tricks Autolayout Tricks - Part 2 Create nested views structure with Autolayout. (Based on the idea and implementation based on iOS - Autolayout Demystified) While going through Erica Sadun's above mentioned book, I came across interesting problem on how