Skip to content

Lunarpad/ObjC-Notifications

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Notifications

Description

C/Objective-C convenience methods that wrap NSNotificationCenter

Useful for easy NSNotification posting.

Installation

Simply plop this repo into your project, and you should be good to go.

Usage

LPNotificationCenterPost(LPObject_notification_name_sampleEventDidOccur);

Sending a payload

NSDictionary *userInfo = @
{
    LPObject_notification_userInfo_key_sampleKey : @"value"
};
LPNotificationCenterPostWithInfo(LPObject_notificationName_sampleEventDidOccur, userInfo);

See LPNotificationCenter.h for more.

About

Objective-C convenience methods that wrap NSNotificationCenter

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published