Skip to content

Commit 3b68c85

Browse files
authored
Merge pull request #14 from intercom/brian/readme-update
Added Caveat for usage of NSClassFromString
2 parents d74acf9 + f54b65f commit 3b68c85

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ plugin 'cocoapods-mangle', targets: ['MyTarget'],
119119
- cocoapods-mangle will only work for source dependencies. Pre-compiled frameworks cannot be mangled.
120120
- Currently only supports iOS. It should be very straightforward to extend support to macOS, tvOS or watchOS.
121121
- Category mangling may cause issues if the dependency does not correctly prefix its category selectors (see http://nshipster.com/namespacing/#method-prefixes).
122+
- Usage of `NSClassFromString(@"MyClass")` will not work after mangling has been applied. You will need to use `NSClassFromString(@"Prefix_MyClass")` for this to work correctly.
122123

123124
## Related links
124125

0 commit comments

Comments
 (0)