• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
RE: Swapping isa's (was Re: Hex Edit controls (resknife))
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Swapping isa's (was Re: Hex Edit controls (resknife))


  • Subject: RE: Swapping isa's (was Re: Hex Edit controls (resknife))
  • From: Jeff Laing <email@hidden>
  • Date: Thu, 2 Dec 2004 09:28:44 +1100

> On Nov 30, 2004, at 2:51 PM, Jeff Laing wrote:
> > There is no auditabiliy whatsoever, and those of us who actually *live*
by
> > code review will tell you that thats a recipe for disaster,
> > always, no exceptions.
>
> You can use a unit testing framework to create unit tests that verify
> your nib gets wired up properly on load.  This is one way of making
> sure that as you work, everything gets set up the way you want it (if
> you write the tests first) and stays that way as you modify things.

Without wanting to sound too negative, especially since the initial problem
seems to be with my machine and not with Interface Builder, you may well
have missed the point.

All thats happened is that you've pushed the audit capability out into the
test suite - I'd have to eyeball the test suite to ensure that it hit every
nib connection that needed testing, and I don't have any provable way of
knowing that my test coverage is complete. Whats out there in the nib is
opaque, you can't easily (1) read it directly to determine what tests are
necessary.

In effect, you'd have to replicate in code all the connections you expect to
be present in the nib, and if you've done that, why not just create them
with code in the first place and be done with it?

Jeff.

(1) I *am* going to look at what nibtool -a can tell me, and I suspect that
it may well fit the bill.
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Swapping isa's (was Re: Hex Edit controls (resknife))
      • From: Sherm Pendley <email@hidden>
    • Re: Swapping isa's (was Re: Hex Edit controls (resknife))
      • From: Chris Hanson <email@hidden>
  • Prev by Date: Re: Swapping isa's (was Re: Hex Edit controls (resknife))
  • Next by Date: Re: Strangeness when moving data through an array.
  • Previous by thread: Re: Swapping isa's (was Re: Hex Edit controls (resknife))
  • Next by thread: Re: Swapping isa's (was Re: Hex Edit controls (resknife))
  • Index(es):
    • Date
    • Thread