• 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
Bug in NSArray et. al. ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bug in NSArray et. al. ?


  • Subject: Bug in NSArray et. al. ?
  • From: Markus Ruggiero <email@hidden>
  • Date: Mon, 14 May 2018 10:54:56 +0200

NSArray implements java.util.List
This interface specifies the method boolean isEmpty() and NSArray correclty
implements it.

Unfortunately key-value-coding does not know about this. When using isEmpty in
a binding (eg. WOConditional) the key "isEmpty" is not trapped but passed on to
all the objects.

isEmpty should be trapped in NSArray.java in the same way count() is handled.

What do you think?

---markus---


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Bug in NSArray et. al. ?
      • From: Johann Werner <email@hidden>
  • Prev by Date: Re: AJaxFlexibleFileUpload
  • Next by Date: Re: Bug in NSArray et. al. ?
  • Previous by thread: Re: AJaxFlexibleFileUpload
  • Next by thread: Re: Bug in NSArray et. al. ?
  • Index(es):
    • Date
    • Thread