everybody knows the button in the app store, that says "buy" and when you bought it it changes to "download". I want to have a similar button with "download" and "delete". But I couldn't figure it out how to create it. The methods aren't the problem, but how do you configure the button?
I thought it should look after the data, if its stored the button shows "delete" and calls the delete method when clicked, otherwise the download method is called while the button says "download". Can somebody give me an advice?
Do I need "awakeformnib" ? There should be a research for the file before the buttons are initialized as well as a dynamic changing while the user uses the buttons.
hope somebody can help me :-)