Hello,
I have code that's part of a framework and I'd like to port it to iOS. I tried
isolating the code like so:
//
// RootViewController.m
// iPhoneTest
#import RootViewController.h
@implementation RootViewController
#pragma mark -
#pragma mark View lifecycle
-
Read this:
http://sealiesoftware.com/blog/archive/2010/8/16/TargetConditionalsh.html
--Kyle Sluder
(Sent from the road)
On Aug 27, 2010, at 1:47 PM, Tito Ciuro tci...@mac.com wrote:
Hello,
I have code that's part of a framework and I'd like to port it to iOS. I
tried isolating the code
On Aug 27, 2010, at 10:47 AM, Tito Ciuro wrote:
- (NSUInteger)systemPageSize
{
static NSUInteger __sSystemPageSize = NSNotFound;
#if TARGET_OS_MAC
if (NSNotFound == __sSystemPageSize) {
NSTask *task = [[NSTask alloc] init];
// do something here...
[task
Excellent!
Thanks Kyle!
-- Tito
On 27/08/2010, at 14:02, Kyle Sluder wrote:
Read this:
http://sealiesoftware.com/blog/archive/2010/8/16/TargetConditionalsh.html
--Kyle Sluder
(Sent from the road)
On Aug 27, 2010, at 1:47 PM, Tito Ciuro tci...@mac.com wrote:
Hello,
I have code
On 27/08/2010, at 14:05, David Duncan wrote:
On Aug 27, 2010, at 10:47 AM, Tito Ciuro wrote:
- (NSUInteger)systemPageSize
{
static NSUInteger __sSystemPageSize = NSNotFound;
#if TARGET_OS_MAC
if (NSNotFound == __sSystemPageSize) {
NSTask *task = [[NSTask alloc] init];