Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

protonail

macrumors newbie
Original poster
Jun 2, 2013
2
0
Hello,

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.

Thanks
 
Hello,

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.

Thanks

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
Code:
addObserverForName:object:queue:usingBlock:
. I find it much cleaner to specify a block to execute rather than a selector.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.