This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Sat Oct 10 08:18:13 -0700 2009 | |
| |
Classes/ | Mon Oct 12 17:25:09 -0700 2009 | |
| |
License.txt | Mon Oct 12 17:25:09 -0700 2009 | |
| |
MainWindow.xib | Fri Oct 09 18:24:17 -0700 2009 | |
| |
README.txt | Mon Oct 12 17:25:09 -0700 2009 | |
| |
SimURLator-Info.plist | Fri Oct 09 20:52:15 -0700 2009 | |
| |
SimURLator.xcodeproj/ | Sat Oct 10 08:17:11 -0700 2009 | |
| |
SimURLatorViewController.xib | Sat Oct 10 08:11:17 -0700 2009 | |
| |
SimURLator_Prefix.pch | Fri Oct 09 18:24:17 -0700 2009 | |
| |
apache-license-2.0.txt | Mon Oct 12 17:25:09 -0700 2009 | |
| |
main.m | Mon Oct 12 17:25:09 -0700 2009 |
README.txt
SimURLator
----------
SimURLator is an iPhone development tool for manual iPhone Simulator
testing of your app's integration with other iPhone apps via
UIApplication's openURL:.
Basically it stands in for the third-party applications you can't
install in the iPhone simulator and allows you to manually validate
that things should work once you install your app on a device with
those third-party apps.
It works in both directions:
* If your app supports some URL scheme of its own, SimURLator will
let you type it in, validate that the OS agrees it can be opened,
and launch your app.
* If your app tries to launch some third-party app using its URL
scheme, you can configure SimURLator to register that scheme in
the Simulator so you can see that the URL you're building looks
the way you expect.
Testing Your App's URL Handling
-------------------------------
Build and deploy your app and SimURLator to the iPhone Simulator.
Run SimURLator. Enter a URL using the scheme that your app is
registered to handle. Tap the "Check URL" button to see that the OS
reports the URL can be opened. Tap the "Open URL" button to launch
your app with the URL.
Testing Your Calls to openURL:
------------------------------
Grab the code. Edit SimURLator-Info.plist. Add or remove URL Schemes
(values for the key CFBundleURLSchemes) to match those of the
application(s) you want to test integration with. Deploy to the
iPhone Simulator. Now run your app in the Simulator. When your app
calls openURL:, SimURLator will launch and show you the exact URL it
was passed.
Here's the section of SimURLator-Info.plist you should modify:
...
<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleURLSchemes</key>
<array>
<string>tweetie</string>
<string>twitterfon</string>
<string>twitterrific</string>
</array>
...
If you're using XCode, note that it will probably label those keys
"URL types" and "URL Schemes."
---
Copyright 2009 ThoughtWorks, Inc. See License.txt for licensing info.






