Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 07-01-2009, 05:51 PM   #3 (permalink)
AlanTaylor
Registered Member
 
Join Date: May 2009
Posts: 13
Default

Quote:
Originally Posted by BSDimwit View Post
Code:
NSString *city = [(NSString*)ABMultiValueCopyValueAtIndex(addressMulti, i) autorelease];
city is an NSString which you've added to the mutable array address.
Later on, you do the following

Code:
NSMutableDictionary *primaryAddress = [address objectAtIndex:0];
The object at index 0 is a string, why are you trying to define a string as a mutable dictionary.
I see. I have tried changing city to be an NSMutableDictionary instead, but I get the same error. Am I missing the point here?
AlanTaylor is offline   Reply With Quote
 

» Advertisements
» Stats
Members: 158,836
Threads: 89,209
Posts: 380,644
Top Poster: BrianSlick (7,129)
Welcome to our newest member, abbylowin
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 03:47 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.