package com.dhemery.victor;

/**
 * Represents an application running on an iOS device.
 * @author Dale Emery
 *
 */
public interface IosApplication {
	public enum Orientation {
		LANDSCAPE,
		PORTRAIT,
		UNKNOWN,
	}

    /**
     * Send a message to the application delegate.
     * @param name the name of the message to send (an Objective-C selector).
     * @param arguments arguments to send with the message.
     * @return the value returned by the application delegate.
     */
    String sendMessage(String name, String... arguments);

	/**
	 * @return the application's current orientation.
	 */
	Orientation orientation();
}

@@ -626,11 +626,194 @@
 ation();
+%0A%0A    /**%0A     * @param query identifies a set of views.%0A     * @return a view driver that represents the identified views within this application.%0A     */%0A    IosView view(By query);
 %0A%7D%0A

Clean up APIs of Frank classes.