Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
RE: Reading from Info.plist (CFBundleVersion)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Reading from Info.plist (CFBundleVersion)



jl,
 
For what reasons? If it is only for UI responsiveness, I call the function either like this, for instance,
 
window.setTimeout('document.getElementById("version").innerHTML = getWidgetVersion();', 0);
 
or I call it within a callback (XMLHttpRequest-onload, for instance), which is already decoupled from the UI code.
 
Otherwise I have to split every part in the code where the data is needed into a "get the info" and "handle the info" part...

Are there any other reasons to avoid syncronous calls to widget.system?
 
Thank you!




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

This email sent to email@hidden

References: 
 >Reading from Info.plist (CFBundleVersion) (From: Dirty Harry <email@hidden>)
 >Re: Reading from Info.plist (CFBundleVersion) (From: John Louch <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.