Code-free
Code-free

What is LINQ

and why it matters

Russ Bishop
March 23, 2014

I've been listening to some excellent podcasts recently where the subject of C# and LINQ came up:

I've been meaning to start blogging recently and this was a good excuse. I want to cover what LINQ is and why it matters, because it . . .

Read More

ARM64 and You

or how I rue NSInteger

Russ Bishop
March 22, 2014

NSInteger is now 64-bit on ARM64; that means a bunch of useless warnings everywhere about precision loss right? WRONG.

Here's a hint: "Comparison of constant 'NSNotFound' with expression of type 'int' is always true". Uh-oh. Fix your integer warnings and kick yourself for not using NSInteger because every count, . . .

Read More

Associated Objects in C#

objc_setAssociatedObject makes a friend

Russ Bishop
March 22, 2014

Many people think there is no equivalent of objc_setAssociatedObject in C#, but those people are wrong.

As a quick refresher, Objective-C allows you to add methods to objects via categories (roughly equivalent to extension methods in C#), but there's no way to add new property values directly. Instead, you can use . . .

Read More

Archive
  Subscribe by Email and Never Miss a Post