davbryn

United Kingdom

n/a

Age: 31

iPhone developer C++ Programmer

Oct
14
comment [_NSArrayM objectAtIndex:]: index 4294967295 beyond bounds [0..1]
That's your problem - you can't call objectAtIndex with a negative value.
Oct
14
revised [_NSArrayM objectAtIndex:]: index 4294967295 beyond bounds [0..1]
added 249 characters in body
Oct
10
answered What is a deprecated push segue? (iOS 8)
Oct
7
comment UITableView dismisses keyboard on reloadData in one place, but not in another?
If you use the subclass in both places and then compare the stack traces it will hopefully become apparent - I've not seen this happen myself unfortunately
Oct
6
answered [_NSArrayM objectAtIndex:]: index 4294967295 beyond bounds [0..1]
Oct
6
answered UITableView dismisses keyboard on reloadData in one place, but not in another?
Oct
5
revised Randomly choose an item in Obj-C
deleted 4 characters in body
Oct
4
answered Randomly choose an item in Obj-C
Oct
4
comment Generating random reachable platforms
Say somebody writing in Java comes across this problem. The answer is useless - it is a patch: it doesn't explain the logic (or answer the question); it isn't even Objective-C. (It isn't even a particularly useful solution - no offence intended). Does @fer0n know where he was going wrong? If he doesn't, he shouldn't accept, since he didn't ask for code; he asked how to do it
Oct
4
answered Generating random reachable platforms
Oct
4
comment Generating random reachable platforms
Don't feel forced to accept a wrong answer. @Zaph has not answered your question in any way and should not be pushing for you to accept in any way - it is poor form.I'll give you a hint in a second.
Oct
4
answered AFNetworking 1.3.1 often goes to failure Block in iOS 8
Oct
2
comment Best way to store Trivia game data?
Well, given a question such as "What is the name of cartoon character Charlie Brown's dog?" with answer "Snoopy" you consume 64 bytes of memory for question + answer. 10000 questions of this length + answer will consume 640000 bytes of memory (roughly) which is 0.64 Megabytes. In an dictionary you should get O(1) lookup time (very fast) and 0.64 Megabytes is tiny. I think Core Data or sqlite bindings would be overkill personally
Oct
2
answered Best way to store Trivia game data?
Sep
30
awarded Explainer
Sep
4
awarded Yearling
Sep
4
awarded Yearling
Aug
12
answered How do you get URL from UIImage in Swift or Objective C?
Aug
8
comment NSMergeConflict on iOS7
I've had the exact same issue and this helped me solve it! NSMergeConflict was not very clear :/
Jul
18
awarded Popular Question
1 2 3 4 5