This article is about developing native application for iOS devices. You can now develop your iOS application based on GSView - an UIView enhancement loosely based on QuickDraw API and the Apple IIGS 16-color palette! GSView can be downloaded here from Virtual GS.

Step 1: Create GSViewCreate an Xcode project, and create a view-based application. Copy GSView.h and GSView.m into your project. Create an Objective-C class and make it a subclass of UIView. Give it a name eg StarView. Add #import "GSView.h" into the header file (eg StarView.h) and replaced the text UIView by GSView. This means you are creating a GSView object rather than UIView object.

#import "GSView.h"

@interface StarView : GSView

Step 2: Add GSView to ApplicationGo to the controller file, find and uncomment the viewDidLoad method. Add your object (eg StarView) to the controller file by adding the following codes to viewDidLoad method.