Re: six things I wasn't able to do with Cocoa

2010-05-28 Thread Alex Curylo
got a background renderer or suchlike, I'd say. -- Alex Curylo -- a...@alexcurylo.com -- http://www.alexcurylo.com/ ...the variable PI can be given that value [3.141592653589793] with a DATA statement. This simplifies the modifying of the program, should the value of PI ever change. -- SDS

Re: Custom Fonts in UI Webview

2009-09-15 Thread Alex Curylo
/ -- Alex Curylo -- a...@alexcurylo.com -- http://www.alexcurylo.com/ If you can't annoy somebody, there's little point in writing. -- Kingsley Amis ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator

Re: Showing more warnings possible in Xcode?

2009-05-30 Thread Alex Curylo
if they've made any significant updates since I put this together. -- Alex Curylo -- a...@alexcurylo.com -- http://www.alexcurylo.com/ You know you've had a good night when you wake up and someone's outlining you in chalk. ___ Cocoa-dev mailing list

Re: Showing more warnings possible in Xcode?

2009-05-30 Thread Alex Curylo
, and doesn't muck up block quoting/unquoting, which makes it the one true correct way far as I'm concerned. -- Alex Curylo -- a...@alexcurylo.com -- http://www.alexcurylo.com/ I suddenly found myself writing, from scratch, an ATM back-end that's used by a growing number of banks... now I get nervous

Re: Showing more warnings possible in Xcode?

2009-05-30 Thread Alex Curylo
% focused on iPhone work, which makes being so even *more* joyous! -- Alex Curylo -- a...@alexcurylo.com -- http://www.alexcurylo.com/ First time I saw a spiral dive was you at Woodside in September. I thought you were friggin' nuts. -- Bruce McGuigan

Re: NSString initWithFormat and stringWith

2009-05-27 Thread Alex Curylo
the probable cause is then *much* less challenging. Downright trivial, generally. -- Alex Curylo -- a...@alexcurylo.com -- http://www.alexcurylo.com/ Programming is like sex... One mistake and you support it the rest of your life. ___ Cocoa-dev mailing

Re: [iPhone] UITableViewController headache

2009-05-11 Thread Alex Curylo
of work. And so forth. So it does behoove you to use it if appropriate. Now, if I could just get it to handle a background image nicely... -- Alex Curylo -- a...@alexcurylo.com -- http://www.alexcurylo.com/ When I met you, it was a little like meeting Jubal from _Stranger In A Strange Land_

Re: Converting NSString to C++ std::string

2009-05-08 Thread Alex Curylo
onto old C++ code that works and never noticed any issues. -- Alex Curylo -- a...@alexcurylo.com -- http://www.alexcurylo.com/ I guess it's pretty bad when you don't start using a new API until it's been deprecated. -- Nick Nallick ___ Cocoa-dev

Re: Proper NSOperation isCancelled handling

2009-02-13 Thread Alex Curylo
. -- Alex Curylo -- a...@alexcurylo.com -- http://www.alexcurylo.com/ You definitely have some kind of Zen thing going for you. -- Craig Joseph Huxtable ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests

Proper NSOperation isCancelled handling

2009-02-12 Thread Alex Curylo
didChangeValueForKey:@isCancelled]; } ... which just doesn't seem quite right. What's the correct thing to do? -- Alex Curylo -- a...@alexcurylo.com -- http://www.alexcurylo.com/ I just can't accept that 24 reserves, 3 hospitalizations and one fatality are in any way acceptable for what should

Re: What is the equivalent of a C++ pure-virtual function in Objective-C?

2009-01-11 Thread Alex Curylo
match everything under @required in the protocol. And to keep track of a derived instance as a variable/argument, something like idPAImageCollection collection; does the trick. That should pretty much cover any sane use of pure virtual functions you have in mind. -- Alex Curylo

RE: Re: Static text over an image

2008-10-30 Thread Alex Curylo
considerably. -- Alex Curylo -- [EMAIL PROTECTED] -- http://www.alexcurylo.com/ There are two great secrets to success in life. The first is to not tell everything you know. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin

Re: Static text over an image

2008-10-30 Thread Alex Curylo
) { NSView* itsSuperview = [*putTheseInFront superview]; [[*putTheseInFront retain] removeFromSuperview]; [itsSuperview addSubview:*putTheseInFront)]; putTheseInFront++; } Not exactly scalable, but it sorted the workflow at hand nicely with no apparent runtime delay. -- Alex Curylo -- [EMAIL

Re: alternative to flash

2008-07-16 Thread Alex Curylo
ignorance there, of course. -- Alex Curylo -- [EMAIL PROTECTED] -- http://www.alexcurylo.com/ Dude ... you are the man! I wish the guys writing our PC version could be as efficient as you! -- Jason Carter, autolycus.com ___ Cocoa-dev mailing

Re: [Ann] DMG Canvas

2008-04-22 Thread Alex Curylo
better? -- Alex Curylo -- [EMAIL PROTECTED] -- http://www.alexcurylo.com/ Optimists see the glass half full. Pessimists see the glass half empty. Engineers see that the glass is twice as big as it needs to be. ___ Cocoa-dev mailing list (Cocoa-dev

Re: Cocoa-dev Digest, Vol 5, Issue 600

2008-04-13 Thread Alex Curylo
not foolproof. Stands to reason that the retain/[auto]release paradigm isn't completely foolproof either, although it does seem pretty resistant to commonly accepted levels of foolery so far. -- Alex Curylo -- [EMAIL PROTECTED] -- http://www.alexcurylo.com/ There are two great secrets to success

Stale Objective-C object pointer detection

2008-04-13 Thread Alex Curylo
to cause any subsequent access of it to stop the program immediately? 0xDEADBEEF perhaps? -- Alex Curylo -- [EMAIL PROTECTED] -- http://www.alexcurylo.com/ Programming is like sex... One mistake and you support it the rest of your life

Re: Stale Objective-C object pointer detection

2008-04-13 Thread Alex Curylo
that is only partially supported -- if at all. Do not depend on the existance of any of these symbols in your code in future releases of this software... sounded to to me an awful lot like ignore this header. Righty then, now I know better. Thanks again! -- Alex Curylo -- [EMAIL PROTECTED] -- http