Skip to content
This repository was archived by the owner on Dec 14, 2021. It is now read-only.

Commit 508b9da

Browse files
authored
Renames all GOS prefixes to MDF. (#8)
* Renames all GOS prefixes to MDF. * Updates travis badge to new repo. * Fixes misspelling. * Adds new MDF podspec and deprecates GOS podspec. * Adds newline at end podspec.
1 parent ce1f01e commit 508b9da

File tree

12 files changed

+77
-64
lines changed

12 files changed

+77
-64
lines changed

.jazzy.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module: GOSScrollViewDelegateMultiplexer
2-
umbrella_header: src/GOSScrollViewDelegateMultiplexer.h
1+
module: MDFScrollViewDelegateMultiplexer
2+
umbrella_header: src/MDFScrollViewDelegateMultiplexer.h
33
objc: true
44
sdk: iphonesimulator

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ In short (slightly modified from the original article):
2121

2222
This repository follows a file layout convention that ensures consistency and
2323
predictability across all of our components. The conventions are described in
24-
the [GOS-conventions](https://github.com/google/GOS-conventions) repository.
24+
the [material-foundation-conventions-objc](https://github.com/material-foundation/material-foundation-conventions-objc) repository.
2525

2626
### Before you contribute
2727

GOSScrollViewDelegateMultiplexer.podspec

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,10 @@ Pod::Spec.new do |s|
99
s.platform = :ios, '7.0'
1010
s.requires_arc = true
1111

12+
s.deprecated_in_favor_of = 'MDFScrollViewDelegateMultiplexer'
13+
1214
s.public_header_files = 'src/*.h'
1315
s.source_files = 'src/*.{h,m}'
1416
s.header_mappings_dir = 'src/*'
1517

16-
end
18+
end
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
Pod::Spec.new do |s|
2+
s.name = "MDFScrollViewDelegateMultiplexer"
3+
s.version = "2.0.0"
4+
s.authors = { 'Chris Cox' => '[email protected]' }
5+
s.summary = "A proxy object for UIScrollViewDelegate that forwards all received events to an ordered list of registered observers."
6+
s.homepage = "https://github.com/material-foundation/material-scrollview-delegate-multiplexer-ios"
7+
s.license = 'Apache 2.0'
8+
s.source = { :git => "https://github.com/material-foundation/material-scrollview-delegate-multiplexer-ios.git", :tag => s.version.to_s }
9+
s.platform = :ios, '7.0'
10+
s.requires_arc = true
11+
12+
s.public_header_files = 'src/*.h'
13+
s.source_files = 'src/*.{h,m}'
14+
s.header_mappings_dir = 'src/*'
15+
end

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# GOSScrollViewDelegateMultiplexer
2-
[![Build Status](https://travis-ci.org/google/GOSScrollViewDelegateMultiplexer.svg?branch=master)](https://travis-ci.org/google/GOSScrollViewDelegateMultiplexer)
1+
# MDFScrollViewDelegateMultiplexer
2+
[![Build Status](https://travis-ci.org/material-foundation/material-scrollview-delegate-multiplexer-ios.svg?branch=master)](https://travis-ci.org/material-foundation/material-scrollview-delegate-multiplexer-ios)
33

44
This class acts as a proxy object for `UIScrollViewDelegate` events and forwards all received
55
events to an ordered list of registered observers.
@@ -16,7 +16,7 @@ events to an ordered list of registered observers.
1616
To add this component to your Xcode project using CocoaPods, add the following to your `Podfile`:
1717

1818
~~~ bash
19-
pod 'GOSScrollViewDelegateMultiplexer'
19+
pod 'MDFScrollViewDelegateMultiplexer'
2020
~~~
2121

2222
Then, run the following command:
@@ -37,7 +37,7 @@ the return value will be provided by the first observing delegate that responded
3737
observers implement the method, a default return value will be used.
3838

3939
However, if a combiner is set and the receiving class conforms to the
40-
`GOSScrollViewDelegateCombining` protocol, then the receiving class can designate which result
40+
`MDFScrollViewDelegateCombining` protocol, then the receiving class can designate which result
4141
value to return via the use of the optional protocol methods.
4242

4343
- - -
@@ -46,20 +46,20 @@ value to return via the use of the optional protocol methods.
4646
## Usage
4747

4848
```objectivec
49-
#import "GOSScrollViewDelegateMultiplexer.h"
49+
#import "MDFScrollViewDelegateMultiplexer.h"
5050

51-
_multiplexer = [[GOSScrollViewDelegateMultiplexer alloc] init];
51+
_multiplexer = [[MDFScrollViewDelegateMultiplexer alloc] init];
5252
myScrollView.delegate = _multiplexer;
5353
[_multiplexer addObservingDelegate:myControl];
5454
[_multiplexer addObservingDelegate:anotherControl];
5555
```
5656
57-
## Using the `GOSScrollViewDelegateCombining` protocol
57+
## Using the `MDFScrollViewDelegateCombining` protocol
5858
59-
First conform to the `GOSScrollViewDelegateCombining` protocol:
59+
First conform to the `MDFScrollViewDelegateCombining` protocol:
6060
6161
```objectivec
62-
@interface MyViewController () <GOSScrollViewDelegateCombining>
62+
@interface MyViewController () <MDFScrollViewDelegateCombining>
6363
@end
6464
6565
[_multiplexer setCombiner:self];
@@ -76,10 +76,10 @@ Handle one of the `UIScrollViewDelegate` protocol methods that return a value:
7676
And finally return the desired observer's results from the combiner method:
7777

7878
```objectivec
79-
- (UIView *)scrollViewDelegateMultiplexer:(GOSScrollViewDelegateMultiplexer *)multiplexer
79+
- (UIView *)scrollViewDelegateMultiplexer:(MDFScrollViewDelegateMultiplexer *)multiplexer
8080
viewForZoomingWithResults:(NSPointerArray *)results
8181
fromRespondingObservers:(NSArray *)respondingObservers {
82-
// Lets return the results from the oberserver which is equal to self.
82+
// Lets return the results from the observer which is equal to self.
8383
if (respondingObservers[0] == self) {
8484
return [results pointerAtIndex:0];
8585
}

examples/SVDMTypicalUseViewController.m

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,20 +20,20 @@
2020

2121
#import "SVDMTypicalUseViewController.h"
2222

23-
#import "GOSScrollViewDelegateMultiplexer.h"
23+
#import "MDFScrollViewDelegateMultiplexer.h"
2424
#import "ObservingPageControl.h"
2525

2626
#define RGBCOLOR(r, g, b) [UIColor colorWithRed:(r) / 255.0f green:(g) / 255.0f blue:(b) / 255.0f alpha:1]
2727
#define HEXCOLOR(hex) RGBCOLOR((((hex) >> 16) & 0xFF), (((hex) >> 8) & 0xFF), ((hex)&0xFF))
2828

29-
@interface SVDMTypicalUseViewController () <GOSScrollViewDelegateCombining>
29+
@interface SVDMTypicalUseViewController () <MDFScrollViewDelegateCombining>
3030
@end
3131

3232
@implementation SVDMTypicalUseViewController {
3333
UIScrollView *_scrollView;
3434
UIPageControl *_pageControl;
3535
NSArray *_pageColors;
36-
GOSScrollViewDelegateMultiplexer *_multiplexer;
36+
MDFScrollViewDelegateMultiplexer *_multiplexer;
3737
}
3838

3939
+ (NSArray *)catalogBreadcrumbs {
@@ -103,16 +103,16 @@ - (void)viewDidLoad {
103103

104104
// Create scrollView delegate multiplexer and register observers
105105

106-
_multiplexer = [[GOSScrollViewDelegateMultiplexer alloc] init];
106+
_multiplexer = [[MDFScrollViewDelegateMultiplexer alloc] init];
107107
_scrollView.delegate = _multiplexer;
108108
[_multiplexer addObservingDelegate:self];
109109
[_multiplexer addObservingDelegate:pageControl];
110110
[_multiplexer setCombiner:self];
111111
}
112112

113-
#pragma mark - GOSScrollViewDelegateCombining
113+
#pragma mark - MDFScrollViewDelegateCombining
114114

115-
- (UIView *)scrollViewDelegateMultiplexer:(GOSScrollViewDelegateMultiplexer *)multiplexer
115+
- (UIView *)scrollViewDelegateMultiplexer:(MDFScrollViewDelegateMultiplexer *)multiplexer
116116
viewForZoomingWithResults:(NSPointerArray *)results
117117
fromRespondingObservers:(NSArray *)respondingObservers {
118118
// Lets return the results from the observer which is equal to self.

examples/SVDMultiplexer.playground/Contents.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ This playground explores the use of a UIScrollViewDelegate multiplexer in order
55

66
Requirements: **Xcode 7.1 or higher**.
77

8-
We've created a framework called GOSScrollViewDelegateMultiplexer in which we've placed the relevant code.
8+
We've created a framework called MDFScrollViewDelegateMultiplexer in which we've placed the relevant code.
99

1010
If the Playground can't find the framework then you need to initiate a build of the ScrollViewDelegateMultiplexer project. Also make sure that you're viewing the playground via Examples.xcworkspace.
1111
*/
@@ -21,7 +21,7 @@ The multiplexer object is meant to be assigned as the delegate of a UIScrollView
2121

2222
For the purposes of this Playground we'll store the multiplexer in the global scope. In practice you'd store this multiplexer as a property on your UIViewController.
2323
*/
24-
let multiplexer = GOSScrollViewDelegateMultiplexer()
24+
let multiplexer = MDFScrollViewDelegateMultiplexer()
2525

2626
/*:
2727
Let's create a hypothetical object that is interested in reacting to UIScrollViewDelegate events. When it receives a `scrollViewDidScroll:` event it will execute a provided block.

examples/app/ScrollViewDelegateMultiplexer/ScrollViewDelegateMultiplexer.h

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,10 @@
1616

1717
#import <UIKit/UIKit.h>
1818

19-
#import "GOSScrollViewDelegateMultiplexer.h"
19+
#import "MDFScrollViewDelegateMultiplexer.h"
2020

2121
//! Project version number for ScrollViewDelegateMultiplexer.
2222
FOUNDATION_EXPORT double ScrollViewDelegateMultiplexerVersionNumber;
2323

2424
//! Project version string for ScrollViewDelegateMultiplexer.
2525
FOUNDATION_EXPORT const unsigned char ScrollViewDelegateMultiplexerVersionString[];
26-
27-
// In this header, you should import all the public headers of your framework using statements like #import <ScrollViewDelegateMultiplexer/PublicHeader.h>
28-
29-

examples/app/ScrollViewDelegateMultiplexerExample.xcodeproj/project.pbxproj

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
objects = {
88

99
/* Begin PBXBuildFile section */
10-
5D64A5001CB44F1F00EC4788 /* GOSScrollViewDelegateMultiplexerTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 5D64A4FD1CB44F1F00EC4788 /* GOSScrollViewDelegateMultiplexerTests.m */; };
10+
5D64A5001CB44F1F00EC4788 /* ScrollViewDelegateMultiplexerExampleTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 5D64A4FD1CB44F1F00EC4788 /* ScrollViewDelegateMultiplexerExampleTests.m */; };
1111
5D64A5011CB44F1F00EC4788 /* Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = 5D64A4FF1CB44F1F00EC4788 /* Info.plist */; };
1212
666CA7581CB41B6F001B1884 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 666CA7571CB41B6F001B1884 /* main.m */; };
1313
666CA75B1CB41B6F001B1884 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 666CA75A1CB41B6F001B1884 /* AppDelegate.m */; };
@@ -16,8 +16,8 @@
1616
666CA7751CB41BBB001B1884 /* ScrollViewDelegateMultiplexer.h in Headers */ = {isa = PBXBuildFile; fileRef = 666CA7741CB41BBB001B1884 /* ScrollViewDelegateMultiplexer.h */; settings = {ATTRIBUTES = (Public, ); }; };
1717
666CA7791CB41BBB001B1884 /* ScrollViewDelegateMultiplexer.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 666CA7721CB41BBB001B1884 /* ScrollViewDelegateMultiplexer.framework */; };
1818
666CA77A1CB41BBB001B1884 /* ScrollViewDelegateMultiplexer.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 666CA7721CB41BBB001B1884 /* ScrollViewDelegateMultiplexer.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
19-
666CA7821CB41BDF001B1884 /* GOSScrollViewDelegateMultiplexer.h in Headers */ = {isa = PBXBuildFile; fileRef = 666CA7801CB41BDF001B1884 /* GOSScrollViewDelegateMultiplexer.h */; settings = {ATTRIBUTES = (Public, ); }; };
20-
666CA7831CB41BDF001B1884 /* GOSScrollViewDelegateMultiplexer.m in Sources */ = {isa = PBXBuildFile; fileRef = 666CA7811CB41BDF001B1884 /* GOSScrollViewDelegateMultiplexer.m */; };
19+
666CA7821CB41BDF001B1884 /* MDFScrollViewDelegateMultiplexer.h in Headers */ = {isa = PBXBuildFile; fileRef = 666CA7801CB41BDF001B1884 /* MDFScrollViewDelegateMultiplexer.h */; settings = {ATTRIBUTES = (Public, ); }; };
20+
666CA7831CB41BDF001B1884 /* MDFScrollViewDelegateMultiplexer.m in Sources */ = {isa = PBXBuildFile; fileRef = 666CA7811CB41BDF001B1884 /* MDFScrollViewDelegateMultiplexer.m */; };
2121
666CA7881CB41C0C001B1884 /* ObservingPageControl.m in Sources */ = {isa = PBXBuildFile; fileRef = 666CA7851CB41C0C001B1884 /* ObservingPageControl.m */; };
2222
666CA7891CB41C0C001B1884 /* SVDMTypicalUseViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 666CA7871CB41C0C001B1884 /* SVDMTypicalUseViewController.m */; };
2323
666CA79A1CB41C7E001B1884 /* ScrollViewDelegateMultiplexer.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 666CA7721CB41BBB001B1884 /* ScrollViewDelegateMultiplexer.framework */; };
@@ -55,7 +55,7 @@
5555
/* End PBXCopyFilesBuildPhase section */
5656

5757
/* Begin PBXFileReference section */
58-
5D64A4FD1CB44F1F00EC4788 /* GOSScrollViewDelegateMultiplexerTests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GOSScrollViewDelegateMultiplexerTests.m; sourceTree = "<group>"; };
58+
5D64A4FD1CB44F1F00EC4788 /* ScrollViewDelegateMultiplexerExampleTests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; lineEnding = 0; path = ScrollViewDelegateMultiplexerExampleTests.m; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objc; };
5959
5D64A4FF1CB44F1F00EC4788 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
6060
666CA7531CB41B6F001B1884 /* ScrollViewDelegateMultiplexerExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = ScrollViewDelegateMultiplexerExample.app; sourceTree = BUILT_PRODUCTS_DIR; };
6161
666CA7571CB41B6F001B1884 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
@@ -67,8 +67,8 @@
6767
666CA7721CB41BBB001B1884 /* ScrollViewDelegateMultiplexer.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = ScrollViewDelegateMultiplexer.framework; sourceTree = BUILT_PRODUCTS_DIR; };
6868
666CA7741CB41BBB001B1884 /* ScrollViewDelegateMultiplexer.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ScrollViewDelegateMultiplexer.h; sourceTree = "<group>"; };
6969
666CA7761CB41BBB001B1884 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
70-
666CA7801CB41BDF001B1884 /* GOSScrollViewDelegateMultiplexer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GOSScrollViewDelegateMultiplexer.h; sourceTree = "<group>"; };
71-
666CA7811CB41BDF001B1884 /* GOSScrollViewDelegateMultiplexer.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GOSScrollViewDelegateMultiplexer.m; sourceTree = "<group>"; };
70+
666CA7801CB41BDF001B1884 /* MDFScrollViewDelegateMultiplexer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; lineEnding = 0; path = MDFScrollViewDelegateMultiplexer.h; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; };
71+
666CA7811CB41BDF001B1884 /* MDFScrollViewDelegateMultiplexer.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MDFScrollViewDelegateMultiplexer.m; sourceTree = "<group>"; };
7272
666CA7841CB41C0C001B1884 /* ObservingPageControl.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = ObservingPageControl.h; path = ../../ObservingPageControl.h; sourceTree = "<group>"; };
7373
666CA7851CB41C0C001B1884 /* ObservingPageControl.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = ObservingPageControl.m; path = ../../ObservingPageControl.m; sourceTree = "<group>"; };
7474
666CA7861CB41C0C001B1884 /* SVDMTypicalUseViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SVDMTypicalUseViewController.h; path = ../../SVDMTypicalUseViewController.h; sourceTree = "<group>"; };
@@ -115,7 +115,7 @@
115115
5D64A4FC1CB44F1F00EC4788 /* unit */ = {
116116
isa = PBXGroup;
117117
children = (
118-
5D64A4FD1CB44F1F00EC4788 /* GOSScrollViewDelegateMultiplexerTests.m */,
118+
5D64A4FD1CB44F1F00EC4788 /* ScrollViewDelegateMultiplexerExampleTests.m */,
119119
5D64A4FE1CB44F1F00EC4788 /* resources */,
120120
);
121121
path = unit;
@@ -187,8 +187,8 @@
187187
666CA77F1CB41BD5001B1884 /* src */ = {
188188
isa = PBXGroup;
189189
children = (
190-
666CA7801CB41BDF001B1884 /* GOSScrollViewDelegateMultiplexer.h */,
191-
666CA7811CB41BDF001B1884 /* GOSScrollViewDelegateMultiplexer.m */,
190+
666CA7801CB41BDF001B1884 /* MDFScrollViewDelegateMultiplexer.h */,
191+
666CA7811CB41BDF001B1884 /* MDFScrollViewDelegateMultiplexer.m */,
192192
);
193193
name = src;
194194
path = ../../../src;
@@ -202,7 +202,7 @@
202202
buildActionMask = 2147483647;
203203
files = (
204204
666CA7751CB41BBB001B1884 /* ScrollViewDelegateMultiplexer.h in Headers */,
205-
666CA7821CB41BDF001B1884 /* GOSScrollViewDelegateMultiplexer.h in Headers */,
205+
666CA7821CB41BDF001B1884 /* MDFScrollViewDelegateMultiplexer.h in Headers */,
206206
);
207207
runOnlyForDeploymentPostprocessing = 0;
208208
};
@@ -348,15 +348,15 @@
348348
isa = PBXSourcesBuildPhase;
349349
buildActionMask = 2147483647;
350350
files = (
351-
666CA7831CB41BDF001B1884 /* GOSScrollViewDelegateMultiplexer.m in Sources */,
351+
666CA7831CB41BDF001B1884 /* MDFScrollViewDelegateMultiplexer.m in Sources */,
352352
);
353353
runOnlyForDeploymentPostprocessing = 0;
354354
};
355355
666CA78A1CB41C53001B1884 /* Sources */ = {
356356
isa = PBXSourcesBuildPhase;
357357
buildActionMask = 2147483647;
358358
files = (
359-
5D64A5001CB44F1F00EC4788 /* GOSScrollViewDelegateMultiplexerTests.m in Sources */,
359+
5D64A5001CB44F1F00EC4788 /* ScrollViewDelegateMultiplexerExampleTests.m in Sources */,
360360
);
361361
runOnlyForDeploymentPostprocessing = 0;
362362
};

src/GOSScrollViewDelegateMultiplexer.h renamed to src/MDFScrollViewDelegateMultiplexer.h

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@
1616

1717
#import <UIKit/UIKit.h>
1818

19-
@protocol GOSScrollViewDelegateCombining;
19+
@protocol MDFScrollViewDelegateCombining;
2020

2121
/**
22-
GOSScrollViewDelegateMultiplexer acts as a proxy object for UIScrollViewDelegate events and
22+
MDFScrollViewDelegateMultiplexer acts as a proxy object for UIScrollViewDelegate events and
2323
forwards all received events to an ordered list of registered observers.
2424
2525
When a UIScrollViewDelegate method invocation is received by the multiplexer, the multiplexer
@@ -30,17 +30,17 @@
3030
observers implement the method, a default return value will be used.
3131
3232
However, if a combiner is set and the receiving class conforms to the
33-
GOSScrollViewDelegateCombining protocol, then the receiving class can designate which result
33+
MDFScrollViewDelegateCombining protocol, then the receiving class can designate which result
3434
value to return via the use of the optional protocol methods.
3535
3636
Example implementation:
3737
38-
_multiplexer = [[GOSScrollViewDelegateMultiplexer alloc] init];
38+
_multiplexer = [[MDFScrollViewDelegateMultiplexer alloc] init];
3939
myScrollView.delegate = _multiplexer;
4040
[_multiplexer addObservingDelegate:myControl];
4141
[_multiplexer addObservingDelegate:anotherControl];
4242
*/
43-
@interface GOSScrollViewDelegateMultiplexer : NSObject <UIScrollViewDelegate>
43+
@interface MDFScrollViewDelegateMultiplexer : NSObject <UIScrollViewDelegate>
4444

4545
/**
4646
Adds an observing delegate to the end of the array of delegates.
@@ -57,23 +57,23 @@
5757
- (void)removeObservingDelegate:(nonnull id<UIScrollViewDelegate>)delegate;
5858

5959
/**
60-
An optional delegate through which the GOSScrollViewDelegateMultiplexer may provide a
60+
An optional delegate through which the MDFScrollViewDelegateMultiplexer may provide a
6161
single UIScrollViewDelegate protocol return value from its array of observing delegates.
6262
*/
63-
@property(nonatomic, weak, null_resettable) id<GOSScrollViewDelegateCombining> combiner;
63+
@property(nonatomic, weak, null_resettable) id<MDFScrollViewDelegateCombining> combiner;
6464

6565
@end
6666

6767
/**
68-
The GOSScrollViewDelegateCombining protocol defines an internal mechanism through which
69-
GOSScrollViewDelegateMultiplexer provides an array of responding observing delegates
68+
The MDFScrollViewDelegateCombining protocol defines an internal mechanism through which
69+
MDFScrollViewDelegateMultiplexer provides an array of responding observing delegates
7070
and their respective return values.
7171
7272
Since it is possible that multiple delegates may respond to UIScrollViewDelegate methods that
7373
provide return values, this protocol allows the receiver to select the specific value to return
7474
from an array of those responding result values.
7575
*/
76-
@protocol GOSScrollViewDelegateCombining <NSObject>
76+
@protocol MDFScrollViewDelegateCombining <NSObject>
7777
@optional
7878

7979
/**
@@ -87,7 +87,7 @@
8787
8888
@return The preferred UIView result for this method.
8989
*/
90-
- (nullable UIView *)scrollViewDelegateMultiplexer:(nonnull GOSScrollViewDelegateMultiplexer *)multiplexer
90+
- (nullable UIView *)scrollViewDelegateMultiplexer:(nonnull MDFScrollViewDelegateMultiplexer *)multiplexer
9191
viewForZoomingWithResults:(nonnull NSPointerArray *)results
9292
fromRespondingObservers:(nonnull NSArray *)respondingObservers;
9393

@@ -101,7 +101,7 @@
101101
102102
@return The preferred BOOL result for this method.
103103
*/
104-
- (BOOL)scrollViewDelegateMultiplexer:(nonnull GOSScrollViewDelegateMultiplexer *)multiplexer
104+
- (BOOL)scrollViewDelegateMultiplexer:(nonnull MDFScrollViewDelegateMultiplexer *)multiplexer
105105
shouldScrollToTopWithResults:(nonnull NSArray *)results
106106
fromRespondingObservers:(nonnull NSArray *)respondingObservers;
107107

0 commit comments

Comments
 (0)