quot;%@ %@ %d", sausageString, sausageStringCopy,
sausageStringIsEqualToSausageStringCopy);
NSLog(@"%@ %@ %d", cheeseString , cheeseStringCopy ,
cheeseStringIsEqualToCheeseStringCopy );
}
@end
:::: Demo.m
--
Horst Jä
Hi,
it says in the NSHTTPCookieStorage class reference:
"NSHTTPCookieStorage implements a singleton object (shared instance) that
manages the shared cookie storage. These cookies are shared among all
applications and are kept in sync cross-process."
I need the opposite thing.
Is it possible t
Hi,
yesterday I stumbled upon something strange concerning the autorelease
pool.
Please consinder the following lines of code:
NSLog(@"devel");
NSAutoreleasePool *autoreleasePool = [[NSAutoreleasePool alloc] init];
NSDictionary *di = [[NSDict
Hi,
after changing to MacOS 10.6 my XCode no longer compiles.
No error message and XCode doesn't freeze. It just says
"CompileXIB ..." and that's it.
Any idea what I could do?
Thanks
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please
Hi,
I noticed that NSNumber objects with the same value are all have the
same address.
But since they are created at runtime they must all be held in a big
container - or am I mistaken?
Thanks in advance
Horst
___
Cocoa-dev mailing list (Coco
First of all: thank you. You solved my problem.
There's no real way to enforce privateness, either in Objective-C
or C++.
Why not in C++?
Yes, these do the trick.
But another->mineAlone will.
-(int)yoursTooButWithAnother: (PrivateClass *)another {
return another->m
Hi,
suppose I have a class with a private member as listed at the end of
this email.
Then I can access it by calling its name without an accessor function
(which would de facto make it public).
But how do I access a private member of another object of the same
class?
Or does Objec
Hi,
I have a problem concerning the va_list. I don't know how to
programaticly create one.
I need to do this because I want to use the initWithFormat method of
NSString. But I neither know how many args there will be nor are the
args Strings - they are selectors the associated methods o
Hi,
I'm looking for a possibility to use arithmetics for arbitrarily large
integers in objective c. Is there a special class or an framework that
does the job?
Thanks in advance
Horst
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Java borrowed from Objective-C on this and many other features. Java
was actually derived from Obj-C.
It is a "class method".
OK. I like Objective-C better anyway.
As to your other question, do this:
[[myInstance class] myClassMethod];
Yes, thank you, that worked.
Hi,
let's say I have a class "MyClass"
@interface MyClass : NSObject{
- (void) myInstanceMethod;
+ (void) myClassMethod;
}
with an instance "myInstance"
MyClass *myInstance = [[MyClass alloc] init];
. I could then call myInstanceMethod like
[myInstance myInstanceMethod];
. I could call
11 matches
Mail list logo