Hello and happy Friday. Today's iPad wallpapers continue our study in Light and Shadow. Enjoy!
(click an image for the full-size wallpaper)
Friday, July 30, 2010
iPhone Friday: July 30, 2010
Hello and happy Friday. Today's iPhone wallpapers continue our study in Light and Shadow. Enjoy!
(click an image for the full-size wallpaper)
(click an image for the full-size wallpaper)
Wednesday, July 28, 2010
New app prototyping tool from Rex Xu: Apps-On
We have created a series of tools (sketch and grid paper) for designers and developers to easily layout and design iPhone and iPad apps but when I look at the work that Rex Xu just completed for his product Apps-on Post-it Notes, all I can say is, "Now why didn't we do that."
Each Apps-on pad has 50 sheets for your designs. Prices start at $20.00 (USD) for 5 pads for the "Starter" pack. There is also a Pro pack with 10 pads for $30.00 (USD) and Master pack with 20 pads for only $59.00 (USD) all available online at Apps-on.com.
This smart little idea is basically an iPhone screen (with printed bezel) at actual size printed on Post-it Notes. The screen itself has a 20pt dot grid making it easy to layout out your next set of comps/ideas. And for those people who love and live by Post-it Notes, this is a great tool to add to your development toolkit.
Each Apps-on pad has 50 sheets for your designs. Prices start at $20.00 (USD) for 5 pads for the "Starter" pack. There is also a Pro pack with 10 pads for $30.00 (USD) and Master pack with 20 pads for only $59.00 (USD) all available online at Apps-on.com.
Good job Rex and good luck!
Apple announces new 12-Core Mac Pro
Apple announced its latest update to the Mac Pro line of computers coming August. The new Mac Pro supports up to 12 cores. Twelve!
So now you can have a 12-core system at up to 2.93GHz and the Intel Xeon processors support Hyper-Threading, which allows two threads to run simultaneously on each core. So, for example, a 12-core Mac Pro presents 24 virtual cores that are recognized by Mac OS X.
Not only will it have incredible processing power but it allows up to 32BG RAM and up to 8TB storage (or four 512GB Solid-State drives). I think I'm in love... again.
So now you can have a 12-core system at up to 2.93GHz and the Intel Xeon processors support Hyper-Threading, which allows two threads to run simultaneously on each core. So, for example, a 12-core Mac Pro presents 24 virtual cores that are recognized by Mac OS X.
Not only will it have incredible processing power but it allows up to 32BG RAM and up to 8TB storage (or four 512GB Solid-State drives). I think I'm in love... again.
Apple announces new 27-inch LED Cinema Display
Apple announced the coming release of a new super-sized 27-inch LED Cinema Display.
After seeing a friends 27-inch iMac, watching movies and television on it as well as working on it, I have to say that i've become a screen size-queen. It's beautiful. So, now I can have the 27-inch experience with my 17-inch MacBook Pro. Thank you Apple.
After seeing a friends 27-inch iMac, watching movies and television on it as well as working on it, I have to say that i've become a screen size-queen. It's beautiful. So, now I can have the 27-inch experience with my 17-inch MacBook Pro. Thank you Apple.
Apple releases new Magic Trackpad for Mac computers
Apple released a new device targeted for the Mac desktop computers: Magic Trackpad. For all of us who have the current model of MacBook and MacBook Pro notebook computers know the new trackpad is the mouse of the mobile world, but its better (and worse) than a mouse for various reasons. So all of you (envious) Mac Pro and iMac users who like the trackpad on the notebooks can now rest easy knowing there is an option for you to get one too.
The Magic Trackpad works just like the Multi-Touch trackpad of the notebook computers allowing you to scroll, swipe, pinch, and rotate content with your fingers. It has both the physical and tap to click functionality of the notebook computer and uses the same set of configurable Trackpad options found in System Preferences allowing you to use gestures like Four Finger Swipe Up/Down for Exposé and Left/Right for Application Switching as well as many other features.
The Magic Trackpad uses Bluetooth and allows for a secure connection up to 33 feet away—without cables. The profile of the Magic Trackpad is the same as the Apple Wireless Keyboard and sits flush along next to it. The Magic Trackpad is priced at $69.00 (USD) and is available now.
The Magic Trackpad works just like the Multi-Touch trackpad of the notebook computers allowing you to scroll, swipe, pinch, and rotate content with your fingers. It has both the physical and tap to click functionality of the notebook computer and uses the same set of configurable Trackpad options found in System Preferences allowing you to use gestures like Four Finger Swipe Up/Down for Exposé and Left/Right for Application Switching as well as many other features.
The Magic Trackpad uses Bluetooth and allows for a secure connection up to 33 feet away—without cables. The profile of the Magic Trackpad is the same as the Apple Wireless Keyboard and sits flush along next to it. The Magic Trackpad is priced at $69.00 (USD) and is available now.
Tuesday, July 27, 2010
Objective-C Tuesdays: wide character strings
Last week we looked at Unicode escape sequences in C string and
When the C language was developed in the early 1970's, little thought was given to representing non-English languages. By default, most C compilers assumed that both code files and application output used 7-bit ASCII encoding and that each logical character in a string fit into a single 8-bit byte or
C89 introduced a new integer type,
signed or unsigned?
The
The
wide character literals
We looked at C string literals in previous entries. Wide character string literals are very similar, but are prefixed with 'L':
wide character functions
Most string functions in the standard C library are defined in the
not used much
In practice, you won't use wide character strings very often in Objective-C since the
Next time, we'll begin looking at common string operations using C strings and
NSString literal. Today we'll take a quick overview of wide character strings and talk about where they fit into the iOS development.When the C language was developed in the early 1970's, little thought was given to representing non-English languages. By default, most C compilers assumed that both code files and application output used 7-bit ASCII encoding and that each logical character in a string fit into a single 8-bit byte or
char value. By the time C was first standardized by ANSI in 1989 (and by ISO in 1990), the need to handle many more characters than ASCII was obvious, but the Unicode standard was still nascent. So the ANSI C committee included a wide character type and wide character string functions in the C89 standard, but didn't tie wide character support to any specific character encoding scheme.wchar_tC89 introduced a new integer type,
wchar_t. This is similar to a char, but typically "wider". On many systems, including Windows, a wchar_t is 16 bits. This is typical of systems that implemented their Unicode support using earlier versions of the Unicode standard, which originally defined fewer than 65,535 characters. Unicode was later expanded to support historical and special purpose character sets, so on some systems, including Mac OS X and iOS, the wchar_t type is 32 bits in size. This is often poorly documented, but you can use a simple test like this to find out:// how big is wchar_t? NSLog(@"wchar_t is %u bits wide", 8 * sizeof(wchar_t));On a Mac or iPhone, this will print "wchar_t is 32 bits wide". Additionally,
wchar_t is a typedef for another integer type in C. In C++, wchar_t is a built-in integer type. In practice, this means you need to #include <wchar.h> in C when using wide characters.signed or unsigned?
The
char integer type is almost always a signed integer with a range from -128 to 127. You can use the CHAR_MIN and CHAR_MAX constants defined in <limits.h> to find out the range for a particular compiler:NSLog(@"CHAR_MIN = %0.f", (double)CHAR_MIN); NSLog(@"CHAR_MAX = %0.f", (double)CHAR_MIN);
The
wchar_t type can be signed or unsigned. The WCHAR_MIN and WCHAR_MAX constants hold the range of a wchar_t and are defined in both <wchar.h> and <stdint.h>.NSLog(@"WCHAR_MIN = %0.f", (double)WCHAR_MIN); NSLog(@"WCHAR_MAX = %0.f", (double)WCHAR_MIN);On Windows,
wchar_t is an unsigned 16-bit integer. On Mac and iPhone, wchar_t is a signed 32-bit integer, so the code above will print out "WCHAR_MAX = 2147483647" and "WCHAR_MIN = -2147483648". For the most part you don't need to worry about whether wchar_t is signed or unsigned; it only becomes important if you need to do comparisons and operations that mix wchar_t with other integer types (a rarity).wide character literals
We looked at C string literals in previous entries. Wide character string literals are very similar, but are prefixed with 'L':
// example of a wide character string literal wchar_t const *s = L"foobarf!";Like C string literals, wide strings separated by only whitespace are considered one logical string:
// wide strings written in segments wchar_t const *s1 = L"foo" "bar"; wchar_t const *s2 = L"Hello, " L"world!";
wide character functions
Most string functions in the standard C library are defined in the
<string.h> header. A very similar set of functions for wide character strings are defined in <wchar.h>. The functions follow a similar naming convention. Where string functions are prefixed with str, the wide character equivalents are prefixed with wcs (for wide character string). So the strlen() function calculates the length of a string and the corresponding wcslen() function calculates the length of a wide character string.not used much
In practice, you won't use wide character strings very often in Objective-C since the
NSString class does just about everything wide character strings are meant to do, but you may occasionally run across them in other C libraries.Next time, we'll begin looking at common string operations using C strings and
NSStrings, starting with string concatenation.
Subscribe to:
Posts (Atom)




















