说明.rtf 1.8 KB

12345678910111213141516171819202122232425262728293031323334
  1. {\rtf1\ansi\ansicpg936\cocoartf1504\cocoasubrtf810
  2. {\fonttbl\f0\fmodern\fcharset0 CourierNewPSMT;\f1\fnil\fcharset134 PingFangSC-Regular;}
  3. {\colortbl;\red255\green255\blue255;\red0\green0\blue255;\red0\green0\blue0;\red43\green131\blue159;
  4. \red0\green0\blue0;\red0\green128\blue0;}
  5. {\*\expandedcolortbl;;\csgenericrgb\c0\c0\c100000;\csgenericrgb\c0\c0\c114;\csgenericrgb\c16900\c51200\c62500;
  6. \csgenericrgb\c0\c0\c0;\csgenericrgb\c0\c50200\c0;}
  7. \margl1440\margr1440\vieww9000\viewh8400\viewkind0
  8. \deftab624
  9. \pard\tx624\pardeftab624\pardirnatural\partightenfactor0
  10. \f0\fs26 \cf2 \CocoaLigature0 var\cf3 sideViewController:\cf4 YRSideViewController\cf3 !\
  11. \
  12. \cf4 sideViewController\cf3 = \cf4 YRSideViewController\cf3 ()\
  13. \
  14. \cf4 sideViewController\cf3 .\cf4 rootViewController\cf3 = \cf4 navController\cf3 ;\
  15. \
  16. \
  17. \cf4 sideViewController\cf3 .\cf4 leftViewController\cf3 = \cf4 leftMenu\cf3 ;\
  18. \cf4 sideViewController\cf3 .\cf4 leftViewShowWidth\cf3 =\cf4 ScreenWidth\cf3 -\cf5 80\cf3 ;\
  19. \cf4 sideViewController\cf3 .\cf4 delegate\cf3 = \cf2 self\cf3 ;\
  20. \cf4 sideViewController\cf3 .\cf4 needSwipeShowMenu\cf3 =\cf2 true\cf3 ;\cf6 //
  21. \f1 \'c4\'ac\'c8\'cf\'bf\'aa\'c6\'f4\'b5\'c4\'bf\'c9\'bb\'ac\'b6\'af\'d5\'b9\'ca\'be
  22. \f0 \
  23. \cf3 \cf6 //
  24. \f1 \'b6\'af\'bb\'ad\'d0\'a7\'b9\'fb\'bf\'c9\'d2\'d4\'b1\'bb\'d7\'d4\'bc\'ba\'d7\'d4\'b6\'a8\'d2\'e5\'a3\'ac\'be\'df\'cc\'e5\'c7\'eb\'bf\'b4
  25. \f0 api\
  26. \cf3 \
  27. \cf6 // sideViewController.rootViewMoveBlock = \{(rootView,orginFrame,xoffset) -> Void in\
  28. \cf3 \cf6 // rootView?.frame=CGRect(x: xoffset, y: orginFrame.origin.y, width: orginFrame.size.width, height: orginFrame.size.height);\
  29. \cf3 \cf6 // \}\
  30. \cf3 \
  31. \
  32. \
  33. \cf4 window\cf3 ?.\cf4 rootViewController\cf3 = \cf4 sideViewController\cf3 ;}