DreamLab – Solve cancer while you sleep

Recommended By

Now more than ever, we have the power to change humanity with technology, and today we are helping cure cancer. Over the last 5 years cancer has taken away many people close to me, and

b2cloud are a BRW Fast 100 winner

Recommended By

It’s honouring to receive recognition for b2cloud as one of the 100 fastest growing companies in Australia in the BRW Fast 100. October has proven to be a highly rewarding month for our team, after

2015 App Design Award Winners!

Recommended By

Another great win for the b2cloud team, being recognised by the App Design Awards for our incredible work with Catch of the Day owned Yumtable. The industry awarded b2cloud 2 Silver awards for the Best

Obj-C performance week 2: Numbers to strings

Thoughts By 3 years ago

In this weeks performance comparison I will be comparing convering a number to a string.

There are two common ways of doing this.

NSNumber type at runtime

Guides | Tutorial By 5 years ago

In Objective-C most things that get passed around inherit from NSObject. Because of this when you want to add a primative type to an array or dictionary you need to wrap it in an NSObject, usually an NSNumber. If you have specifically set an NSNumber's value/type you can easily just use intValue, floatValue etc etc to pull out which ever type you put back in, but how do you know which type should be pulled out if your code is dynamic and uses any type of NSNumber.