FROM : Jaime Magiera
DATE : Mon Feb 04 02:57:02 2008
On Feb 3, 2008, at 8:42 PM, mmalc crawford wrote:
>>
> "new"
>
> NSMutableDictionary *newTrackEvent = [[NSMutableDictionary alloc]
> init];
Hey, thanks. The greater issue was a misunderstanding on my part. I
was thinking [NSMutableDictionary dictionary] was a convenience for
[[alloc] init] . Seeing this in the docs teaches me differently...
---------------------------------
dictionary
....
Discussion
This method is declared primarily for use with mutable subclasses of
NSDictionary.
If you don’t want a temporary object, you can also create an empty
dictionary using alloc... and init.
---------------------------
thanks again,
Jaime Magiera
Sensory Research
http://www.sensoryresearch.net
DATE : Mon Feb 04 02:57:02 2008
On Feb 3, 2008, at 8:42 PM, mmalc crawford wrote:
>>
> "new"
>
> NSMutableDictionary *newTrackEvent = [[NSMutableDictionary alloc]
> init];
Hey, thanks. The greater issue was a misunderstanding on my part. I
was thinking [NSMutableDictionary dictionary] was a convenience for
[[alloc] init] . Seeing this in the docs teaches me differently...
---------------------------------
dictionary
....
Discussion
This method is declared primarily for use with mutable subclasses of
NSDictionary.
If you don’t want a temporary object, you can also create an empty
dictionary using alloc... and init.
---------------------------
thanks again,
Jaime Magiera
Sensory Research
http://www.sensoryresearch.net
| Related mails | Author | Date |
|---|---|---|
| Jaime Magiera | Feb 4, 02:28 | |
| mmalc crawford | Feb 4, 02:42 | |
| Jaime Magiera | Feb 4, 02:57 |






Cocoa mail archive

