New version for Xcode 4 available

Are there new versions?

New version for Xcode 4 available

Postby berndnoetscher » Wed Feb 15, 2012 1:56 pm

Happy to announce Xcode 4 support

Some examples are still missing and it is most likely that you will encouncter errors when you use Declare.
This will come within the next days.... Please be patient.

Version for Xcode 4 can be downloaded:

(Old Version for Xcode 3 can be downloaded:)

Requirements: 64 bit Intel Mac mit OS X => 10.7 Lion and Xcode >= 4.2

- You need to have installed the Mac development tools and packages (Xcode 4), before Objective-Basic will work completely.
- Support for PowerPC based Macs has been discontinued, because there are not supported anymore on Lion and future releases of Mac OS X.
- Support for Intel Macs lower than Mac OS X 10.7 Lion as deployment target is not planned, due to the features of Mac OS X 10.7 Lion, but in most cases there should be no problems

Current status

- The IDE of Objective-Basic is written in Objective-Basic itself and its source code is provided to study the language and implemented features for the public (example "Objective-Basic").
Valid enterprise license holders is granted full access to all source codes of the development package including the source codes for the Objective-Basic compiler and the runtime source codes.

The latest version of Objective-Basic comes with the following features:
- Objective-Basic compiler (written in C++ using Qt - dynamically linked).
- Support for Xcode's Interface Builder for creating xib/nib files with outlets and actions and custom objects and classes
- Syntax highlighting
- Project management and file find and file replace
- Code browser for current source code window
- Code changes are automatically saved (though there is a save command in the IDE)
- Goto last position and goto last error
- Code completion -> text editor is ready to manage and to trigger for ". as ("
- under construction: Objective-C extensions enabling native Objective-C API calls within Objective-Basic code (example "Objective-C")
- xib/nib files are compiled to binary files, making it impossible for others to use your Interface Builder files

Difference between registered and unregistered version?

The registered professional version comes with
- A deployment feature allowing to deploy your application as 32/64-bit for Intel Macs without the need to have Objective-Basic installed
- Get advanced documentation about Objective-Basic and Cocoa
- Get all source codes of the Objective-Basic compiler (for Enterprise licensees only, please contact us)

Future versions
- Debugger support (tests already successfully done)
- goto definition, goto explanation
- to support most functionality of all standard Cocoa features
- localization + translation support
- full native support for Core Data
- use of any interface builder plugin developed for Objective-C applications
- full native database support for mysql. Others will follow.
- report feature to print detailed information based on a database or Core Data
- plugin framework (tests already successfully done) including native Objective-C as it were Objective-Basic code (both with sources or binary only)
- to be able to directly use Objective-C code within Objective-Basic code (to inter share variables and functions)

Known Issues
- Code completion feature works as a modal window, so you cannot move around in the code during code completion is active
- Code completion does not recognize Objective-C extension through 'Declare'
- Syntax highlighting could be optimized and more accurate
- under construction: Separator lines in the code window could be more accurate
- under construction: Line numbers in code editor could be more accurate
- Printing comes without line numbers yet

What are xib/nib files and what is Xcode's Interface Builder?

Xcode's Interface Builder is the GUI editor provided by Apple, which is widely used among Objective-C developers. It is actually the best GUI tool for Mac development, because it is tightly connected to Cocoa. More said, it is a main part of Cocoa. Cocoa is an object-oriented application environment designed specifically for developing Mac applications quickly and efficiently.

Xcode's Interface Builder lets you create windows and its interface controls like buttons and save the interfaces as so called xib/nib files, which are loaded during runtime of your program. But xib/nib files may also contain information about executing your code and which custom objects or classes should be used in your program.

IBOutlets let you connect variables located in your source codes to interface controls like buttons.

IBActions are the event function called, when ever the default event of the control is triggered. IBActions are defined in your source code and then connected to the interface controls in Interface Builder.

When a xib/nib is loaded, the nib loader allocates and initializes all objects, then hooks up all of their outlets and actions. After all outlets and actions are connected, the nib loader sends AwakeFromNib to every object in the nib. This is where you can access outlets to set up default values or do configuration in code.
Site Admin
Posts: 280
Joined: Fri Feb 20, 2009 11:58 am

Return to Announcements

Who is online

Users browsing this forum: No registered users and 1 guest