This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
When the user chooses the viewList method (lines 73-84) and then presses deleteItem method right after (lines 1-71), the error at line 45 happens, stating what it says on that line. If the user never touches the view choice then the code will work perfectly fine and the user can keep on deleting items and keep entering invalid items all day. It isn't until the user presses the view choice, then that deleteItem method is just worthless and all they can really do next is create a new list or exit the program. can anybody help? I believe it has to do with the boolean because the new temp file shows the list with the deleted item, it's just not renaming the new temp file and deleting the old one so obviously the deleting item part is working bu not the boolean
Joined: Apr 26, 2013
Here is line counter if the problem might be here...