Skip to content

Conversation

@kastiglione
Copy link
Contributor

Calling findinstances currently requires the exact class name. For classes implemented in Swift, the name includes the module name, for example SuperKit.DuperClass. This change allows findinstances to be called with simply the class name (DuperClass in the previous example).

Note: This change does handle the case where more than one module contains a class by that name. For example, if two modules each define a class named User, then running findinstances User will list instances of both classes.

This pull request also includes a few other small improvements.

export INSTALL_NAME = ""
ifneq ($(LD_DYLIB_INSTALL_NAME), "")
export INSTALL_NAME =
ifneq ($(LD_DYLIB_INSTALL_NAME),)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@keith does this change look legit? The original here was still adding LD_DYLIB_INSTALL_NAME=... to xcodebuild command, but this change appears to fix that.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yea seems fine, shouldn't have had the quotes in the first place I think, my bad.

@keith
Copy link
Contributor

keith commented Jan 5, 2018

Super nice improvement!

@kastiglione kastiglione merged commit e3f30d0 into master Jan 5, 2018
@kastiglione kastiglione deleted the findinstances-swift-subclasses branch January 15, 2018 20:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants