⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 x1840.html

📁 set for Swarm2.1是圣菲研究院的开发人员对Swarm的特性及其使用描述的最为完备的指南性文档。从这里可以获得最细致的平台说明。
💻 HTML
字号:
<HTML><HEAD><TITLE>Beta to 1.0.0</TITLE><METANAME="GENERATOR"CONTENT="Modular DocBook HTML Stylesheet Version 1.53"><LINKREL="HOME"TITLE="Documentation Set for Swarm 2.1.1"HREF="set.html"><LINKREL="UP"TITLE="Swarm Changes and Compatibility"HREF="swarm.compatibility.sgml.preface.html"><LINKREL="PREVIOUS"TITLE="Porting from 1.0.0 to 1.0.1"HREF="x1830.html"><LINKREL="NEXT"TITLE="Defobj Library"HREF="swarm.defobj.sgml.reference.html"></HEAD><BODYCLASS="SECT1"BGCOLOR="#FFFFFF"TEXT="#000000"LINK="#0000FF"VLINK="#840084"ALINK="#0000FF"><DIVCLASS="NAVHEADER"><TABLEWIDTH="100%"BORDER="0"CELLPADDING="0"CELLSPACING="0"><TR><THCOLSPAN="3"ALIGN="center">Documentation Set for Swarm 2.1.1</TH></TR><TR><TDWIDTH="10%"ALIGN="left"VALIGN="bottom"><AHREF="x1830.html">Prev</A></TD><TDWIDTH="80%"ALIGN="center"VALIGN="bottom">Swarm Changes and Compatibility</TD><TDWIDTH="10%"ALIGN="right"VALIGN="bottom"><AHREF="swarm.defobj.sgml.reference.html">Next</A></TD></TR></TABLE><HRALIGN="LEFT"WIDTH="100%"></DIV><DIVCLASS="SECT1"><H1CLASS="SECT1"><ANAME="AEN1840">11. Beta to 1.0.0</A></H1><P>As can be expected with any software package, it is sometimes      unavoidable that changes in the functionality of the package will      cause incompatibilities with earlier versions. This is especially true      when a package is a "proof-of-principle" package like Swarm.</P><P>We've made an attempt to compile all the problems a user might have      moving to the new release and put them here. Please read this thoroughly      to decide what you might need to do to your app to get it to work with      the new release.      <P></P><OLTYPE="1"><LI><P>The biggest and most pervasive problems will            be due to the new <ICLASS="EMPHASIS">random</I>            library. Notes on how to deal with this problem are            provided in the <AHREF="swarm.random.sgml.reference.html">documentation for the            <ICLASS="EMPHASIS">random</I>            library</A>.</P></LI><LI><P>A rather benign problem results from the repackaging            of the <ICLASS="EMPHASIS">swarmobject</I> library. The            interface to this library was brought into sync with the            <ICLASS="EMPHASIS">defobj</I>and            <ICLASS="EMPHASIS">collections</I> libraries. (The rest of            the errant libraries will follow in a later release.) The            solutions to the problems associated with this interface            change are detailed in the <AHREF="swarm.objectbase.sgml.reference.html">documentation for            the <ICLASS="EMPHASIS">objectbase</I> library</A>.</P></LI><LI><P>There are a couple rather benign            incompatibility introduced with 1.0 in the new            <ICLASS="EMPHASIS">activity</I> library. Many parts of            <ICLASS="EMPHASIS">activity</I> have changed.  But, for the            most part, everything works exactly the same. For details            on the incompatibilities please see the <AHREF="swarm.activity.sgml.reference.html">documentation for            the <ICLASS="EMPHASIS">activity</I> library</A>. Briefly,            the incompatibilities are:            <P></P><UL><LI><P>The high-level structural changes in the                  activity library has led to the renaming of the                  variable                  <TABLEBORDER="0"BGCOLOR="#E0E0E0"WIDTH="90%"><TR><TD><PRECLASS="PROGRAMLISTING">swarmActivity</PRE></TD></TR></TABLE>. It                  is recommended that <TABLEBORDER="0"BGCOLOR="#E0E0E0"WIDTH="90%"><TR><TD><PRECLASS="PROGRAMLISTING">[self getActivity]</PRE></TD></TR></TABLE>                  be used in its place                  (if your app even used this variable, it was                  probably in the                  <ICLASS="EMPHASIS">BatchSwarm</I>). This is a new                  message and it takes the place of the                  <TABLEBORDER="0"BGCOLOR="#E0E0E0"WIDTH="90%"><TR><TD><PRECLASS="PROGRAMLISTING">getSwarmActivity</PRE></TD></TR></TABLE>                  message.  But, the obsolete message has been left in                  place for backwards compatibility.</P></LI><LI><P>The                  <TABLEBORDER="0"BGCOLOR="#E0E0E0"WIDTH="90%"><TR><TD><PRECLASS="PROGRAMLISTING">getCurrentActivity()</PRE></TD></TR></TABLE>                  macro is gone. If you used the old                  getCurrentActivity() in your code, it won't work                  now. Use of this macro was not very widespread,                  since its main use is to access activity library                  internals. One of the other macros should be                  sufficient for any application.</P></LI></UL>                      </P></LI><LI><P> The functionality of            <TTCLASS="CLASSNAME">Zone</TT>s has been greatly improved and            expanded upon. Most of the aspects of the idea behind            <TTCLASS="CLASSNAME">Zone</TT>s are now in place.  However,            there is one incompatibility that must be noted in case            your code is fairly old. The dropFrom: message has been            removed. Even though it was still present in recent            releases, its behavior was identical to drop. Any existing            usage should be replaced by a simple drop message without            any zone argument. SwarmObject subclasses are now            restricted from accessing the zone that was once contained            in an instance variable; the message getZone must be used            instead.</P></LI></OL></P></DIV><DIVCLASS="NAVFOOTER"><HRALIGN="LEFT"WIDTH="100%"><TABLEWIDTH="100%"BORDER="0"CELLPADDING="0"CELLSPACING="0"><TR><TDWIDTH="33%"ALIGN="left"VALIGN="top"><AHREF="x1830.html">Prev</A></TD><TDWIDTH="34%"ALIGN="center"VALIGN="top"><AHREF="set.html">Home</A></TD><TDWIDTH="33%"ALIGN="right"VALIGN="top"><AHREF="swarm.defobj.sgml.reference.html">Next</A></TD></TR><TR><TDWIDTH="33%"ALIGN="left"VALIGN="top">Porting from 1.0.0 to 1.0.1</TD><TDWIDTH="34%"ALIGN="center"VALIGN="top"><AHREF="swarm.compatibility.sgml.preface.html">Up</A></TD><TDWIDTH="33%"ALIGN="right"VALIGN="top">Defobj Library</TD></TR></TABLE></DIV></BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -