LETTERS

FLOATING WINDOWS AGAIN
I'd like to use the library of functions for floating windows described in develop Issue 15 by Dean Yu
(updated on Issue 21's CD). I'm using CodeWarrior 5.5, and when I try to compile the sample project (or
any other project that includes the WindowExtensions.h file)
I get a "WindowRef redeclared" error. There seems to be a conflict with the universal headers.
Before I try to get rid of this error myself (and probably make everything wrong), I thought I'd ask if you
could suggest a simple and clean solution.
-- Fred Klein

On this issue's CD is a new version of the floating windows library that fixes this problem, and others.
The problem was that Apple finally "caught up" with Dean and defined things in the universal headers
that he had defined, in his forward-looking way, back when he first wrote the article.
Also on the CD you'll find an even newer version of the library that compiles with STRICT_WINDOWS
defined. This necessitated a complete rewrite of some portions of the code, so consider it risky. Please try
it and send me any bugs you find!
-- Dave Johnson

POWERPC ASSEMBLY NITS
Great article on PowerPCTM assembly language in develop Issue 21! It was clear, and I learned a lot
reading it. But I have two nitpicks. On page 27 you show glue code for a cross-TOC call. The second instruction should be

stw RTOC, 20(SP)

And the third instruction has a typo in it. It should be

lwz r0, 0(r12)

-- David Shayer

Thanks for catching these. The interesting thing is that the second instruction appears that (wrong) way in
the PPCAsm manual. Whoops!
-- Dave Evans

UP ON THE DOWNSIDE
I just wanted to tell you that I really liked the Veteran Neophyte column in Issue 21, about the downside
of programming. It struck a nerve with me. The thing that goes through my mind whenever I sit down to
write some code is "There has to be a better way!" Alas, by the time there is a better way, I will probably
have moved on to some other profession.
-- Jamie Osborne

Your Veteran Neophyte column on the pains of programming really struck a nerve (and not just because I
have carpal tunnel syndrome). I often spend a while putting things on paper, only to abandon the project
once I become convinced that I've figured out the solution and its implementation would just be hours
and hours of typing. Sort of meta-programming.
-- Tom Busey

I just finished reading the Veteran Neophyte columns in Issue 17 and
Issue 21, "Why We Do It" and "The Downside." They were given to me by
a friend who is an avid programmer. The type of things you described sounded just like my friend; I think
he showed the columns to me to explain why every time I see him he's sitting in front of the computer,
and why he stays up till all hours of the morning working on programs that end up frustrating him.

I thought I should let you know that your columns were appreciated not only by those who program, but
by those who are close to programmers and wonder sometimes what unseen force has gotten hold of them
and sucked them into their work.
-- Greta Meussling

The "Downside" column seems to have hit home with many people; I got a lot of comments about it. It's
nice to be assured that I'm not the only reluctant programmer in the world, and that I'm not the only one
who thinks there ought to be a better way.
-- Dave Johnson

ACROBAT: PRETTY DARN FINE
This probably isn't the first time you've heard this, but how about off ering develop in Acrobat (PDF format)
as well? For me, Acrobat is more convenient than Apple DocViewer as an application and, most
important, its files are a lot smaller. I routinely convert develop to PDF and then add PDF hyperlinks and
bookmarks. For one issue I converted, for instance, the DocViewer version (without the index) is 2.9 meg,
while the PDF version is only 770K. It's even smaller than the StuffIt version of the DocViewer document
(1.2 meg). And the onscreen appearance is identical.
I still like the HTML versions for their immediacy, but for true WYSIWYG, low conversion effort, and
small file size, you can't beat PDF.
-- Shannon Spires

We agree with you. You'll notice that on this issue's CD, every issue of develop has been converted to
Acrobat -- along with all the other files on the CD that used to be in Apple DocViewer format. Enjoy!
-- Caroline Rose

UP ON THE WEB
Thanks for making both develop and Apple Directions available on the World Wide Web. We're on a very
tight budget and can't afford a subscription at this time. The online versions allow us to access the infor -
mation and still come out with a product on budget.
-- Mattias Fornander

I'm a student who reads develop online via the Internet through UCLA's (UNIX ® ) workstations. Your
putting develop on the World Wide Web is great! Even though the comfort of reading (and printing)
develop online
will never equal the ease of the regular version, I don't have to fight with ftp and MS-DOS floppy disks to
read your magazine. So please continue to publish develop in HTML.

IMHO, your magazine is a service to the Mac developer community, and you would help Apple by letting
every possible programmer access it without hassle. Thanks for this effort.
-- Eric Gouriou

We've got articles from some issues of develop on the World Wide Web now (at http://www.apple.com, in
the Developer Services area) and are working on putting more up there. This kind of feedback helps make
it happen -- so thanks for writing.
Readers of the online version: Don't confuse printed develop with the monthly Apple Developer Mailing;
a subscription to the monthly mailing (which includes a CD that has develop on it) is rather costly, but it
costs only $30 for four quarterly printed issues of develop (with Bookmark CD). See the inside front
cover of this issue for ordering information. (Sorry, I couldn't resist this opportunity for a plug!)
-- Caroline Rose

KEEP US ON OUR TOES! We welcome your nitpicking letters to the editors, especially regarding articles published in develop.
Letters should be addressed to Caroline Rose -- or, if technical develop-related questions, to Dave Johnson
-- at AppleLink CROSE or JOHNSON.DK. Or you can write to Caroline
or Dave at Apple Computer, Inc., 1 Infinite Loop, M/S 303-4DP, Cupertino, CA 95014. All letters should include your name and
company name as well as your address and phone number. Letters may be excerpted or edited for clarity (or to make them say what
we wish they did). *

Community Search:

MacTech Search:

Software Updates via MacUpdate

Hopper Disassembler 4.3.16- - Binary dis...

Hopper Disassembler is a binary disassembler, decompiler, and debugger for 32- and 64-bit executables. It will let you disassemble any binary you want, and provide you all the information about its... Read more

Default Folder X 5.2.2 - Enhances Open a...

Default Folder X attaches a toolbar to the right side of the Open and Save dialogs in any OS X-native application. The toolbar gives you fast access to various folders and commands. You just click on... Read more

EtreCheck 4.0.1 - For troubleshooting yo...

EtreCheck is an app that displays the important details of your system configuration and allow you to copy that information to the Clipboard. It is meant to be used with Apple Support Communities to... Read more

Carbon Copy Cloner 5.0.9 - Easy-to-use b...

Carbon Copy Cloner backups are better than ordinary backups. Suppose the unthinkable happens while you're under deadline to finish a project: your Mac is unresponsive and all you hear is an ominous,... Read more

QuickBooks 17.2.25.638 R26 - Financial m...

QuickBooks helps you manage your business easily and efficiently. Organize your finances all in one place, track money going in and out of your business, and spot areas where you can save.
Built for... Read more

Monosnap 3.4.10 - Versatile screenshot u...

Monosnap lets you capture screenshots, share files, and record video and .gifs!
Features
Capture
Capture full screen, just part of the screen, or a selected window
Make your crop area pixel... Read more

Vivaldi 1.14.1077.50 - An advanced brows...

Vivaldi is a browser for our friends.
In 1994, two programmers started working on a web browser. Our idea was to make a really fast browser, capable of running on limited hardware, keeping in mind... Read more

Viber 8.2.0 - Send messages and make fre...

Viber lets you send free messages and make free calls to other Viber users, on any device and network, in any country!
Viber syncs your contacts, messages and call history with your mobile device, so... Read more

QuickBooks 17.2.25.638 R26 - Financial m...

QuickBooks helps you manage your business easily and efficiently. Organize your finances all in one place, track money going in and out of your business, and spot areas where you can save.
Built for... Read more

Carbon Copy Cloner 5.0.9 - Easy-to-use b...

Carbon Copy Cloner backups are better than ordinary backups. Suppose the unthinkable happens while you're under deadline to finish a project: your Mac is unresponsive and all you hear is an ominous,... Read more

Latest Forum Discussions

Our top 5 characters from casual RPG Cre...

Creature Quest definitely lives up to its name with a host of collectible creatures based on fantasy tales and world mythologies. To celebrate Creature Quest’s first birthday, we’re going to lay out what we think are the five best characters in the... | Read more »

Around the Empire: What have you missed...

Did you know that Steel Media has a whole swathe of other sites dedicated to all aspects of mobile gaming? Sure you'll get the very best iPhone news, reviews, and opinions right here at 148Apps, but we don't want you missing out on a single piece... | Read more »

All the best games on sale for iPhone an...

Oh hi there, and welcome to our round-up of the best games that are currently on sale for iPhone and iPad. You thought I didn't see you there, did you, skulking behind the bushes? Trust me though, the bushes aren't where the best deals are. The... | Read more »

The Battle of Polytopia Guide - How to H...

A new update just released for The Battle of Polytopia (formerly Super Tribes), which introduces online multiplayer. For all the fans of Midjiwan’s lite take on Civilization, this is certainly welcome news, but playing online isn’t as easy and... | Read more »

Here are the very best mobile games to p...

It's Valentine's Day! Did you get loads of cards and chocolates and other tacky, simple expressions of human affection? Did you send out tat because you find it almost impossible to express emotion unless there's a section dedicated to it at your... | Read more »

A laid-back mix of RPG and TCG, Creature Quest is all about building your deck, evolving your creatures and winning in battle. It’s the creation of VC Mobile, set up by Might and Magic producer Jon Van Caneghem. There are elements of that classic... | Read more »

Check out this awesome hands-on with the...

Well, PlayerUnknown's Battlegrounds has come out on mobile. This isn't a clone, this isn't a riff on the battleroyale mechanics of the game, it's the official mobile port by Tencent. But there's a little bit of a hitch.
[Read more]
| Read more »

Hostage Negotiator (Entertainment)

Hostage Negotiator 1.1.0
Device: iOS Universal
Category: Entertainment
Price: $3.99, Version: 1.1.0 (iTunes)
Description:
Official app of the board game by AJ Porfirio and Van Ryder Games.
In Hostage Negotiator, you play the part of... | Read more »

Price Scanner via MacPrices.net

Saturday Sale: Amazon offers 13″ 1.8GHz/256GB...

Amazon has the 13″ 1.8GHz/256B Apple MacBook Air on sale today for $250 off MSRP including free shipping:
– 13″ 1.8GHz/256GB MacBook Air (MQD42LL/A): $949.99, $250 off MSRP
Their price is the lowest... Read more

Roundup of Apple Certified Refurbished 12″ Ma...

Apple has Certified Refurbished 2017 12″ Retina MacBooks available for $200-$240 off the cost of new models. Apple will include a standard one-year warranty with each MacBook, and shipping is free.... Read more

Apple offers Certified Refurbished 10″ and 12...

Apple is now offering Certified Refurbished 2017 10″ and 12″ iPad Pros for $100-$190 off MSRP, depending on the model. An Apple one-year warranty is included with each model, and shipping is free:
–... Read more

Apple Canada offers Certified Refurbished Mac...

Canadian shoppers can save up to $560 on the purchase of a 2017 current-generation MacBook Pro, MacBook, or MacBook Air with Certified Refurbished models at Apple Canada. Apple’s refurbished prices... Read more

Adorama has the 8-core iMac Pro on sale for $4799 including free shipping plus NY & NJ sales tax only. Their price is $200 off MSRP, and it’s the currently lowest price available for an iMac Pro.
Read more

Sale! Walmart lowers prices even more on 9″ i...

Walmart has lowered their sale price on 9.7″ Apple iPads to $80 off MSRP for a limited time. Sale prices are for online orders only, in-store prices may vary:
– 9″ 32GB iPad: $249.99 $80 off
– 9″... Read more

Roundup of 13″ MacBook Pro sales, models avai...

B&H Photo has 13″ MacBook Pros on sale for up to $200 off MSRP. Shipping is free, and B&H charges sales tax for NY & NJ residents only. Their prices are the lowest available for these... Read more

MacTech is a registered trademark of Xplain Corporation. Xplain, "The journal of Apple technology", Apple Expo, Explain It, MacDev, MacDev-1, THINK Reference, NetProfessional, Apple Expo, MacTech Central, MacTech Domains, MacNews, MacForge, and the MacTutorMan are trademarks or service marks of Xplain Corporation. Sprocket is a registered trademark of eSprocket Corporation. Other trademarks and copyrights appearing in this printing or software remain the property of their respective holders. Not responsible for typographical errors.

All contents are Copyright 1984-2011 by Xplain Corporation. All rights reserved. Theme designed by Icreon.