Skip to content

Commit

Permalink
As available in 2.0 release candidate.
Browse files Browse the repository at this point in the history
  • Loading branch information
johnno1962 committed Apr 30, 2020
1 parent b60eafc commit 7bc98a7
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 6 deletions.
4 changes: 2 additions & 2 deletions InjectionIII.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -927,7 +927,7 @@
INFOPLIST_FILE = InjectionIII/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "@executable_path/../Frameworks";
MACOSX_DEPLOYMENT_TARGET = 10.12;
MARKETING_VERSION = 1.8;
MARKETING_VERSION = 2.0;
PRODUCT_BUNDLE_IDENTIFIER = com.johnholdsworth.InjectionIII;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand All @@ -950,7 +950,7 @@
INFOPLIST_FILE = InjectionIII/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "@executable_path/../Frameworks";
MACOSX_DEPLOYMENT_TARGET = 10.12;
MARKETING_VERSION = 1.8;
MARKETING_VERSION = 2.0;
PRODUCT_BUNDLE_IDENTIFIER = com.johnholdsworth.InjectionIII;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand Down
2 changes: 1 addition & 1 deletion InjectionIII/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<key>CFBundleShortVersionString</key>
<string>$(MARKETING_VERSION)</string>
<key>CFBundleVersion</key>
<string>2605</string>
<string>2609</string>
<key>LSApplicationCategoryType</key>
<string>public.app-category.developer-tools</string>
<key>LSMinimumSystemVersion</key>
Expand Down
13 changes: 11 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,14 +119,23 @@ To use, add an Objective-C class to your project and `#import` its header file i
#import "/Applications/InjectionIII.app/Contents/Resources/RemoteCapture.h"
```

Finally, include the following in your application's initialisation (replace 192.168.1.14 with the IPV4 network address of your development machine or its hostname as shown in Preferences/Sharing):
Finally, include the following in your application's initialisation (replace
`192.168.1.14` with the IPV4 network address of your development
machine or your collegue's machine you would like to project your device
onto if they are running InjectionIII.) You can also use a machine's hostname
(shown in Preferences/Sharing):

```Swift
#if DEBUG
RemoteCapture.start("192.168.1.14")
#endif
```
When InjectionIII is running, select the "Remote" menu item to start the server and then run your app. It should connect to the server which will pop up a window showing the device display and accepting tap events.
When InjectionIII is running, select the "Remote" menu item to start the server
and then run your app. It should connect to the server which will pop up a
window showing the device display and accepting tap events. Events can be
saved as `macros` and replayed. If you include a snapshot in a macro this will
be compared against the device display (within a tolerance) when your replay
the macro for automated testing.

## SwiftEval - Yes, it's eval() for Swift

Expand Down
2 changes: 1 addition & 1 deletion Remote

0 comments on commit 7bc98a7

Please sign in to comment.