Blog

Learn Node.js – A List of Resources for Beginners

Here’s an awesome list of Node.js resources for those interesting in taking the dive into the world of Node. A big thanks to @rockbot for putting this list together and to all those who contributed… including myself. 😉 https://github.com/rockbot/node-for-beginners Go forth, young padawon, rely on your training and you will succeed!



Resize UITableView Height with Auto Layout

Since the introduction of Auto Layout in Xcode, resizing UITableViews or UIViews has changed from updating the frame to updating the constraint. With Auto Layout turned off, the way you would resize a UITableView would be to adjust its frame. CGRect tableFrame = self.tableView.frame; tableFrame.size.height = 200; self.tableView.frame = tableFrame; With Auto Layout turned on, […]




iOS 7 Bugs – Misplaced View Frame for “Label – Label” will be different at runtime

Whether your upgrading your apps to iOS 7 or building a new app, you may come across the following warning in your storyboard: Misplaced View Frame for “Label – Label” will be different at run time. The Solution To solve this, select the view/label in question and click Editor then mouse over Resolve Auto Layout […]




Getting Started with Mongoose and Node.js – A Sample Comments System

In this post, we’re going to be creating a sample comments system using Node, Express and Mongoose. Mongoose provides an object oriented interface for using MongoDB in Node. Everything in Mongoose starts with a Schema. Each schema maps to a MongoDB collection and defines the shape of the documents within that collection. If you are […]




Silverlight’s Missing ScrollViewer .ScrollChanged Event

If you’ve worked with Silverlight’s ScrollViewer you may have noticed the ScrollChanged event is missing. It exists in WPF but Microsoft conveniently left it out in Silverlight. If you need to be notified of changes to the VerticalOffset or HorizontalOffset you can use a dependency property which listens to the change of Offset properties of […]




iOS 7 Bugs – message sent to deallocated instance

First of all, I know this error has been around way before iOS 7. However, in one of my own apps I started getting this error when I upgraded it to iOS 7 SDK. Not exactly sure why it started since it worked perfectly fine with iOS 6 SDK. After hours of debugging, I finally […]




iOS 7 Blur Effect

The Control Center, introduced in iOS 7, has a really cool blur effect when opened. Unfortunately, Apple didn’t give us access to use this blur effect in our UIViews. Luckily for us, there’s a few ways to achieve this blur effect. iOS-blur A really clever developer came up with a solution of copying the layer […]