Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OS X Support (for major commands) #45

Merged
merged 3 commits into from Jul 9, 2014
Merged

OS X Support (for major commands) #45

merged 3 commits into from Jul 9, 2014

Conversation

kolinkrewinkel
Copy link
Contributor

Some of the commands (afaik) don't have equivalents (such as getting the "key" window. You can't do that with Mac. Ever. And a lot of apps don't have a mainWindow assigned, so grabbing the first one in the -windows is a reasonable default.) This is true also in a more literal sense, as CARenderServer isn't really queryable (that I could find) like SpringBoard's is.

For the most part, it's just querying the architecture and replacing with NS* equivalents. Determining if the system is a Mac or not is done by attempting to grab the NSApplication* class. It doesn't exist on iOS.

The reason that the dynamic placeholders are used is that you can't query the target's architecture at lldb init, as there is no target. Thus, you can dynamic them and then assign them the real defaults at runtime.

The key changes hit are:

  • view walking
  • view flickering
  • printing view hierarchy (apparently including some additional info, like drawRect speeds and some AutoLayout stuff)
  • bordering
  • read me update

arigrant added a commit that referenced this pull request Jul 9, 2014
OS X Support (for major commands)
@arigrant arigrant merged commit 200599d into master Jul 9, 2014
@arigrant
Copy link
Contributor

arigrant commented Jul 9, 2014

Looks good to me! Thanks.

@kolinkrewinkel kolinkrewinkel deleted the OS-X-support branch July 9, 2014 17:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants