Using Notification Center in API

Discussion in 'iOS Programming' started by protonail, Jun 2, 2013.

  1. protonail macrumors newbie


    Jun 2, 2013

    I am developing a iOS framework which simplify integration of in-app purchases to iOS applications and verify them on the server-side. In the new version of framework I am going to add notifications through Notification Center similar to already implemented delegate notifications. This is give ability to assign several event handlers.

    So, can anyone recommend a good open source projects/frameworks where implemented notifications through Notification Center in API which these projects/frameworks provides? I want to investigate several examples before starting implementation.

  2. Duncan C macrumors 6502a

    Duncan C

    Jan 21, 2008
    Northern Virginia
    I can't recommend specific frameworks that use the notification center, but I can make an implementation recommendation: Use the new block-based notification methods to add observers. Take a look at the docs on
    . I find it much cleaner to specify a block to execute rather than a selector.

Share This Page