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

iOS Frameworks

Guides | Tutorial By 5 years ago

After developing iPhone applications for a while you tend to develop some ‘must have’ pieces of code that you use on all of your apps. Being able to share the code on multiple projects is great but having the code duplicated among many projects is very annoying, especially if you make an update, you would need to change all files to reflect the changes. Of course you could just reference the same source files from all your apps, but this can cause conflicts when other developers try to pull the project from the repo as the path to the source files has probably changed. It’s time to make a Framework, a compiled binary of your source that can be included in your projects, keeping the source in one place.

Method Swizzling to override in a category

Guides | Tutorial By 5 years ago

Objective C categories are great for extending classes, however if you want to override methods then you’re going to have some problems as you can no longer call the method on your original class owns, usually breaking a lot of functionality the higher up the class food chain you travel (try this on NSObject‘s init, return nil). If you called the same method on self you would end up with an infinite loop, and calling super will skip the original class completely.