January 2011
4 posts
mahmoudhossam-deactivated201107 asked: Since this is an Obj-c blog,I have a question for you

why would they make another C with OOP,what's wrong with C++?
Jan 31st
12 notes
cbarrett asked: I've really been enjoying your posts, but you don't have any personal information on your site, as far as I could find. Who are you?
Jan 25th
6 notes
1 tag
Using custom functions with NSExpression
There are a bunch of built-in functions in the NSExpression class that allow you to do some pretty neat stuff. They are: average:, sum:, count:, min:, max:, median:, mode:, stddev:, add:to:, from:subtract:, multiply:by:, divide:by:, modulus:by:, sqrt:, log:, ln:, raise:toPower:, exp:, ceiling:, abs:, trunc:, random, random:, now, floor:, uppercase:, lowercase:, bitwiseAnd:with:, bitwiseOr:with:,...
Jan 25th
13 notes
What the heck is SUBQUERY?
One of the lesser known bits of NSPredicate is the SUBQUERY() function. The documentation for a subquery expression explains a little bit about what’s going on, but it takes a while to understand when it’s really useful. Let’s break it down. The Syntax A subquery expression takes 3 arguments: A collection A variable name A predicate The Collection The collection can...
Jan 13th
11 notes