Problem while looping on a NSDictionary
- by Tom
Hi!
The end of my loop causes a EXC_BAD_ACCESS.
Here's my dictionary (AppDelegate.data):
1 = (
3,
"Test 1",
False,
""
);
2 = (
4,
"Test 2",
False,
""
);
And here is my loop:
for (id theKey in AppDelegate.data) {
if (theKey = nil) {
NSLog(@"HOLY COW");
} else {
…