• 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: Switch Component Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Switch Component Question


  • Subject: Re: Switch Component Question
  • From: Johnny Miller <email@hidden>
  • Date: Thu, 21 Jun 2012 14:29:11 -1000

I believe I've watched it before but now that I have this example to put it into context (ha ha) it's definitely worth a refresher. 

Thanks,

Johnny Miller
Kahalawai Media Corp.
www.kahalawai.com



On Jun 21, 2012, at 2:22 PM, Ramsey Gurley wrote:

Synchronization makes a big difference in cpu and memory usage. If you need a better grasp of component synchronization, you can get some tips in Mark Ritchie's presentation from 2009. He hits synchronization around 40 minutes in:

http://www.wocommunity.org/podcasts/wowodc/east09/WOWODC09E-Components.mov

Ramsey

On Jun 21, 2012, at 4:58 PM, Johnny Miller wrote:

Thank you, oh wise one.

I've updated the component to something like this:

public boolean synchronizesVariablesWithBindings() {
return false;
}

@Override
public MESDriver object() {
if(_driver == null) {
_driver = (MESDriver)valueForBinding("object");
}
return _driver;
}

And it appears to be all in order now.

Thanks a lot,

Johnny Miller
Kahalawai Media Corp.
www.kahalawai.com


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: 
 >Switch Component Question (From: Johnny Miller <email@hidden>)
 >Re: Switch Component Question (From: Amedeo Mantica <email@hidden>)
 >Re: Switch Component Question (From: Johnny Miller <email@hidden>)
 >Re: Switch Component Question (From: Chuck Hill <email@hidden>)
 >Re: Switch Component Question (From: Johnny Miller <email@hidden>)
 >Re: Switch Component Question (From: Chuck Hill <email@hidden>)
 >Re: Switch Component Question (From: Johnny Miller <email@hidden>)
 >Re: Switch Component Question (From: Ramsey Gurley <email@hidden>)

  • Prev by Date: Re: Switch Component Question
  • Next by Date: Re: Switch Component Question
  • Previous by thread: Re: Switch Component Question
  • Next by thread: Re: Switch Component Question
  • Index(es):
    • Date
    • Thread