You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 6, 2020. It is now read-only.
If the QBPopupMenuItem was the sender, a single action could handle multiple menu items. This is good when the menu items are generated programatically.
For example:
- (void)contextMenuItemSelected:(id)sender {
QBPopupMenuItem *item = (QBPopupMenuItem*) sender;
assert(item); // This currently fails.
[self performCommandNamed: item.title];
}
This change is as simple as modifying -[QBPopupMenuItemView performAction]:
If the
QBPopupMenuItem
was the sender, a single action could handle multiple menu items. This is good when the menu items are generated programatically.For example:
This change is as simple as modifying
-[QBPopupMenuItemView performAction]
:[self.item.target performSelector:self.item.action withObject:self.item afterDelay:0];
The text was updated successfully, but these errors were encountered: