Hillegass Chapter 15, Alert Panel confusion

Discussion in 'Mac Programming' started by petron, Jul 24, 2009.

  1. petron macrumors member

    May 22, 2009
    Malmo, Sweden
    Hi. Is there anybody that went through the chapter 15 ?

    To create a Alert Panel is not a problem but I am confused due to the solution presented by Aaron even if I do understand the construction.

    I do not understand why we do need to add a new IBAction method that responds to the "delete" button. We already have a method that does that job "removeObjectFromEmployeesAtIndex", and we already associated the "delete" button with the "remove" action of the ArrayController. Seems like we try to do the same thing in a two different ways

    Why not just to modify the existing construction ?

    I will appreciate yours ideas on this subject. It may help me to understand some details that I miss right now.

  2. Eraserhead macrumors G4


    Nov 3, 2005
    That's probably his intention.

Share This Page