• 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: Checking if an EC is a child editing context
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Checking if an EC is a child editing context


  • Subject: Re: Checking if an EC is a child editing context
  • From: Mike Schrag <email@hidden>
  • Date: Wed, 17 Mar 2010 16:56:29 -0400

there's only one time i've ever needed to know and that was to do something sketchy (which is in wonder -- "we're sketchy so you don't have to be")

ms

On Mar 17, 2010, at 4:54 PM, Miguel Arroz wrote:

> Hi!
>
>  That did the trick, thanks!
>
>  (Strange as there's no isChild() method in EOEC... maybe we can add one to ERXEC)
>
>  Yours
>
> Miguel Arroz
>
> On 2010/03/17, at 19:25, David LeBer wrote:
>
>>
>> On 2010-03-17, at 3:12 PM, Miguel Arroz wrote:
>>
>>> Hi!
>>>
>>> How can I check if some EC is a child EC in a reliable way?
>>>
>>> Yours
>>
>> I think this should work:
>>
>> 	(myEc.parentObjectStore() instanceof EOEditingContext)
>>
>>
>> ;david
>>
>> --
>> David LeBer
>> Codeferous Software
>> 'co-def-er-ous' adj. Literally 'code-bearing'
>> site: 	http://codeferous.com
>> blog: 	http://davidleber.net
>> profile:	http://www.linkedin.com/in/davidleber
>> twitter:	http://twitter.com/rebeld
>> --
>> Toronto Area Cocoa / WebObjects developers group:
>> http://tacow.org
>>
>>
>>
>>
>
>
> _______________________________________________
> 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


 _______________________________________________
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

References: 
 >Checking if an EC is a child editing context (From: Miguel Arroz <email@hidden>)
 >Re: Checking if an EC is a child editing context (From: David LeBer <email@hidden>)
 >Re: Checking if an EC is a child editing context (From: Miguel Arroz <email@hidden>)

  • Prev by Date: Re: Checking if an EC is a child editing context
  • Next by Date: Re: http://maven.wocommunity.org
  • Previous by thread: Re: Checking if an EC is a child editing context
  • Next by thread: Problem with WebObjects in Jboss 5.1
  • Index(es):
    • Date
    • Thread