objective c - Getting an object's attribute from an NSDictionary -
i have nsdictionary nsstring of values , of other values own classes. question how access attributes of 1 of classes dictionary. assumption this:
dictionary[@"work"].name
will work object dictionary , name attribute object
yourclass *classvar = [self.yourdictionary objectforkey:@"work"]; classvar.name = @"your name";
Comments
Post a Comment