New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
Showing results 1 to 14 of 14
Search took 0.01 seconds.
Search: Posts Made By: Bracer
Forum: OS X - Development and Darwin 10-17-2009, 08:30 AM
Replies: 0
Views: 659
Posted By Bracer
iPhone sdk stuck at 2GB.

I am trying to download the sdk for snow leapord and it keeps on getting stuck at 2GB using Safari.
Firefox doesn't download at all.

Anyone here kind enough to put up a torrent on it ?
Forum: OS X - Development and Darwin 10-16-2009, 09:15 AM
Replies: 2
Views: 866
Posted By Bracer
I understand now. Xcode->Run->Console...

I understand now.

Xcode->Run->Console :)
Forum: OS X - Development and Darwin 10-16-2009, 09:06 AM
Replies: 2
Views: 866
Posted By Bracer
Template Cocoa Template generated from Cannot NSLog

I'm using Xcode 3.2.1 on my MacBook Pro

After XCode generate the Cocoa application, everything works great.
Blank window, just as expected.
But all my NSLog commands doesn't evoke any output...
Forum: OS X - Development and Darwin 10-16-2009, 07:03 AM
Replies: 2
Views: 6,644
Posted By Bracer
I see, thanks xstep.

I see, thanks xstep.
Forum: OS X - Development and Darwin 10-16-2009, 02:17 AM
Replies: 2
Views: 6,644
Posted By Bracer
duplicate symbol _OBJC_METACLASS_$

I created a basic command line Foundation Class Based object using the build in template.

I proceed to add a new "MyClass.m" & "MyClass.h" and everything compiles fine.

Now when I try to...
Forum: OS X - Development and Darwin 10-13-2009, 07:11 AM
Replies: 0
Views: 2,847
Posted By Bracer
stringWithFormat or initWithFormat ?

NSMutableString* variable = [NSMutableString stringWithFormat:@"%d %d %d",1,2,3];


NSMutableString* variable = [ [NSMutableString alloc] initWithFormat:@"%d %d %d",1,2,3];


Is there any...
Forum: OS X - Development and Darwin 10-13-2009, 03:56 AM
Replies: 3
Views: 1,916
Posted By Bracer
Is implementing autorelease code in constructor a good idea ?

-(id) init
{
if (self = [super init])
{
[self autorelease];
return self;
}
}
Forum: OS X - Development and Darwin 10-11-2009, 12:41 PM
Replies: 2
Views: 644
Posted By Bracer
Why is it that instance variables with the same name are allowed ?

NSMutableArray* array = [ [NSMutableArray alloc] init ];
for (counter=0 ; counter<10 ; counter++)
{
NSMutableString* string = [NSMutableString stringWithFormat:@"%d",counter];
[array...
Forum: OS X - Development and Darwin 10-11-2009, 12:35 PM
Replies: 2
Views: 1,901
Posted By Bracer
Why do you need to "alloc" for initWithCString and but doesn't for stringWithFormat ?

Why is it that these two are correct:

NSMutableString* CombinedText = [NSMutableString stringWithFormat:@"%d %d %d",1,2,3];


and

NSMutableString* CombinedText = [[NSMutableString alloc]...
Forum: OS X - Development and Darwin 10-10-2009, 08:04 AM
Replies: 1
Views: 1,888
Posted By Bracer
Where to place your typedef struct declaration file ?

I just started playing with typedef struct

MyClass.h

#import <Cocoa/Cocoa.h>
@interface MyClass:NSObject
{
NSRange Range;
}
-(void) Generic_Message;
Forum: OS X - Development and Darwin 10-08-2009, 09:02 AM
Replies: 3
Views: 775
Posted By Bracer
Thank you :)

Thank you :)
Forum: OS X - Development and Darwin 10-08-2009, 06:49 AM
Replies: 3
Views: 775
Posted By Bracer
Which of these two ways are the best NSString Initializer ?

What is the "correct"way of declaring NSString ?


-(void) PrintMessage
{
NSString* Variable1 = [[NSString alloc] initWithCString: "This is Variable 1 String." ];
NSString* Variable2 = @"This...
Forum: OS X - Development and Darwin 10-08-2009, 02:22 AM
Replies: 2
Views: 508
Posted By Bracer
Arh...interesting... Thank you xstep.

Arh...interesting...
Thank you xstep.
Forum: OS X - Development and Darwin 10-07-2009, 06:28 AM
Replies: 2
Views: 508
Posted By Bracer
Class internal variable placement question.

It seems I can do:

============================
@interface MyClass:NSObject
{

}
NSString* Message;
@end
============================
Showing results 1 to 14 of 14

 
Forum Jump

All times are GMT -4. The time now is 06:49 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?