Sybase Business Intelligence Solutions - Database Management, Data Warehousing Software, Mobile Enterprise Applications and Messaging
Sybase Brand Color Bar
delete

Search for    in all of Sybase.com
view all search results right arrow
  blank
 
 
 
 
 
 
 
 
 
 

 
 
CLICK TO EXPAND NAVIGATION
CLICK TO EXPAND NAVIGATION
 
 
 
 
Support > Technical Documents > Document Types > White Paper-Technical > Tutorial: Using Xcode and ODBC with Adaptive Serve...  
RSS Feed
 
 
 

Tutorial: Using Xcode and ODBC with Adaptive Server Anywhere 9.0.1 on Mac OS X

Overview

This tutorial shows you how to create a Cocoa application with Xcode on Mac OS X that queries the contact table in the Adaptive Server Anywhere sample database (asademo.db). The sample application allows you to move through the contact table with a bi-directional cursor and save changes to Street and Zip data.

The document does not describe how to code with ODBC or how to code in Objective-C, C, or C++; there are many resources available to assist you with these topics. Rather, this document helps you build an Xcode project by putting together the required components within the IDE.

Instructions are provided for two versions of this tutorial: a quick start version that allows you to run the project right away, and a step-by-step version that takes you through the steps for creating a new Cocoa project.

Requirements

  • SQL Anywhere Studio 9.0.1 for Mac OS X, or later
  • Mac OS X 10.3, or later
  • Xcode version 1.1

Download the whitepaper here.


Contents

Overview
Requirements

Before you begin
Setting up the ODBC environment

Quick start tutorial

Step-by-step tutorial
Creating a new project in Xcode
Adding code to the project
Adding files to the project
Adding resources to the project
Configuring the target
Building and running the project

Legal Notice

Contact Us


Download the whitepaper here.


 

Related Links

DOCUMENT ATTRIBUTES
Last Revised: Jul 08, 2004
Product: SQL Anywhere
Technical Topics: SQL ISV Applications, SQL Server Applications
  
Business or Technical: Technical
Content Id: 1030937
Infotype: White Paper-Technical
 
 
 

 
© Copyright 2014, Sybase Inc. - v 7.6 Home / Contact Us / Help / Jobs / Legal / Privacy / Code of Ethics