Re: Do Debug Apps Expire on iOS?

2016-07-22 Thread Michael David Crawford
Debug it some other way than with Xcode. Possibly you have a serious bug, but running under the debugger alters something so that the bug isn't stimulated. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or

Re: Prioritize my own app's disk access

2016-07-05 Thread Michael David Crawford
If it's a dedicated workstation, it should be OK to require a RAID 0. That won't affect anyone's priority, but all disk I/O will be divided among two or more disks. Alternatively, dedicate a single drive only to video, with your other drive being for everything else. Michael David Crawford

Re: Simplest way to generate audio tones?

2016-06-03 Thread Michael David Crawford
/BirthCry.cpp Michael David Crawford, Baritone mdcrawf...@gmail.com One Must Not Trifle With Wizards For It Makes Us Soggy And Hard To Light. On Sun, May 29, 2016 at 10:10 AM, Jens Alfke <j...@mooseyard.com> wrote: > >> On May 28, 2016, at 8:24 PM, Graham Cox <graham@

Re: Apple Bug no response

2016-03-09 Thread Michael David Crawford
I have a bug in Apple's sample code that would be a trivial fix, that has been open for eight years. By contrast I've reported a few kernel bugs. Each was fixed in the very next build. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do

Re: [OT] Forums for Web Development?

2016-02-15 Thread Michael David Crawford
Soylent News, http://soylentnews.org/ Submit an "Ask Soylent News" story. If you ask your questions intelligently they'll run your story. Many Soylentils are web app coders. Michael David Crawford, Baritone mdcrawf...@gmail.com One Must Not Trifle With Wizards For It Make

Re: mmap quiet failure - all reads are 0x00

2016-02-05 Thread Michael David Crawford
. But don't just focus narrowly on the mmap itself. Michael David Crawford, Baritone mdcrawf...@gmail.com One Must Not Trifle With Wizards For It Makes Us Soggy And Hard To Light. On Fri, Feb 5, 2016 at 4:36 PM, Jens Alfke <j...@mooseyard.com> wrote: > >> On Feb 5, 2016, at 10:09

Re: catching statuses of lights

2016-01-29 Thread Michael David Crawford
color filters might simplify the problem. Also are the lights in a fixed location? Do you plan to let your iDevice do the driving? ;-D Michael David Crawford, Baritone mdcrawf...@gmail.com One Must Not Trifle With Wizards For It Makes Us Soggy And Hard To Light. On Fri, Jan 29, 2016

Re: OpenGL Vertical Syncing effect on run loops

2015-09-23 Thread Michael David Crawford
was devoted to back and forth context switches that did no other work of any sort. My current use of the display link resulted in a tenfold increase in performance. Michael David Crawford P.E., Consulting Process Architect mdcrawf...@gmail.com http://mike.soggywizard.com/ One Must Not Trifle

Re: iOS 9 or Watch App

2015-09-21 Thread Michael David Crawford
For me, it works OK to put the Xcode app bundles in folders: /Applications/Xcode_5/Xcode.app /Applications/Xcode_6/Xcode.app however you may only have one version of the command line tools installed in /usr/bin and the like. Michael David Crawford P.E., Consulting Process Architect mdcrawf

Re: Is it possible to transfer data by using light

2015-09-18 Thread Michael David Crawford
personal phone. Modern Macs - to the best of my knowledge - provide trusted computing chips, on can access them from userspace with a modest bit of code. Michael David Crawford P.E., Consulting Process Architect mdcrawf...@gmail.com http://mike.soggywizard.com/ One Must Not Trifle

Re: Is it possible to transfer data by using light

2015-09-17 Thread Michael David Crawford
that modern computer user interfaces caused my seizure disorder as well as that of my cousin. Seizures are not otherwise found among any of our blood relatives. Have A Nice Day. Mike Michael David Crawford P.E., Consulting Process Architect mdcrawf...@gmail.com http://mike.soggywizard.com/ One

Re: Is it possible to transfer data by using light

2015-09-17 Thread Michael David Crawford
shades of grey could transmit more data while avoiding the stimulation of seizures. Michael David Crawford P.E., Consulting Process Architect mdcrawf...@gmail.com http://mike.soggywizard.com/ One Must Not Trifle With Wizards For It Makes Us Soggy And Hard To Light. On Thu, Sep 17, 2015 at 9

Re: Progress Bar Gripe

2015-09-09 Thread Michael David Crawford
ce Manager code. That the bug reports I file don't get fixed is what led me to abandon the Apple platform for Linux. I invite you to continue our friendly debate. Mike Michael David Crawford P.E., Consulting Process Architect mdcrawf...@gmail.com http://mike.soggywizard.com/ One Must Not Trif

Progress Bar Gripe

2015-09-08 Thread Michael David Crawford
gravation. Curmudgeonly Yours, Mike Michael David Crawford P.E., Consulting Process Architect mdcrawf...@gmail.com http://mike.soggywizard.com/ One Must Not Trifle With Wizards For It Makes Us Soggy And Hard To Light. ___ Cocoa-dev mailing list (Coco

Re: Puzzling memory creep

2015-09-04 Thread Michael David Crawford
. Michael David Crawford P.E., Consulting Process Architect mdcrawf...@gmail.com http://mike.soggywizard.com/ One Must Not Trifle With Wizards For It Makes Us Soggy And Hard To Light. On Fri, Sep 4, 2015 at 9:13 AM, <dangerwillrobinsondan...@gmail.com> wrote: > So don't cre

Re: How to terminate an NSTask whenever my app terminates?

2015-08-31 Thread Michael David Crawford
On the UNIX command line "nohup" prevents children from being killed when the parent exits. If you want to manually start a daemon: $ nohup mydaemon & Then you can log out and it keeps running. -- Michael David Crawford P.E., Consulting Process Architect mdcrawf...@

Re: Crash help?

2015-08-20 Thread Michael David Crawford
not have found the crash we're discussing but it will find many others by the time you ship. Also assertions are more effective than comments for documenting APIs because one is forced to maintain them along with the rest of the code. - Mike -- Michael David Crawford P.E., Consulting Process

Re: Completely baffled by NSTabViewController + Autolayout

2015-08-17 Thread Michael David Crawford
competitors. (Soggy Wizard is a brand-new domain however I expect to start my web server by tomorrow afternoon or so.) Have A Nice Day. Michael David Crawford P.E., Consulting Process Architect http://mike.soggywizards.com/ mdcrawf...@gmail.com One Must Not Trifle With Wizards For It Makes Us

Request iOS setting to disable ALL UI animation.

2015-08-11 Thread Michael David Crawford
Miguel de la Chula Vista http://www.warplife.com/mdc/ mdcrawf...@gmail.com 53n7 fr0m my 1P4d. -- Michael David Crawford, Consulting Software Engineer mdcrawf...@gmail.com http://www.warplife.com/mdc/ Every Deity Hath the Insight to Foretell the Future Yet G-d Almighty Himself

Re: Regarding these Olivia messages. Can we do something about the list security?

2015-07-31 Thread Michael David Crawford
requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/mdcrawford%40gmail.com This email sent to mdcrawf...@gmail.com -- Michael David Crawford

Re: Regarding these Olivia messages. Can we do something about the list security?

2015-07-30 Thread Michael David Crawford
Chris, Your old homey Mike suggests that cocoa-dev could use a little TLC. Mike On Thursday, July 30, 2015, Michael David Crawford mdcrawf...@gmail.com wrote: Internet Crime Complaint Center http://www.ic3.gov/complaint/default.aspx The CERT Division http://www.cert.org/ Forum

Re: Regarding these Olivia messages. Can we do something about the list security?

2015-07-30 Thread Michael David Crawford
subscription forms. I'll Send You My Bill In The Mail. Mike mdcrawf...@gmail.com -- Michael David Crawford, Consulting Software Engineer mdcrawf...@gmail.com http://www.warplife.com/mdc/ Every Deity Hath the Insight to Foretell the Future Yet G-d Almighty Himself Possesseth Not the Power

Re: Cocoa Error Domain code symbols in Swift

2015-07-24 Thread Michael David Crawford
ones. -- Michael David Crawford, Consulting Software Engineer mdcrawf...@gmail.com http://www.warplife.com/mdc/ Every Deity Hath the Insight to Foretell the Future Yet G-d Almighty Himself Possesseth Not the Power to Undo the Past. ___ Cocoa

Re: MODERATOR: End of Thread (was Re: I am reluctant to file any more bugs until those already reported are fixed)

2015-07-21 Thread Michael David Crawford
/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/mdcrawford%40gmail.com This email sent to mdcrawf...@gmail.com javascript:; -- Michael David Crawford, Consulting Software Engineer mdcrawf...@gmail.com http://www.warplife.com/mdc/ Every Deity Hath

Re: C Sharp?

2015-07-16 Thread Michael David Crawford
with gcj. This would be too much work for just one use but could be a market opportunity. Knock yourself out. -- Michael David Crawford, Consulting Software Engineer mdcrawf...@gmail.com http://www.warplife.com/mdc/ Every Deity Hath the Insight to Foretell the Future Yet G-d Almighty Himself

I am reluctant to file any more bugs until those already reported are fixed

2015-07-15 Thread Michael David Crawford
in meatspace aren't doing the job. Recently I attempt gentle diplomacy. To some extent that seems to help, but I'm just one person. Can you help in any way, or recommend something or someone else who can? Ever Faithful, Mike -- Michael David Crawford, Consulting Software Engineer mdcrawf

Re: I am reluctant to file any more bugs until those already reported are fixed

2015-07-15 Thread Michael David Crawford
meetings, register voters, make Get Out The Vote phone calls and transcribe hardcopy campaign finance disclosure statements onto the Web. Thanks for letting me clear all that up. Mike -- Michael David Crawford, Consulting Software Engineer mdcrawf...@gmail.com http://www.warplife.com/mdc

Re: I am reluctant to file any more bugs until those already reported are fixed

2015-07-15 Thread Michael David Crawford
On 7/15/15, Raglan T. Tiger r...@crusaderrabbit.net wrote: Take it to Reddit and leave us alone. Thanks for setting me straight. I didn't realize that Apple's engineers hang out at Reddit. Mike -- Michael David Crawford, Consulting Software Engineer mdcrawf...@gmail.com http

Re: Translate curl command to NSURLRequest

2015-07-04 Thread Michael David Crawford
Would it work to use libcurl instead? I dont know but would be unsurprised were that to be what NSURLRequest actually does. -- Michael David Crawford, Consulting Software Engineer mdcrawf...@gmail.com http://www.warplife.com/mdc/ Available for Software Development in the Portland, Oregon

Would you pay for a better table view?

2015-06-30 Thread Michael David Crawford
appeared to be a Mac OS List Manager list work with three billion items. Mike -- Michael David Crawford, Consulting Software Engineer mdcrawf...@gmail.com http://www.warplife.com/mdc/ Available for Software Development in the Portland, Oregon Metropolitan Area

Re: Cheating a synchronous call on the main thread

2015-06-29 Thread Michael David Crawford
Use a background task to do the real work then deliver the result on a queue. mUseba synchronous call to fetch the result from the queue or return an error result if the queue is empty. -- Michael David Crawford, Consulting Software Engineer mdcrawf...@gmail.com http://www.warplife.com/mdc

Why do so many iOS apps have such poor quality?

2015-06-23 Thread Michael David Crawford
can it be to add assertions to your source? -- Michael David Crawford, Consulting Software Engineer mdcrawf...@gmail.com http://www.warplife.com/mdc/ Available for Software Development in the Portland, Oregon Metropolitan Area. ___ Cocoa-dev mailing

Re: Scary Stuff!

2015-06-17 Thread Michael David Crawford
I was a Debug Meister for Apple in the mid-90s. It was fascinating work but I applied for an internal transfer because I had the sense that my work would never be finished. That is, we will never run out of bugs. It gets me down sometimes. Michael David Crawford, Consulting Software Engineer

Most People Still Use Dialup

2015-06-16 Thread Michael David Crawford
they download. When I was the Product Development Manager for Working Software I kept twelve people employed despite that I only had a 40 MB hard drive. Michael David Crawford, Consulting Software Engineer mdcrawf...@gmail.com http://www.warplife.com/mdc/ Available for Software Development

Re: Most People Still Use Dialup

2015-06-16 Thread Michael David Crawford
Northern China has to talk to Southern China via Japan. This because some party official gave his son the gift of what at one time was the northern part of the state telecommunications monopoly. On 6/16/15, Michael David Crawford mdcrawf...@gmail.com wrote: I was finally able to download that 1

Re: Goodbye and Thanks for All The Code

2015-06-16 Thread Michael David Crawford
that, I really _do_ enjoy writing code but some things are really more important than how many mice one's app scores in a trade rag product review. Michael David Crawford, Consulting Software Engineer mdcrawf...@gmail.com http://www.warplife.com/mdc/ Available for Software Development in the Portland

Re: Most People Still Use Dialup

2015-06-16 Thread Michael David Crawford
berkeley.edu $ sudo ping -c 100 -f www.vatican.va By tracerouting before and after that flushing, I can see that my packets traverse far fewer routers. -- Michael David Crawford, Consulting Software Engineer mdcrawf...@gmail.com http://www.warplife.com/mdc/ Available for Software Development

Re: Most People Still Use Dialup

2015-06-16 Thread Michael David Crawford
offensive, to hook up my printer at Starbucks. On 6/16/15, Alex Zavatone z...@mac.com wrote: On Jun 16, 2015, at 6:34 AM, Michael David Crawford wrote: I was finally able to download that 1 GB printer driver assortment, but only by wandering around trying different wifi spots. I knew that I could

Goodbye and Thanks for All The Code

2015-06-15 Thread Michael David Crawford
; a while back I wrote an online book called Solving the Software Problem: a Taxonomy of Error. While I wrote it pseudonymously as Jonathan Swift, on my Contact page I wrote: = I suppose this is a good place to clue you all in to the fact that my real name is Michael David Crawford. I

Re: Language options: Objective-C, Swift, C or C++?

2015-06-13 Thread Michael David Crawford
Apple, given that it is Apple's written policy to reject crashy apps from the app store. Michael David Crawford, Consulting Software Engineer mdcrawf...@gmail.com http://www.warplife.com/mdc/ Available for Software Development in the Portland, Oregon Metropolitan Area. On Sat, Jun 13, 2015 at 7

Re: Language options: Objective-C, Swift, C or C++?

2015-06-13 Thread Michael David Crawford
Engineer's Solemn Duty http://www.warplife.com/ethics/duty.html Thanks for letting me clear all that up. Mike Michael David Crawford, Consulting Software Engineer mdcrawf...@gmail.com http://www.warplife.com/mdc/ Available for Software Development in the Portland, Oregon Metropolitan Area

Re: Language options: Objective-C, Swift, C or C++?

2015-06-13 Thread Michael David Crawford
nothing that Cocoa or Cocoa touch can do that ZooLib couldn't do better in ISO C++. Michael David Crawford, Consulting Software Engineer mdcrawf...@gmail.com http://www.warplife.com/mdc/ Available for Software Development in the Portland, Oregon Metropolitan Area. On Sat, Jun 13, 2015 at 4:53

Re: Language options: Objective-C, Swift, C or C++?

2015-06-13 Thread Michael David Crawford
to my extensive C++ experience being of absolutely no use when I apply for such coding gigs - this despite that I've used C++ on the Mac since 1990, while working for Apple. Michael David Crawford, Consulting Software Engineer mdcrawf...@gmail.com http://www.warplife.com/mdc/ Available for Software

Re: Language options: Objective-C, Swift, C or C++?

2015-06-13 Thread Michael David Crawford
tweaky little optimizations like reordering data accesses so as to reduce cache misses. Michael David Crawford, Consulting Software Engineer mdcrawf...@gmail.com http://www.warplife.com/mdc/ Available for Software Development in the Portland, Oregon Metropolitan Area. On Sat, Jun 13, 2015

[OT] correcting mistaken identity

2015-06-12 Thread Michael David Crawford
for contacting me; I will reply to your inquiry as promptly as I can. Please permit me to avail myself of this opportunity to point out that I am a Physicist and a Software Engineer, and am very much alive. The tattoo artist also named Michael David Crawford who did time in Walla Walla commencing

Re: Wanted: Elegant way to manage this task

2015-06-09 Thread Michael David Crawford
to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/mdcrawford%40gmail.com This email sent to mdcrawf...@gmail.com -- Michael David Crawford, Consulting Software Engineer mdcrawf

Re: Looking at self = [super init].

2015-06-02 Thread Michael David Crawford
their comments I withdraw my application. If their coding conventions are the sort that are likely to lead to correct code then I pursue the job with enthusiasm. Michael David Crawford, Consulting Software Engineer mdcrawf...@gmail.com http://www.warplife.com/mdc/ Available for Software

Re: Looking at self = [super init].

2015-06-02 Thread Michael David Crawford
of fault-tolerance engineered in, that fault-tolerance depended on correct C++ code. Michael David Crawford, Consulting Software Engineer mdcrawf...@gmail.com http://www.warplife.com/mdc/ Available for Software Development in the Portland, Oregon Metropolitan Area. On Tue, Jun 2, 2015 at 5:38 PM

Re: Looking at self = [super init].

2015-06-02 Thread Michael David Crawford
over my source and don't find any comments in it. Mike Michael David Crawford, Consulting Software Engineer mdcrawf...@gmail.com http://www.warplife.com/mdc/ Available for Software Development in the Portland, Oregon Metropolitan Area. On Tue, Jun 2, 2015 at 2:22 PM, Kyle Sluder k

Re: Looking at self = [super init].

2015-06-01 Thread Michael David Crawford
I've always used m to prefix ivars: mSpeed, mDistance. I use s for statics and k for constants. I'd like to find a good convention for distinguishing properties but haven't really found one that is appealing to me. Michael David Crawford, Consulting Software Engineer mdcrawf...@gmail.com http

Re: Looking at self = [super init].

2015-06-01 Thread Michael David Crawford
are clueless. That's just wrong. Assembly code doesn't really have control flow constructs. You make them out of gotos - condition or unconditional branches. Michael David Crawford, Consulting Software Engineer mdcrawf...@gmail.com http://www.warplife.com/mdc/ Available for Software Development

Re: Looking at self = [super init].

2015-06-01 Thread Michael David Crawford
Steve - are you saying that C++ destructors aren't called if you use a goto? It was my understanding that the destructor is called if you go out of scope for any reason, even if it's a goto. Michael David Crawford, Consulting Software Engineer mdcrawf...@gmail.com http://www.warplife.com/mdc

Re: Looking at self = [super init].

2015-06-01 Thread Michael David Crawford
This email sent to mdcrawf...@gmail.com -- Michael David Crawford, Consulting Software Engineer mdcrawf...@gmail.com http://www.warplife.com/mdc/ Available for Software Development in the Portland, Oregon Metropolitan Area. ___ Cocoa-dev mailing list

Re: Looking at self = [super init].

2015-06-01 Thread Michael David Crawford
, Michael David Crawford mdcrawf...@gmail.com wrote: I quite commonly fix bugs by refactoring all the lengthy routines into several shorter ones. I have the same rule of thumb - if it's not obvious what's going on, I should probably think about refactoring it into smaller chunks

Re: Looking at self = [super init].

2015-05-30 Thread Michael David Crawford
of code goes here result = self; epilog: return result; } Michael David Crawford, Consulting Software Engineer mdcrawf...@gmail.com http://www.warplife.com/mdc/ Available for Software Development in the Portland, Oregon Metropolitan Area. On Fri, May 29, 2015 at 6:25 PM, Graham Cox graham

Re: [PSA] OSStatus.com -- Error code lookup

2015-05-30 Thread Michael David Crawford
May I Bear Your Firstborn? Michael David Crawford, Consulting Software Engineer mdcrawf...@gmail.com http://www.warplife.com/mdc/ Available for Software Development in the Portland, Oregon Metropolitan Area. On Sat, May 30, 2015 at 9:38 PM, Seth Willits sli...@araelium.com wrote: I can't

[OT] Computer Employer Index

2015-05-30 Thread Michael David Crawford
once I have enough links that I can make a splash by announcing that specific page. You could help a lot of people out were you to pass the URL onto those who you genuinely feel would be interested in or would benefit from it. Yours, Mike Michael David Crawford, Consulting Software Engineer

Re: Copy test docs to Simulator App's Documents folder?

2015-05-25 Thread Michael David Crawford
David Crawford, Consulting Software Engineer mdcrawf...@gmail.com http://www.warplife.com/mdc/ Available for Software Development in the Portland, Oregon Metropolitan Area. On Mon, Apr 20, 2015 at 8:45 PM, Michael Crawford mdcrawf...@gmail.com wrote: (David Brittain sent me his

Re: Stupid Cocoa question. How can you tell if the object you are looking at is a property or an ivar?

2015-05-20 Thread Michael David Crawford
while neglecting to remove the original ivar. This leaves me somewhat in the same situation as you. As I refactor my own code I keep in mind each of the above three situations. Michael David Crawford, Consulting Software Engineer mdcrawf...@gmail.com http://www.warplife.com/mdc/ Available

Re: Stupid Cocoa question. How can you tell if the object you are looking at is a property or an ivar?

2015-05-20 Thread Michael David Crawford
You could comment off their declarations in your header files, then have a look at which uses of them in your sources result in fatal compiler errors. (Comment off just one at a time.) Michael David Crawford, Consulting Software Engineer mdcrawf...@gmail.com http://www.warplife.com/mdc

Re: Stupid Cocoa question. How can you tell if the object you are looking at is a property or an ivar?

2015-05-20 Thread Michael David Crawford
of lines of code. Michael David Crawford, Consulting Software Engineer mdcrawf...@gmail.com http://www.warplife.com/mdc/ Available for Software Development in the Portland, Oregon Metropolitan Area. On Wed, May 20, 2015 at 4:17 PM, Jens Alfke j...@mooseyard.com wrote: On May 20, 2015, at 4:08

Re: How to draw a NSView on top of a WebView and don't get overriden trying

2015-05-13 Thread Michael David Crawford
. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/mdcrawford%40gmail.com This email sent to mdcrawf...@gmail.com -- Michael David Crawford, Consulting Software Engineer mdcrawf

Re: IB_DESIGNABLE - anyone got it to work?

2015-05-12 Thread Michael David Crawford
/options/cocoa-dev/mdcrawford%40gmail.com This email sent to mdcrawf...@gmail.com -- Michael David Crawford, Consulting Software Engineer mdcrawf...@gmail.com http://www.warplife.com/mdc/ Available for Software Development in the Portland, Oregon Metropolitan Area

Re: Outlets are nil after awakeFromNib call

2015-05-10 Thread Michael David Crawford
...@gmail.com -- Michael David Crawford, Consulting Software Engineer mdcrawf...@gmail.com http://www.warplife.com/mdc/ Available for Software Development in the Portland, Oregon Metropolitan Area. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com

Re: Rotate a standard Cocoa control?

2015-05-07 Thread Michael David Crawford
Thanks! Michael David Crawford, Consulting Software Engineer mdcrawf...@gmail.com http://www.warplife.com/mdc/ Available for Software Development in the Portland, Oregon Metropolitan Area. On Thu, May 7, 2015 at 4:24 PM, Graham Cox graham@bigpond.com wrote: On 8 May 2015, at 9:04 am

Drawing many thin vertical lines is very slow

2015-05-07 Thread Michael David Crawford
done lots of direct memory pixel manipulations over the years, that wouldn't be a problem for me to implement but before I do, do you think it would be a good idea? -- Michael David Crawford, Consulting Software Engineer mdcrawf...@gmail.com http://www.warplife.com/mdc/ Available for Software

Re: Rotate a standard Cocoa control?

2015-05-07 Thread Michael David Crawford
You could do what Apple's UIKit engineers do: implement your own subclass of UIView, with your own drawing and hit testing. Then you could put your radio in a wooden cabinet, maybe model some of the warm distortion that vacuum tubes yield Michael David Crawford, Consulting Software Engineer

Re: Rotate a standard Cocoa control?

2015-05-07 Thread Michael David Crawford
the indicator with an image from a PNG. At the very end have a designer do nice graphics. Michael David Crawford, Consulting Software Engineer mdcrawf...@gmail.com http://www.warplife.com/mdc/ Available for Software Development in the Portland, Oregon Metropolitan Area. On Thu, May 7, 2015 at 3

Re: static analyzers says I'm leaking, I _think_ I'm not

2015-05-06 Thread Michael David Crawford
setUpTheBomb]; } Michael David Crawford, Consulting Software Engineer mdcrawf...@gmail.com http://www.warplife.com/mdc/ Available for Software Development in the Portland, Oregon Metropolitan Area. On Wed, May 6, 2015 at 2:54 PM, Ken Thomases k...@codeweavers.com wrote: On May 6, 2015, at 4:40 PM

static analyzers says I'm leaking, I _think_ I'm not

2015-05-06 Thread Michael David Crawford
be taking ownership of it with alloc/initWithGrid. (initWithGrid doesn't do a cyclic retain.) Thanks, Mike Michael David Crawford, Consulting Software Engineer mdcrawf...@gmail.com http://www.warplife.com/mdc/ Available for Software Development in the Portland, Oregon Metropolitan Area

Re: static analyzers says I'm leaking, I _think_ I'm not

2015-05-06 Thread Michael David Crawford
, client code turns the cycler on and off, adjusts its speed and so on. My code might be easier to maintain if the grid exposed an interface to do all that. Michael David Crawford, Consulting Software Engineer mdcrawf...@gmail.com http://www.warplife.com/mdc/ Available for Software Development

Re: static analyzers says I'm leaking, I _think_ I'm not

2015-05-06 Thread Michael David Crawford
This is 6.2. I speculated a different diagnostic was a bug; were it correct, I would have seen that same diagnostic on some other code. I'll file a radar with a minimal test case if you'd like me to. I'll download 6.3.1 right now. Michael David Crawford, Consulting Software Engineer mdcrawf

malloc(0) returns a pointer, not NULL

2015-05-05 Thread Michael David Crawford
= malloc( bytes ); Just thought you'd like to know, Mike Michael David Crawford, Consulting Software Engineer mdcrawf...@gmail.com http://www.warplife.com/mdc/ Available for Software Development in the Portland, Oregon Metropolitan Area. ___ Cocoa-dev

-[NSMutableSet randomObject]

2010-05-25 Thread Michael A. Crawford
I'd like to extend Apple implementation of NSMutableSet to include a randomObject method. The purpose of this method is self-explanatory and its potential use is I'm sure obvious to most of you. For my first idea I thought about simply adding a category to NSMutableSet but any obvious

Re: -[NSMutableSet randomObject]

2010-05-25 Thread Michael A. Crawford
, Michael A. Crawford wrote: I'd like to extend Apple implementation of NSMutableSet to include a randomObject method. The purpose of this method is self-explanatory and its potential use is I'm sure obvious to most of you. For my first idea I thought about simply adding a category

Are there any tools or techniques for detecting / debugging retain-cycles?

2010-05-05 Thread Michael A. Crawford
-Michael ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription:

Is there a better way to delete all objects in a MOC persistent store?

2010-04-30 Thread Michael A. Crawford
Or, am I forced to iterate through the results of a fetch calling deleteObject for each object found? -Michael ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the

Re: iPhone Programming For OS X Coders?

2010-04-19 Thread Michael A. Crawford
Sorry for chiming in late, Jens. Been busy. I like Cocoa Touch for iPhone OS 3 by Jiva Devoe and The iPhone Developer's Cookbook by Erica Sadun. Both focus specifically on UIKit elements with very little overlap to the desktop. Exceptions are CoreData and NSURLConnect/NSURLRequest. Still

How do I compare two NSDates using NSPredicate Core Data

2010-04-04 Thread Michael A. Crawford
Thus far I've gotten away with using -predicateWithFormat and scalar values. I now need to compare a couple of NSDate instances but am not sure how to code it up with NSPredicate. Consider me a 'visual' learner. -Michael ___ Cocoa-dev mailing list

Need help with scrolling marquee

2010-03-11 Thread Michael A. Crawford
. // // ScrollingMarqueeViewController.m // ScrollingMarquee // // Created by Michael A. Crawford on 3/11/10. // Copyright Crawford Design Engineering, LLC 2010. All rights reserved. // #import QuartzCore/QuartzCore.h #import ScrollingMarqueeViewController.h @implementation ScrollingMarqueeViewController

Re: Need help with scrolling marquee

2010-03-11 Thread Michael A. Crawford
: On 12/03/2010, at 5:23 AM, Michael A. Crawford wrote: - (void)timerFireMethod:(NSTimer*)theTimer { #if 0 // Here I was using a periodic timer to animate the scroll. I noticed that // the animation wasn't smooth and then remembered that CA is supposed to do // the animating

Re: Need help with scrolling marquee

2010-03-11 Thread Michael A. Crawford
, 2010, at 4:58 PM, Eric E. Dolecki wrote: Isn't there a truncation property that handles this for a UILabel? On Thu, Mar 11, 2010 at 4:53 PM, Graham Cox graham@bigpond.com wrote: On 12/03/2010, at 5:23 AM, Michael A. Crawford wrote: - (void)timerFireMethod:(NSTimer*)theTimer

Need to duplicate the look feel of the upper-left traffic-lights on a borderless window app

2010-02-24 Thread Michael A. Crawford
I'm creating an app where the client wants to have rounded corners and other oddities on the main window. Therefore I'm thinking I need the main window to be borderless. Unfortunately I also lose the standard look and behavior that the red-yellow-green gumdrop buttons, in the upper-left

Looking for info on anti-piracy and trial-mode techniques for my app . . .

2010-02-24 Thread Michael A. Crawford
I've purchased apps from other developers on this forum, which have mechanisms for limiting functionality until a valid registration code has been provided. I'd like to include this functionality in my own app but don't want to create it from scratch if I don't have to. To that end, I'm

Re: Looking for info on anti-piracy and trial-mode techniques for my app . . .

2010-02-24 Thread Michael A. Crawford
Thanks, Sherm. I'm not a fan either. This is a client request. -Michael On Feb 24, 2010, at 5:00 PM, Sherm Pendley wrote: On Wed, Feb 24, 2010 at 4:54 PM, Michael A. Crawford michaelacrawf...@me.com wrote: I've purchased apps from other developers on this forum, which have mechanisms

Re: Looking for info on anti-piracy and trial-mode techniques for my app . . .

2010-02-24 Thread Michael A. Crawford
Thanks for the pointer to the more appropriate group. I'll go check it out. -Michael On Feb 24, 2010, at 5:37 PM, jonat...@mugginsoft.com wrote: Not really a Cocoa question... Don't know where else you'd ask it though. The macsb group has this topic discussed to death.

Re: Looking for info on anti-piracy and trial-mode techniques for my app . . .

2010-02-24 Thread Michael A. Crawford
to do that, in fact, but I hope this at least gives you some ideas. Not really a Cocoa question... Don't know where else you'd ask it though. Paul Sanders. http://www.alpinesoft.co.uk - Original Message - From: Michael A. Crawford michaelacrawf...@me.com To: Cocoa-dev

Copying CLHeading objects does not appear to work . . .

2010-02-11 Thread Michael A. Crawford
Here is the code (pertinent snippets) @interface BlueSLRGPS () @property (copy) CLHeading* currentHeading; @property (copy) CLLocation* currentLocation; @property (retain) CLLocation* previousLocation; - (NSString*)compassPointForHeading:(double)heading; -

Re: Copying CLHeading objects does not appear to work . . .

2010-02-11 Thread Michael A. Crawford
It the copy failing because these are read-only properties? -Michael On Feb 11, 2010, at 11:29 AM, Michael A. Crawford wrote: Here is the code (pertinent snippets) @interface BlueSLRGPS () @property (copy) CLHeading* currentHeading; @property (copy) CLLocation* currentLocation; @property

How can I populate certain table-columns with image cells while using NSArrayController?

2010-01-15 Thread Michael A. Crawford
Consider an NSTableView instance populated with data from an NSArrayController, which is bound to a content array containing instances of class foo. All of class foo's properties return BOOL and NSString values. The two BOOL values need to be shown in the table using icon images. Should the

Re: How can I populate certain table-columns with image cells while using NSArrayController?

2010-01-15 Thread Michael A. Crawford
Thank you for the article. -Michael On Jan 15, 2010, at 12:54 PM, Arun wrote: You can find a beautiful article on the same @ http://www.martinkahr.com/2007/05/04/nscell-image-and-text-sample/ HTH -Arun KA On Fri, Jan 15, 2010 at 11:20 PM, Michael A. Crawford michaelacrawf...@me.com

Need some help with custom views . . .

2010-01-10 Thread Michael A. Crawford
I'm trying to create come custom views with attributes exhibited in this screen shot snippet: files.me.com/michaelacrawford/iy4bhj I'm looking for suggestions on how I might accomplish some of these effects. Here are some ideas I've come up with on my own, some of which I have already tried

Looking tutorials or blogs on NSOutlineView NSTreeController . . .

2010-01-06 Thread Michael A. Crawford
Never used this view/control before. I'm looking for resources to help me shorten the curve, especially when used with the NSTreeController. I'm also considering switching my model to CoreData. Currently I have some code working that uses neither CoreData nor NSTreeController and I wondering

Re: Looking tutorials or blogs on NSOutlineView NSTreeController . . .

2010-01-06 Thread Michael A. Crawford
Thanks for the pointers (Ken Rob). -Michael On Jan 6, 2010, at 5:52 PM, Michael A. Crawford wrote: Never used this view/control before. I'm looking for resources to help me shorten the curve, especially when used with the NSTreeController. I'm also considering switching my model

NIB/XIB created objects, should they be released in -[dealloc]?

2009-11-23 Thread Michael A. Crawford
I wouldn't have though so. I would assume that since I did not allocate them directly, I don't need to clean them up. I've just inspected some code that declares properties that are marked as outlets and whose member variables are allocated in the NIB file. When the class' dealloc method is

Looking for Sample code: WWDC2007 - Session 201 - Building Animated Cocoa User Interfaces

2009-09-27 Thread Michael A. Crawford
I believe the demos were called CocoaShuffle and Layer-Backed OpenGL View. Can these be downloaded somewhere? -Michael ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list.

Re: Not receiving mouseDown/Up events in borderless window . . . (Solved!)

2009-09-17 Thread Michael A. Crawford
sendEvent:event] was quickly followed by a call to -[mouseUp:event]. On Leopard it is not. -Michael On Sep 14, 2009, at 2:47 PM, Michael A. Crawford wrote: Ok. I went back and did some experimenting and it doesn't look good. First of all the ignoresMouseEvents property was already set

Re: Not receiving mouseDown/Up events in borderless window . . .

2009-09-14 Thread Michael A. Crawford
:(NSEvent*)event { [self.delegate mouseUp:event onImageView:self]; } @end -Michael On Sep 12, 2009, at 10:36 PM, Ken Thomases wrote: On Sep 12, 2009, at 9:12 PM, Michael A. Crawford wrote: I have created a borderless window that is used to display a custom graphic, which need to respond

Not receiving mouseDown/Up events in borderless window . . .

2009-09-12 Thread Michael A. Crawford
I have created a borderless window that is used to display a custom graphic, which need to respond to the enter key or a mouse click by closing itself. Seems straightforward enough. It works great on Snow Leopard (10.6) but I do not get the mouse events on Leopard (10.5). Hitting the

Re: Not receiving mouseDown/Up events in borderless window . . .

2009-09-12 Thread Michael A. Crawford
. -Michael On Sep 12, 2009, at 10:36 PM, Ken Thomases wrote: On Sep 12, 2009, at 9:12 PM, Michael A. Crawford wrote: I have created a borderless window that is used to display a custom graphic, which need to respond to the enter key or a mouse click by closing itself. Seems straightforward enough

  1   2   >