Latest 0.1.0
License MIT
Platforms ios 8.0

CI Status


To run the example project, clone the repo, and run pod install from the Example directory first.

Running Mode

  1. interception mode
    interception mode

  2. Broadcasting mode
    broadcasting mode


// Initialize from the source (the method call will be invoked on this object)
STXScrollDelegateProxy *proxy = [[STXScrollDelegateProxy alloc] initWithSource:self];

// If you have any selectors that you'd like to intercept, set the interceptor
proxy.interceptor = self.interceptor;

// If you have any broadcasting selectors, you can consider adding some subscribers to be notified
[proxy addBroadcastSubscriber:subscriber];

// Define the proxying policy for selector
[proxy setProxyingSelector:@selector(scrollViewWillBeginDragging:)

For a more concrete usage case, please refer to the Demo project.


STXMessageProxy is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod 'STXMessageProxy'


SteinX, [email protected]


STXMessageProxy is available under the MIT license. See the LICENSE file for more info.

Latest podspec

    "name": "STXMessageProxy",
    "version": "0.1.0",
    "summary": "A proxy to control the distribution of the message delivery of the objc based on the message forwarding mechanism.",
    "description": "STXMessageProxy is an abstract tool which can help you to change the ordinary method calling behavior to the one of the following behavior:nBroadcasting & Interception. This tool can be helpful when you'd like to keep mutiple members to be informed from one source (delegate), ornoverride certain behavior of the original one without changing the source code by just intercepting the call.",
    "homepage": "",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    "authors": {
        "SteinX": "[email protected]"
    "source": {
        "git": "",
        "tag": "0.1.0"
    "platforms": {
        "ios": "8.0"
    "source_files": "STXMessageProxy/Classes/**/*.{h,m}",
    "private_header_files": "STXMessageProxy/Classes/Private/**/*.h"

Pin It on Pinterest

Share This