First question here and can I start by saying how much help this site has been to me and how much I like the way it is laid out! Can anyone help me with this..
Yesterday I had an issue with a simple bit of code in xcode4. It was just loading a view from a view controller as part of an if statement. Being a bit new to iphone development I assumed it was my problem and spent hours trying to figure it out without any luck.
Later that evening a buddy came over and had a look (by this stage I had gone back to my original code with the original issue) he suggested trying the code outside the 'if' statement. So I just copied the few lines to before the 'if' and commented out the if statement. Lo and Behold... it worked as it should!
After a couple of 'undo's i ran it again in its original form and... it worked again! I didn't change a thing! THREE HOURS! I could cry!
Anyone know why? Is there some kind of cache in xcode that gets a bit cranky and if so how do I reset / clear it? during my three hours I closed xCode, cleaned several times, shut down the imac more than once...