├── .gitattributes ├── .github ├── FUNDING.yml └── workflows │ └── deploy.yml ├── LICENSE ├── README.md ├── contents ├── .vscode │ └── settings.json ├── BlockChain │ └── DeFi-PDN.md ├── DataBase │ └── select_database.md ├── Go │ ├── LRU_LFU_interview.md │ ├── T_Salon_share.pdf │ ├── T_Salon_share_with_comments.pdf │ ├── go_channel.md │ ├── go_command.md │ ├── go_interface.md │ ├── go_map_bench_test │ │ ├── cmap │ │ │ ├── base.go │ │ │ ├── bucket.go │ │ │ ├── bucket_test.go │ │ │ ├── cmap.go │ │ │ ├── cmap_benchmark_test.go │ │ │ ├── cmap_test.go │ │ │ ├── errors.go │ │ │ ├── pair.go │ │ │ ├── pair_test.go │ │ │ ├── redistributor.go │ │ │ ├── segment.go │ │ │ ├── segment_test.go │ │ │ └── utils.go │ │ └── concurrent-map │ │ │ ├── concurrent_map.go │ │ │ ├── concurrent_map_bench_test.go │ │ │ └── concurrent_map_test.go │ ├── go_map_chapter_one.md │ ├── go_map_chapter_two.md │ ├── go_reflection.md │ ├── go_s2_CellID.md │ ├── go_s2_De_Bruijn.md │ ├── go_s2_Hilbert_neighbor.md │ ├── go_s2_fast_find.md │ ├── go_s2_lowest_common_ancestor.md │ ├── go_s2_regionCoverer.md │ ├── go_slice.md │ ├── go_spatial_search.md │ ├── load_balancing_concurrent_map.md │ ├── n-dimensional_space_and_n-dimensional_space-time.md │ ├── new_gopher_suggest.md │ └── new_gopher_tips.md ├── JavaScript │ ├── JSConf China 2017 Day One — JavaScript Change The World.md │ ├── javascript_scope.md │ ├── jsconf_china_2017_final.md │ ├── lost_in_javascript.md │ └── 揭开 this & that 之迷.md ├── Machine_Learning │ ├── AI_For_Everyone_Week1.md │ ├── AI_For_Everyone_Week2.md │ ├── AI_For_Everyone_Week3.md │ ├── AI_For_Everyone_Week4.md │ ├── AI_For_Everyone_week1-quiz.png │ ├── AI_For_Everyone_week2-quiz.png │ ├── AI_For_Everyone_week3-quiz.png │ ├── AI_For_Everyone_week4-quiz.png │ ├── Advice_for_Applying_Machine_Learning.ipynb │ ├── Anomaly_Detection.ipynb │ ├── Application_Photo_OCR.ipynb │ ├── Backpropagation_in_Practice.ipynb │ ├── Computing_Parameters_Analytically.ipynb │ ├── Dimensionality_Reduction.ipynb │ ├── Gradient_descent.ipynb │ ├── Large_Scale_Machine_Learning.ipynb │ ├── Logistic_Regression.ipynb │ ├── Machine_Learning_System_Design.ipynb │ ├── Multivariate_Linear_Regression.ipynb │ ├── Neural_Networks_Learning.ipynb │ ├── Neural_Networks_Representation.ipynb │ ├── Octave_Matlab_Tutorial.ipynb │ ├── Recommender_Systems.ipynb │ ├── Regularization.ipynb │ ├── Support_Vector_Machines.ipynb │ ├── Unsupervised_Learning.ipynb │ ├── What_is_Machine_Learning.md │ └── contents.md ├── Protocol │ ├── Advance_TCP.md │ ├── FlatBuffers-encode.md │ ├── FlatBuffers-flexBuffers.md │ ├── FlatBuffers-schema.md │ ├── HTTP.md │ ├── HTTPS-TLS1.2_handshake.md │ ├── HTTPS-TLS1.3_handshake.md │ ├── HTTPS-asymmetric-encryption.md │ ├── HTTPS-begin.md │ ├── HTTPS-cipherkey.md │ ├── HTTPS-cryptography-overview.md │ ├── HTTPS-digital-certificate.md │ ├── HTTPS-digital-signature.md │ ├── HTTPS-extensions.md │ ├── HTTPS-key-cipher.md │ ├── HTTPS-message-authentication-code.md │ ├── HTTPS-one-way-hash.md │ ├── HTTPS-random-number.md │ ├── HTTPS-record-layer.md │ ├── HTTPS-related-terms.md │ ├── HTTPS-symmetric-encryption.md │ ├── HTTP_2-Considerations.md │ ├── HTTP_2-Frequently-Asked-Questions.md │ ├── HTTP_2-HTTP-Frames-Definitions.md │ ├── HTTP_2-HTTP-Frames.md │ ├── HTTP_2-HTTP-Semantics.md │ ├── HTTP_2-begin.md │ ├── HTTP_2_HPACK-Example.md │ ├── HTTP_2_Header-Compression.md │ ├── HTTP_2_RFC7540.md │ ├── HTTP_2_RFC7541.md │ ├── Protocol-buffers-decode.md │ ├── Protocol-buffers-encode.md │ ├── QUIC_start.md │ ├── TCP_IP.md │ ├── TLS1.3_start.md │ ├── TLS_1.3_0-RTT.md │ ├── TLS_1.3_Alert_Protocol.md │ ├── TLS_1.3_Backward_Compatibility.md │ ├── TLS_1.3_Compliance_Requirements.md │ ├── TLS_1.3_Cryptographic_Computations.md │ ├── TLS_1.3_Handshake_Protocol.md │ ├── TLS_1.3_Implementation_Notes.md │ ├── TLS_1.3_Introduction.md │ ├── TLS_1.3_RFC8446.md │ ├── TLS_1.3_Record_Protocol.md │ ├── TLS_1.3_Security_Properties.md │ ├── TLS_ALPN.md │ ├── TLS_Heartbeat.md │ └── WebSocket.md ├── TimeElapse │ ├── 2017.md │ ├── 2018.md │ ├── 2019.md │ ├── 2020.md │ ├── 2021.md │ └── start.md ├── Vue │ └── 大话大前端时代(一) —— Vue 与 iOS 的组件化.md ├── iOS │ ├── Aspect │ │ └── ios_aspect.md │ ├── AutoLayoutProfiling-master │ │ ├── .gitignore │ │ ├── AutoLayoutProfiling.xcodeproj │ │ │ └── project.pbxproj │ │ ├── AutoLayoutProfiling │ │ │ ├── ALPAppDelegate.h │ │ │ ├── ALPAppDelegate.m │ │ │ ├── ALPAutoLayoutTypes.h │ │ │ ├── ALPAutoLayoutView.h │ │ │ ├── ALPAutoLayoutView.m │ │ │ ├── ALPNonAutoLayoutView.h │ │ │ ├── ALPNonAutoLayoutView.m │ │ │ ├── ALPRootViewController.h │ │ │ ├── ALPRootViewController.m │ │ │ ├── ALPWeexLayoutView.h │ │ │ ├── ALPWeexLayoutView.m │ │ │ ├── ALPYogaLayoutView.h │ │ │ ├── ALPYogaLayoutView.m │ │ │ ├── AutoLayoutProfiling-Info.plist │ │ │ ├── AutoLayoutProfiling-Prefix.pch │ │ │ ├── Default-568h@2x.png │ │ │ ├── Default.png │ │ │ ├── Default@2x.png │ │ │ ├── UIView+Helpers.h │ │ │ ├── UIView+Helpers.m │ │ │ ├── en.lproj │ │ │ │ └── InfoPlist.strings │ │ │ └── main.m │ │ ├── Podfile │ │ ├── Podfile.lock │ │ └── README.md │ ├── Block │ │ ├── ios_block.md │ │ └── ios_block_retain_circle.md │ ├── CallBackHell │ │ ├── iOS_Callback_Hell_Promisekit.md │ │ └── iOS_Callback_Hell_Swift.md │ ├── CircleSlider-master │ │ ├── CircleSlider.xcodeproj │ │ │ ├── project.pbxproj │ │ │ ├── project.xcworkspace │ │ │ │ ├── contents.xcworkspacedata │ │ │ │ └── xcuserdata │ │ │ │ │ ├── YDZ.xcuserdatad │ │ │ │ │ └── UserInterfaceState.xcuserstate │ │ │ │ │ └── yudezhi.xcuserdatad │ │ │ │ │ └── UserInterfaceState.xcuserstate │ │ │ └── xcuserdata │ │ │ │ ├── YDZ.xcuserdatad │ │ │ │ └── xcschemes │ │ │ │ │ ├── CircleSlider.xcscheme │ │ │ │ │ └── xcschememanagement.plist │ │ │ │ └── yudezhi.xcuserdatad │ │ │ │ └── xcschemes │ │ │ │ ├── CircleSlider.xcscheme │ │ │ │ └── xcschememanagement.plist │ │ └── CircleSlider │ │ │ ├── AppDelegate.h │ │ │ ├── AppDelegate.m │ │ │ ├── Assets.xcassets │ │ │ └── AppIcon.appiconset │ │ │ │ └── Contents.json │ │ │ ├── Base.lproj │ │ │ ├── LaunchScreen.storyboard │ │ │ └── Main.storyboard │ │ │ ├── Info.plist │ │ │ ├── UICircleSlider.h │ │ │ ├── UICircleSlider.m │ │ │ ├── ViewController.h │ │ │ ├── ViewController.m │ │ │ └── main.m │ ├── Cordova │ │ ├── Remote_debug.md │ │ └── iOS Hybrid 框架 ——PhoneGap.md │ ├── CoreData │ │ └── iOS_Core_Data.md │ ├── Ghost │ │ ├── ghost_build.md │ │ ├── ghost_fast.md │ │ ├── ghost_feature.md │ │ └── ghost_update.md │ ├── Jekyll │ │ └── Jekyll.md │ ├── Launchpage │ │ └── iOS_launchpage_logo_fly.md │ ├── MultiEnvironmentsSettingDemo-master │ │ ├── Podfile │ │ ├── Podfile.lock │ │ ├── Pods │ │ │ ├── FXForms │ │ │ │ ├── FXForms │ │ │ │ │ ├── FXForms.h │ │ │ │ │ └── FXForms.m │ │ │ │ ├── LICENSE.md │ │ │ │ └── README.md │ │ │ ├── Headers │ │ │ │ ├── Private │ │ │ │ │ └── FXForms │ │ │ │ │ │ └── FXForms.h │ │ │ │ └── Public │ │ │ │ │ └── FXForms │ │ │ │ │ └── FXForms.h │ │ │ ├── Manifest.lock │ │ │ ├── Pods.xcodeproj │ │ │ │ ├── project.pbxproj │ │ │ │ └── xcuserdata │ │ │ │ │ ├── YDZ.xcuserdatad │ │ │ │ │ └── xcschemes │ │ │ │ │ │ ├── FXForms.xcscheme │ │ │ │ │ │ ├── Pods-TestMultiXCConfig.xcscheme │ │ │ │ │ │ └── xcschememanagement.plist │ │ │ │ │ └── zt.xcuserdatad │ │ │ │ │ └── xcschemes │ │ │ │ │ ├── FXForms.xcscheme │ │ │ │ │ ├── Pods-TestMultiXCConfig.xcscheme │ │ │ │ │ └── xcschememanagement.plist │ │ │ └── Target Support Files │ │ │ │ ├── FXForms │ │ │ │ ├── FXForms-dummy.m │ │ │ │ ├── FXForms-prefix.pch │ │ │ │ └── FXForms.xcconfig │ │ │ │ └── Pods-TestMultiXCConfig │ │ │ │ ├── Pods-TestMultiXCConfig-acknowledgements.markdown │ │ │ │ ├── Pods-TestMultiXCConfig-acknowledgements.plist │ │ │ │ ├── Pods-TestMultiXCConfig-dummy.m │ │ │ │ ├── Pods-TestMultiXCConfig-frameworks.sh │ │ │ │ ├── Pods-TestMultiXCConfig-resources.sh │ │ │ │ ├── Pods-TestMultiXCConfig.appstore.xcconfig │ │ │ │ ├── Pods-TestMultiXCConfig.debug.xcconfig │ │ │ │ ├── Pods-TestMultiXCConfig.enterprise.xcconfig │ │ │ │ ├── Pods-TestMultiXCConfig.jiehe.xcconfig │ │ │ │ └── Pods-TestMultiXCConfig.release.xcconfig │ │ ├── README.md │ │ ├── TestMultiXCConfig.xcodeproj │ │ │ ├── project.pbxproj │ │ │ ├── project.xcworkspace │ │ │ │ ├── contents.xcworkspacedata │ │ │ │ └── xcuserdata │ │ │ │ │ ├── YDZ.xcuserdatad │ │ │ │ │ └── UserInterfaceState.xcuserstate │ │ │ │ │ └── zt.xcuserdatad │ │ │ │ │ └── UserInterfaceState.xcuserstate │ │ │ └── xcuserdata │ │ │ │ ├── YDZ.xcuserdatad │ │ │ │ └── xcschemes │ │ │ │ │ ├── TestMultiXCConfig.xcscheme │ │ │ │ │ └── xcschememanagement.plist │ │ │ │ └── zt.xcuserdatad │ │ │ │ └── xcschemes │ │ │ │ ├── Appstore.xcscheme │ │ │ │ ├── Debug.xcscheme │ │ │ │ ├── Enterprise.xcscheme │ │ │ │ ├── JieHe.xcscheme │ │ │ │ └── xcschememanagement.plist │ │ ├── TestMultiXCConfig.xcworkspace │ │ │ ├── contents.xcworkspacedata │ │ │ └── xcuserdata │ │ │ │ ├── YDZ.xcuserdatad │ │ │ │ └── UserInterfaceState.xcuserstate │ │ │ │ └── zt.xcuserdatad │ │ │ │ └── UserInterfaceState.xcuserstate │ │ └── TestMultiXCConfig │ │ │ ├── AppDelegate.h │ │ │ ├── AppDelegate.m │ │ │ ├── Assets.xcassets │ │ │ ├── AppStore.appiconset │ │ │ │ ├── Appstore57@.png │ │ │ │ ├── Appstore57@2x.png │ │ │ │ ├── Appstore@2x.png │ │ │ │ ├── Appstore@3x.png │ │ │ │ └── Contents.json │ │ │ ├── Contents.json │ │ │ ├── Debug.appiconset │ │ │ │ ├── Contents.json │ │ │ │ ├── Debug57.png │ │ │ │ ├── Debug57@2x.png │ │ │ │ ├── Debug@2x.png │ │ │ │ └── Debug@3x.png │ │ │ ├── Enterprise.appiconset │ │ │ │ ├── Contents.json │ │ │ │ ├── Enterprise57@.png │ │ │ │ ├── Enterprise57@2x.png │ │ │ │ ├── Enterprise@2x.png │ │ │ │ └── Enterprise@3x.png │ │ │ └── JieHe.appiconset │ │ │ │ ├── Contents.json │ │ │ │ ├── JieHe57@.png │ │ │ │ ├── JieHe57@2x.png │ │ │ │ ├── JieHe@2x.png │ │ │ │ └── JieHe@3x.png │ │ │ ├── Base.lproj │ │ │ ├── LaunchScreen.storyboard │ │ │ └── Main.storyboard │ │ │ ├── Info.plist │ │ │ ├── ViewController.h │ │ │ ├── ViewController.m │ │ │ ├── config │ │ │ ├── AppStore │ │ │ │ └── Configuration.plist │ │ │ ├── Debug │ │ │ │ └── Configuration.plist │ │ │ ├── Enterprise │ │ │ │ └── Configuration.plist │ │ │ └── JieHe │ │ │ │ └── Configuration.plist │ │ │ ├── main.m │ │ │ └── xcconfig │ │ │ ├── AppStore.xcconfig │ │ │ ├── Common.xcconfig │ │ │ ├── Debug.xcconfig │ │ │ ├── Enterprise.xcconfig │ │ │ └── JieHe.xcconfig │ ├── ObjC │ │ ├── how_to_use_runtime.md │ │ ├── objc_life.md │ │ ├── objc_runtime_isa_class.md │ │ └── objc_runtime_objc_msgsend.md │ ├── Phabricator │ │ ├── Code review - Phabricator Use guide introduce.md │ │ └── 搭建Phabricator我遇到的那些坑.md │ ├── PromiseKit │ │ └── iOS_Callback_Hell_PromiseKit.md │ ├── RAC │ │ ├── functional_reactive_programming_concept.md │ │ ├── ios_rac_racsignal.md │ │ ├── reactivecocoa_hot_cold_signal.md │ │ ├── reactivecocoa_macro.md │ │ ├── reactivecocoa_raccommand.md │ │ ├── reactivecocoa_racscheduler.md │ │ ├── reactivecocoa_racsequence_ractuple.md │ │ ├── reactivecocoa_racsignal.md │ │ ├── reactivecocoa_racsignal_operations1.md │ │ ├── reactivecocoa_racsignal_operations2.md │ │ └── reactivecocoa_racsignal_operations3.md │ ├── Realm │ │ ├── Realm数据库 从入门到“放弃”.md │ │ └── 手把手教你从Core Data迁移到Realm.md │ ├── Swift │ │ └── iOS_Callback_Hell_Swift.md │ ├── WWDC 2016 │ │ ├── WWDC_2016_iOS10_Notification.md │ │ ├── WWDC_2016_iOS10_UICollectionView.md │ │ └── WWDC_2016_iOS10_Xcode8_AutoLayout.md │ ├── WebSocket │ │ └── iOS_WebSocket.md │ ├── Weex │ │ ├── Weex_events.md │ │ ├── Weex_how_to_work_in_iOS.md │ │ ├── Weex_ingenuity_JS_framework.md │ │ ├── Weex_layout_engine_powered_by_Flexbox's_algorithm.md │ │ ├── Weex_pseudo-best_practices_for_iOS_developers.md │ │ └── sdk │ │ │ ├── LICENSE │ │ │ ├── NOTICE │ │ │ ├── README.md │ │ │ ├── WeexSDK.podspec │ │ │ ├── WeexSDK.xcodeproj │ │ │ ├── project.pbxproj │ │ │ ├── project.xcworkspace │ │ │ │ ├── contents.xcworkspacedata │ │ │ │ └── xcuserdata │ │ │ │ │ └── YDZ.xcuserdatad │ │ │ │ │ └── UserInterfaceState.xcuserstate │ │ │ ├── xcshareddata │ │ │ │ └── xcschemes │ │ │ │ │ ├── WeexSDK.xcscheme │ │ │ │ │ └── WeexSDKTests.xcscheme │ │ │ └── xcuserdata │ │ │ │ └── YDZ.xcuserdatad │ │ │ │ └── xcschemes │ │ │ │ ├── WeexSDK_MTL.xcscheme │ │ │ │ └── xcschememanagement.plist │ │ │ ├── WeexSDK │ │ │ ├── Info.plist │ │ │ ├── Resources │ │ │ │ ├── main.js │ │ │ │ └── wx_load_error@3x.png │ │ │ ├── Sources │ │ │ │ ├── Bridge │ │ │ │ │ ├── JSValue+Weex.h │ │ │ │ │ ├── JSValue+Weex.m │ │ │ │ │ ├── WXBridgeContext.h │ │ │ │ │ ├── WXBridgeContext.m │ │ │ │ │ ├── WXBridgeMethod.h │ │ │ │ │ ├── WXBridgeMethod.m │ │ │ │ │ ├── WXCallJSMethod.h │ │ │ │ │ ├── WXCallJSMethod.m │ │ │ │ │ ├── WXComponentMethod.h │ │ │ │ │ ├── WXComponentMethod.m │ │ │ │ │ ├── WXDebugLoggerBridge.h │ │ │ │ │ ├── WXDebugLoggerBridge.m │ │ │ │ │ ├── WXJSCoreBridge.h │ │ │ │ │ ├── WXJSCoreBridge.m │ │ │ │ │ ├── WXModuleMethod.h │ │ │ │ │ ├── WXModuleMethod.m │ │ │ │ │ ├── WXPolyfillSet.h │ │ │ │ │ └── WXPolyfillSet.m │ │ │ │ ├── Component │ │ │ │ │ ├── WXAComponent.h │ │ │ │ │ ├── WXAComponent.m │ │ │ │ │ ├── WXCanvasComponent.h │ │ │ │ │ ├── WXCanvasComponent.m │ │ │ │ │ ├── WXCellComponent.h │ │ │ │ │ ├── WXCellComponent.m │ │ │ │ │ ├── WXComponent+GradientColor.h │ │ │ │ │ ├── WXComponent+GradientColor.m │ │ │ │ │ ├── WXComponent_internal.h │ │ │ │ │ ├── WXDivComponent.h │ │ │ │ │ ├── WXDivComponent.m │ │ │ │ │ ├── WXEmbedComponent.h │ │ │ │ │ ├── WXEmbedComponent.m │ │ │ │ │ ├── WXImageComponent.h │ │ │ │ │ ├── WXImageComponent.m │ │ │ │ │ ├── WXIndicatorComponent.h │ │ │ │ │ ├── WXIndicatorComponent.m │ │ │ │ │ ├── WXListComponent.h │ │ │ │ │ ├── WXListComponent.m │ │ │ │ │ ├── WXLoadingComponent.h │ │ │ │ │ ├── WXLoadingComponent.m │ │ │ │ │ ├── WXLoadingIndicator.h │ │ │ │ │ ├── WXLoadingIndicator.m │ │ │ │ │ ├── WXRefreshComponent.h │ │ │ │ │ ├── WXRefreshComponent.m │ │ │ │ │ ├── WXScrollerComponent.h │ │ │ │ │ ├── WXScrollerComponent.m │ │ │ │ │ ├── WXSliderComponent.h │ │ │ │ │ ├── WXSliderComponent.m │ │ │ │ │ ├── WXSliderNeighborComponent.h │ │ │ │ │ ├── WXSliderNeighborComponent.m │ │ │ │ │ ├── WXSwitchComponent.h │ │ │ │ │ ├── WXSwitchComponent.m │ │ │ │ │ ├── WXTextAreaComponent.h │ │ │ │ │ ├── WXTextAreaComponent.m │ │ │ │ │ ├── WXTextComponent.h │ │ │ │ │ ├── WXTextComponent.m │ │ │ │ │ ├── WXTextInputComponent.h │ │ │ │ │ ├── WXTextInputComponent.m │ │ │ │ │ ├── WXTransform.h │ │ │ │ │ ├── WXTransform.m │ │ │ │ │ ├── WXVideoComponent.h │ │ │ │ │ ├── WXVideoComponent.m │ │ │ │ │ ├── WXWebComponent.h │ │ │ │ │ └── WXWebComponent.m │ │ │ │ ├── Controller │ │ │ │ │ ├── WXBaseViewController.h │ │ │ │ │ ├── WXBaseViewController.m │ │ │ │ │ ├── WXRootViewController.h │ │ │ │ │ └── WXRootViewController.m │ │ │ │ ├── Debug │ │ │ │ │ ├── WXDebugTool.h │ │ │ │ │ └── WXDebugTool.m │ │ │ │ ├── Display │ │ │ │ │ ├── UIBezierPath+Weex.h │ │ │ │ │ ├── UIBezierPath+Weex.m │ │ │ │ │ ├── WXComponent+Display.h │ │ │ │ │ ├── WXComponent+Display.m │ │ │ │ │ ├── WXDisplayQueue.h │ │ │ │ │ ├── WXDisplayQueue.m │ │ │ │ │ ├── WXLayer.h │ │ │ │ │ ├── WXLayer.m │ │ │ │ │ ├── WXRoundedRect.h │ │ │ │ │ └── WXRoundedRect.mm │ │ │ │ ├── Engine │ │ │ │ │ ├── WXSDKEngine.h │ │ │ │ │ ├── WXSDKEngine.m │ │ │ │ │ └── WXSDKError.h │ │ │ │ ├── Events │ │ │ │ │ ├── WXComponent+Events.h │ │ │ │ │ └── WXComponent+Events.m │ │ │ │ ├── Handler │ │ │ │ │ ├── WXNavigationDefaultImpl.h │ │ │ │ │ ├── WXNavigationDefaultImpl.m │ │ │ │ │ ├── WXURLRewriteDefaultImpl.h │ │ │ │ │ └── WXURLRewriteDefaultImpl.m │ │ │ │ ├── Layout │ │ │ │ │ ├── Layout.c │ │ │ │ │ ├── Layout.h │ │ │ │ │ ├── WXComponent+Layout.h │ │ │ │ │ ├── WXComponent+Layout.m │ │ │ │ │ └── WXLayoutDefine.h │ │ │ │ ├── Loader │ │ │ │ │ ├── WXResourceLoader.h │ │ │ │ │ ├── WXResourceLoader.m │ │ │ │ │ ├── WXWebSocketLoader.h │ │ │ │ │ └── WXWebSocketLoader.m │ │ │ │ ├── Manager │ │ │ │ │ ├── WXBridgeManager.h │ │ │ │ │ ├── WXBridgeManager.m │ │ │ │ │ ├── WXComponentFactory.h │ │ │ │ │ ├── WXComponentFactory.m │ │ │ │ │ ├── WXComponentManager.h │ │ │ │ │ ├── WXComponentManager.m │ │ │ │ │ ├── WXDatePickerManager.h │ │ │ │ │ ├── WXDatePickerManager.m │ │ │ │ │ ├── WXHandlerFactory.h │ │ │ │ │ ├── WXHandlerFactory.m │ │ │ │ │ ├── WXInvocationConfig.h │ │ │ │ │ ├── WXInvocationConfig.m │ │ │ │ │ ├── WXModuleFactory.h │ │ │ │ │ ├── WXModuleFactory.m │ │ │ │ │ ├── WXRuleManager.h │ │ │ │ │ ├── WXRuleManager.m │ │ │ │ │ ├── WXSDKManager.h │ │ │ │ │ ├── WXSDKManager.m │ │ │ │ │ ├── WXServiceFactory.h │ │ │ │ │ └── WXServiceFactory.m │ │ │ │ ├── Model │ │ │ │ │ ├── WXComponent+Navigation.h │ │ │ │ │ ├── WXComponent+Navigation.m │ │ │ │ │ ├── WXComponent.h │ │ │ │ │ ├── WXComponent.m │ │ │ │ │ ├── WXSDKInstance.h │ │ │ │ │ ├── WXSDKInstance.m │ │ │ │ │ └── WXSDKInstance_private.h │ │ │ │ ├── Module │ │ │ │ │ ├── WXAnimationModule.h │ │ │ │ │ ├── WXAnimationModule.m │ │ │ │ │ ├── WXCanvasModule.h │ │ │ │ │ ├── WXCanvasModule.m │ │ │ │ │ ├── WXClipboardModule.h │ │ │ │ │ ├── WXClipboardModule.m │ │ │ │ │ ├── WXDomModule.h │ │ │ │ │ ├── WXDomModule.m │ │ │ │ │ ├── WXGlobalEventModule.h │ │ │ │ │ ├── WXGlobalEventModule.m │ │ │ │ │ ├── WXInstanceWrap.h │ │ │ │ │ ├── WXInstanceWrap.m │ │ │ │ │ ├── WXMetaModule.h │ │ │ │ │ ├── WXMetaModule.m │ │ │ │ │ ├── WXModalUIModule.h │ │ │ │ │ ├── WXModalUIModule.m │ │ │ │ │ ├── WXNavigatorModule.h │ │ │ │ │ ├── WXNavigatorModule.m │ │ │ │ │ ├── WXPickerModule.h │ │ │ │ │ ├── WXPickerModule.m │ │ │ │ │ ├── WXStorageModule.h │ │ │ │ │ ├── WXStorageModule.m │ │ │ │ │ ├── WXStreamModule.h │ │ │ │ │ ├── WXStreamModule.m │ │ │ │ │ ├── WXTimerModule.h │ │ │ │ │ ├── WXTimerModule.m │ │ │ │ │ ├── WXWebSocketModule.h │ │ │ │ │ ├── WXWebSocketModule.m │ │ │ │ │ ├── WXWebViewModule.h │ │ │ │ │ └── WXWebViewModule.m │ │ │ │ ├── Monitor │ │ │ │ │ ├── WXMonitor.h │ │ │ │ │ └── WXMonitor.m │ │ │ │ ├── Network │ │ │ │ │ ├── WXResourceRequest.h │ │ │ │ │ ├── WXResourceRequest.m │ │ │ │ │ ├── WXResourceRequestHandler.h │ │ │ │ │ ├── WXResourceRequestHandlerDefaultImpl.h │ │ │ │ │ ├── WXResourceRequestHandlerDefaultImpl.m │ │ │ │ │ ├── WXResourceResponse.h │ │ │ │ │ └── WXResourceResponse.m │ │ │ │ ├── Protocol │ │ │ │ │ ├── WXAppMonitorProtocol.h │ │ │ │ │ ├── WXBridgeProtocol.h │ │ │ │ │ ├── WXDestroyProtocol.h │ │ │ │ │ ├── WXEventModuleProtocol.h │ │ │ │ │ ├── WXImgLoaderProtocol.h │ │ │ │ │ ├── WXModuleProtocol.h │ │ │ │ │ ├── WXNavigationProtocol.h │ │ │ │ │ ├── WXNetworkProtocol.h │ │ │ │ │ ├── WXScrollerProtocol.h │ │ │ │ │ ├── WXTextComponentProtocol.h │ │ │ │ │ └── WXURLRewriteProtocol.h │ │ │ │ ├── Supporting Files │ │ │ │ │ └── WeexSDK-Prefix.pch │ │ │ │ ├── Utility │ │ │ │ │ ├── NSArray+Weex.h │ │ │ │ │ ├── NSArray+Weex.m │ │ │ │ │ ├── NSObject+WXSwizzle.h │ │ │ │ │ ├── NSObject+WXSwizzle.m │ │ │ │ │ ├── NSTimer+Weex.h │ │ │ │ │ ├── NSTimer+Weex.m │ │ │ │ │ ├── WXAppConfiguration.h │ │ │ │ │ ├── WXAppConfiguration.m │ │ │ │ │ ├── WXAssert.h │ │ │ │ │ ├── WXAssert.m │ │ │ │ │ ├── WXConvert.h │ │ │ │ │ ├── WXConvert.m │ │ │ │ │ ├── WXDefine.h │ │ │ │ │ ├── WXLog.h │ │ │ │ │ ├── WXLog.m │ │ │ │ │ ├── WXSimulatorShortcutManager.h │ │ │ │ │ ├── WXSimulatorShortcutManager.m │ │ │ │ │ ├── WXThreadSafeCounter.h │ │ │ │ │ ├── WXThreadSafeCounter.m │ │ │ │ │ ├── WXThreadSafeMutableArray.h │ │ │ │ │ ├── WXThreadSafeMutableArray.m │ │ │ │ │ ├── WXThreadSafeMutableDictionary.h │ │ │ │ │ ├── WXThreadSafeMutableDictionary.m │ │ │ │ │ ├── WXType.h │ │ │ │ │ ├── WXUtility.h │ │ │ │ │ ├── WXUtility.m │ │ │ │ │ ├── WXWeakObjectWrapper.h │ │ │ │ │ └── WXWeakObjectWrapper.m │ │ │ │ ├── View │ │ │ │ │ ├── WXComponent+PseudoClassManagement.h │ │ │ │ │ ├── WXComponent+PseudoClassManagement.m │ │ │ │ │ ├── WXComponent+ViewManagement.h │ │ │ │ │ ├── WXComponent+ViewManagement.m │ │ │ │ │ ├── WXErrorView.h │ │ │ │ │ ├── WXErrorView.m │ │ │ │ │ ├── WXRootView.h │ │ │ │ │ ├── WXRootView.m │ │ │ │ │ ├── WXView.h │ │ │ │ │ └── WXView.m │ │ │ │ ├── WebSocket │ │ │ │ │ ├── SRWebSocket+Weex.h │ │ │ │ │ ├── SRWebSocket+Weex.m │ │ │ │ │ ├── WXWebSocketDefaultImpl.h │ │ │ │ │ ├── WXWebSocketDefaultImpl.m │ │ │ │ │ └── WXWebSocketHandler.h │ │ │ │ └── WeexSDK.h │ │ │ └── dependency │ │ │ │ ├── SRWebSocket.h │ │ │ │ └── SRWebSocket.m │ │ │ ├── WeexSDKTests │ │ │ ├── Info.plist │ │ │ ├── TestSupportUtils.h │ │ │ ├── TestSupportUtils.m │ │ │ ├── WXAnimationModuleTests.m │ │ │ ├── WXBridgeMethodTests.m │ │ │ ├── WXComponentTests.m │ │ │ ├── WXConvertTests.m │ │ │ ├── WXInstanceWrapTests.m │ │ │ ├── WXRootViewTests.m │ │ │ ├── WXSDKEngineTests.m │ │ │ ├── WXSDKManagerTests.m │ │ │ ├── WXStorageTests.m │ │ │ ├── WXStreamModuleTests.m │ │ │ ├── WXTimerModuleTests.m │ │ │ ├── WXURLRewriteTests.m │ │ │ ├── WeexSDKTests.m │ │ │ ├── dependency │ │ │ │ ├── OCMock │ │ │ │ │ ├── NSNotificationCenter+OCMAdditions.h │ │ │ │ │ ├── OCMArg.h │ │ │ │ │ ├── OCMConstraint.h │ │ │ │ │ ├── OCMFunctions.h │ │ │ │ │ ├── OCMLocation.h │ │ │ │ │ ├── OCMMacroState.h │ │ │ │ │ ├── OCMRecorder.h │ │ │ │ │ ├── OCMStubRecorder.h │ │ │ │ │ ├── OCMock.h │ │ │ │ │ └── OCMockObject.h │ │ │ │ └── libOCMock.a │ │ │ └── testRootView.js │ │ │ ├── WeexSDK_MTL │ │ │ ├── WeexSDK_MTL.h │ │ │ └── WeexSDK_MTL.m │ │ │ └── buildScripts.sh │ ├── Xcode8AutolayoutDemo-master │ │ ├── NewAutolayout.xcodeproj │ │ │ ├── project.pbxproj │ │ │ ├── project.xcworkspace │ │ │ │ ├── contents.xcworkspacedata │ │ │ │ └── xcuserdata │ │ │ │ │ └── YDZ.xcuserdatad │ │ │ │ │ └── UserInterfaceState.xcuserstate │ │ │ └── xcuserdata │ │ │ │ └── YDZ.xcuserdatad │ │ │ │ └── xcschemes │ │ │ │ ├── NewAutolayout.xcscheme │ │ │ │ └── xcschememanagement.plist │ │ └── NewAutolayout │ │ │ ├── A00D3B09-7904-433C-ADC3-BD192F4B6950.png │ │ │ ├── AppDelegate.h │ │ │ ├── AppDelegate.m │ │ │ ├── Assets.xcassets │ │ │ └── AppIcon.appiconset │ │ │ │ └── Contents.json │ │ │ ├── BDCA87E9-7B4E-4809-82DA-F190CECD4835.png │ │ │ ├── Base.lproj │ │ │ ├── LaunchScreen.storyboard │ │ │ └── Main.storyboard │ │ │ ├── DE05E649-1499-4C5D-A768-9CF6FC20B996.png │ │ │ ├── Info.plist │ │ │ ├── ViewController.h │ │ │ ├── ViewController.m │ │ │ ├── main.m │ │ │ ├── mp40843170_1447147056517_2.jpeg │ │ │ └── ya2-1542744.jpg │ ├── beehive.md │ ├── iOSRouter │ │ └── iOS_Router.md │ ├── ios_ib_designable_ibinspectable.md │ ├── ios_interview.md │ ├── ios_jenkins.md │ ├── ios_multienvironments.md │ ├── ios_simulator_ios_sim.md │ └── remote_debugging_on_ios_with_safari_web_inspector.md └── images │ ├── 56_0.png │ ├── 56_1.png │ ├── 56_19希尔伯特曲线铺满平面.gif │ ├── 56_20_1阶希尔伯特曲线.gif │ ├── 56_21_2阶希尔伯特曲线.gif │ ├── 56_22_3阶希尔伯特曲线.gif │ ├── 56_23_5n阶希尔伯特曲线.gif │ ├── 56_24_6希尔伯特曲线展开成线.gif │ ├── 56_25_7希尔伯特曲线无限划分下去.gif │ ├── 56_26_8希尔伯特曲线与蛇形曲线哪个好.gif │ ├── 56_27_9蛇形曲线来回摆动.gif │ ├── 56_28_10希尔伯特曲线趋近稳定.gif │ ├── 56_33.png │ ├── 56_40.png │ ├── 56_44_0.png │ ├── Atom_go_plus.png │ ├── CORS_principle.png │ ├── DNS_header.png │ ├── DNS_message.png │ ├── De_Bruijn_B(2,3)0.png │ ├── De_Bruijn_B(2,3)1.png │ ├── De_Bruijn_B(2,4).png │ ├── De_Bruijn_B(3,2).png │ ├── EGH_LearnES6_Final.png │ ├── EGH_LearnES6_Final_.png │ ├── EGH_LearnES6_Final__.png │ ├── Gogland.png │ ├── HTTP 报文结构.png │ ├── HTTP_2.png │ ├── HTTP_RequestMessageExample.png │ ├── HTTP_ResponseMessageExample.png │ ├── HTTP_logo.png │ ├── HTTP缓存流程.png │ ├── IPv4_addr.png │ ├── IPv4_header.png │ ├── IPv6_addr.png │ ├── IPv6_header.png │ ├── Internet_package.png │ ├── JSChina 2017.png │ ├── KMeans-Gaussian-data.svg │ ├── Kernel_Machine.svg │ ├── LLC_SNAP.png │ ├── Linear_regression.svg │ ├── MTU_Path.png │ ├── Machine-Learning_0.png │ ├── Machine-Learning_1.png │ ├── Machine-Learning_2.jpeg │ ├── Machine-Learning_3.png │ ├── News_HTTP_2.png │ ├── OSI-TCP-Model-v1.png │ ├── OSI.png │ ├── OSI_Layer.png │ ├── Protocol_Layer.png │ ├── Protocol_standardization.png │ ├── SSE.png │ ├── SSE_use.png │ ├── SSL_TLS_Protocol.png │ ├── TCP-IP-package.png │ ├── TCP_header.png │ ├── TCP_header_option.png │ ├── TCP_port.png │ ├── TCP的有限状态机.png │ ├── UDP_header.png │ ├── UDP_port.png │ ├── VLAN_Frame.png │ ├── advance_tcp-ip.png │ ├── ajax-long-polling.png │ ├── ajax-polling.png │ ├── background-cover.png │ ├── background-cover_.png │ ├── behind_frame.png │ ├── cache-control.png │ ├── control_bits.png │ ├── cred-req.png │ ├── example_0.png │ ├── fake_TCP_header.png │ ├── fake_UDP_header.png │ ├── flatbuffer_attention.gif │ ├── flatbuffer_flexbuffer_end.gif │ ├── flatbuffers.png │ ├── frame.png │ ├── golang-gopher.jpg │ ├── google_protocolbuffers.png │ ├── how-data-is-processed-in-OSI-and-TCPIP-models.png │ ├── http2.png │ ├── http_cache.png │ ├── http_https.png │ ├── http_to_https.png │ ├── https_guide.png │ ├── ifream.png │ ├── infinity-times-faster.png │ ├── intro_protobuf.png │ ├── machine-learning.png │ ├── mutating_flatbuffers.gif │ ├── nagle.png │ ├── network-protocol-map-2017-min.png │ ├── package_struc.png │ ├── pb_json_0.png │ ├── pb_json_1.png │ ├── pb_json_mapping.png │ ├── pb_type.png │ ├── pb_wire_type.png │ ├── pb_zigzag.png │ ├── prelight.png │ ├── protobuf_example.png │ ├── protobuf_title.png │ ├── protocolbuffers.png │ ├── proxy cache poisoning attack1.png │ ├── proxy cache poisoning attack2.png │ ├── serializerxgames.jpg │ ├── socket.png │ ├── socket_interface.png │ ├── ssl-offloading.png │ ├── tcp-connection-closed-four-way-handshake.png │ ├── tcp-connection-made-three-way-handshake.png │ ├── tcp-ip.png │ ├── tcp_3.png │ ├── tcp_4.png │ ├── tcp_cwnd.png │ ├── tcp_guide.png │ ├── tcp_overcrowding.png │ ├── tcp_retransmission.png │ ├── tcp_sec.png │ ├── tcp_slide_windows.png │ ├── thernet_frame.png │ ├── websocket.png │ ├── websocket_protocol.png │ ├── websocket_use.png │ ├── websockets-flow-with-client-push.png │ ├── wechat-qr-code.png │ ├── 响应报文.png │ ├── 报文实例.png │ └── 请求报文.png └── website ├── archetypes └── default.md ├── config.toml ├── content ├── advance_tcp.md ├── advice_for_applying_machine_learning.md ├── anomaly_detection.md ├── application_example_photo_ocr.md ├── asymmetric_encryption.md ├── backpropagation_in_practice.md ├── backtracking.md ├── beehive.md ├── bit_manipulation.md ├── cipherkey.md ├── code_review_phabricator_use_guide_introduce.md ├── computing_parameters_analytically.md ├── cryptography_overview.md ├── digital_certificate.md ├── digital_signature.md ├── dimensionality_reduction.md ├── flatbuffers_encode.md ├── flatbuffers_flexbuffers.md ├── flatbuffers_schema.md ├── functional_reactive_programming_concept.md ├── ghost_build.md ├── ghost_fast.md ├── ghost_feature.md ├── ghost_update.md ├── go_command.md ├── go_map_chapter_one.md ├── go_map_chapter_two.md ├── go_s2_cellid.md ├── go_s2_de_bruijn.md ├── go_s2_hilbert_neighbor.md ├── go_s2_lowest_common_ancestor.md ├── go_s2_regioncoverer.md ├── go_slice.md ├── go_spatial_search.md ├── gradient_descent.md ├── halfrost_2017.md ├── halfrost_2018.md ├── how_to_use_runtime.md ├── http.md ├── http2-considerations.md ├── http2-frequently-asked-questions.md ├── http2-header-compression.md ├── http2-hpack-example.md ├── http2-http-frames-definitions.md ├── http2-http-frames.md ├── http2-http-semantics.md ├── http2_begin.md ├── http2_rfc7540.md ├── http2_rfc7541.md ├── https-begin.md ├── https-extensions.md ├── https-key-cipher.md ├── https_record_layer.md ├── https_tls1-2_handshake.md ├── https_tls1-3_handshake.md ├── ios_aspect.md ├── ios_block.md ├── ios_block_retain_circle.md ├── ios_callback_hell_promisekit.md ├── ios_callback_hell_swift.md ├── ios_coredata_migration.md ├── ios_coredata_to_realm.md ├── ios_hybrid_phonegap.md ├── ios_ib_designable_ibinspectable.md ├── ios_interview.md ├── ios_jenkins.md ├── ios_launchpage_logo_fly.md ├── ios_multienvironments.md ├── ios_rac_racsignal.md ├── ios_router.md ├── ios_simulator_ios_sim.md ├── ios_weixin_qq_websocket.md ├── javascript_scope.md ├── javascript_this.md ├── jekyll.md ├── jsconf_china_2017.md ├── jsconf_china_2017_final.md ├── large_scale_machine_learning.md ├── linked_list.md ├── logistic_regression.md ├── lost_in_javascript.md ├── machine_learning_contents.md ├── machine_learning_system_design.md ├── message_authentication_code.md ├── multivariate_linear_regression.md ├── n-dimensional_space_and_n-dimensional_space-time.md ├── neural_networks_learning.md ├── neural_networks_representation.md ├── new_gopher.md ├── objc_life.md ├── objc_runtime_isa_class.md ├── objc_runtime_objc_msgsend.md ├── octave_matlab_tutorial.md ├── one_way_hash.md ├── phabricator_trouble.md ├── protobuf_decode.md ├── protobuf_encode.md ├── quic_start.md ├── random_number.md ├── reactivecocoa_hot_cold_signal.md ├── reactivecocoa_macro.md ├── reactivecocoa_raccommand.md ├── reactivecocoa_racscheduler.md ├── reactivecocoa_racsequence_ractuple.md ├── reactivecocoa_racsignal.md ├── reactivecocoa_racsignal_operations1.md ├── reactivecocoa_racsignal_operations2.md ├── reactivecocoa_racsignal_operations3.md ├── realm_ios.md ├── recommender_systems.md ├── regularization.md ├── remote_debugging_on_ios_with_safari_web_inspector.md ├── segment_tree.md ├── sliding_window.md ├── sort.md ├── stack.md ├── support_vector_machines.md ├── symmetric_encryption.md ├── tcp_ip.md ├── threes-ai.md ├── tls1-3_start.md ├── tls_1-3_0-rtt.md ├── tls_1-3_alert_protocol.md ├── tls_1-3_backward_compatibility.md ├── tls_1-3_compliance_requirements.md ├── tls_1-3_cryptographic_computations.md ├── tls_1-3_handshake_protocol.md ├── tls_1-3_implementation_notes.md ├── tls_1-3_introduction.md ├── tls_1-3_record_protocol.md ├── tls_1-3_rfc8446.md ├── tls_1-3_security_properties.md ├── tls_alpn.md ├── tls_heartbeat.md ├── two_pointers.md ├── union_find.md ├── unsupervised_learning.md ├── vue_electron.md ├── vue_ios_modularization.md ├── websocket.md ├── weex_best_practice_guidelines.md ├── weex_event.md ├── weex_flexbox.md ├── weex_ios.md ├── weex_js_framework.md ├── welcome-to-ghost.md ├── what_is_machine_learning.md ├── where_is_forever.md ├── wwdc2016_ios10_notification_new_features.md ├── wwdc2016_ios10_uicollectionview_new_features.md └── wwdc2016_xcode8autolayout_features.md ├── deploy.sh ├── layouts ├── _default │ ├── baseof.html │ ├── index.html │ ├── list.html │ └── single.html └── partials │ ├── footer.html │ └── head.html ├── static ├── _styl │ └── style.styl ├── css │ ├── README │ ├── style-classic.css │ ├── style-dark.css │ ├── style-light.css │ └── style-white.css ├── images │ ├── apple-touch-icon-1024x1024.png │ ├── apple-touch-icon-1200x1200.png │ ├── apple-touch-icon-120x120.png │ ├── apple-touch-icon-152x152.png │ ├── apple-touch-icon-180x180.png │ ├── apple-touch-icon-2048x2048.jpg │ ├── apple-touch-icon-512x512.png │ ├── apple-touch-icon-60x60.png │ ├── apple-touch-icon-76x76.png │ ├── favicon.ico │ ├── favicon1.ico │ ├── logo.png │ └── logo2.png ├── prism.css └── prism.js └── themes └── cactus ├── LICENSE ├── README.md ├── assets ├── css │ ├── style-classic.css │ ├── style-dark.css │ ├── style-light.css │ └── style-white.css ├── main.js ├── manifest.json ├── serviceworker-v1.js ├── sw-register.js └── sw.js ├── exampleSite ├── .travis.yml ├── archetypes │ └── default.md ├── config.toml ├── content │ ├── about │ │ └── index.md │ └── posts │ │ ├── 2016-10-22-z.md │ │ ├── 2016-11-05-php-composer-autoload.md │ │ ├── 2016-11-29-iptables-usage.md │ │ ├── 2016-12-08-ruby-notes.md │ │ ├── 2017-01-11-php-lambada.md │ │ ├── 2017-02-18-hash.md │ │ ├── 2019-01-18-es6.md │ │ ├── 2019-01-19-vue-navigation-guards.md │ │ ├── 2019-03-08-Object-assign-with-accessor-descriptor.md │ │ ├── 2019-03-08-es6-bind-trick.md │ │ ├── 2019-03-22-js-tips.md │ │ ├── 2019-03-28-javascript-comparison.md │ │ ├── 2019-10-27-uipath.md │ │ ├── 2019-11-10-encodeURIComponent.md │ │ ├── 2019-11-18-uipath-best-practice.md │ │ ├── 2019-11-23-uipath-orchestrator.md │ │ ├── 2019-12-30-StandardML-notes.md │ │ ├── 2020-02-29-racket.md │ │ ├── 2020-04-29-subtyping.md │ │ ├── 2020-05-01-algorithms-graphs.md │ │ └── 2020-06-06-changes-in-java-string.md ├── data │ └── projects.json └── deploy.sh ├── images ├── screenshot-classic.png ├── screenshot-dark.png ├── screenshot-light.png ├── screenshot-tagsOverview.png ├── screenshot.png └── tn.png ├── layouts ├── _default │ ├── baseof.html │ ├── list.html │ ├── single.html │ └── terms.html ├── index.html ├── partials │ ├── comments.html │ ├── favicon.html │ ├── footer.html │ ├── head.html │ ├── header.html │ ├── page_nav.html │ ├── page_nav_mobile.html │ ├── pagination.html │ ├── share.html │ └── title.html └── posts │ └── single.html ├── static ├── _styl │ ├── _colors │ │ ├── classic.styl │ │ ├── dark.styl │ │ ├── light.styl │ │ └── white.styl │ ├── _extend.styl │ ├── _fonts.styl │ ├── _mixins.styl │ ├── _partial │ │ ├── archive.styl │ │ ├── article.styl │ │ ├── categories.styl │ │ ├── comments.styl │ │ ├── footer.styl │ │ ├── header.styl │ │ ├── index.styl │ │ ├── pagination.styl │ │ ├── post │ │ │ ├── actions_desktop.styl │ │ │ └── actions_mobile.styl │ │ ├── search.styl │ │ ├── tags.styl │ │ └── tooltip.styl │ ├── _util.styl │ ├── _variables.styl │ ├── rtl.styl │ └── style.styl ├── css │ ├── style-classic.css │ ├── style-dark.css │ ├── style-light.css │ └── style-white.css ├── js │ ├── feather.min.js │ ├── search.js │ └── sw-toolbox.js └── lib │ ├── JetBrainsMono │ ├── LICENSE │ ├── ttf │ │ ├── JetBrainsMono-Bold-Italic.ttf │ │ ├── JetBrainsMono-Bold.ttf │ │ ├── JetBrainsMono-ExtraBold-Italic.ttf │ │ ├── JetBrainsMono-ExtraBold.ttf │ │ ├── JetBrainsMono-Italic.ttf │ │ ├── JetBrainsMono-Medium-Italic.ttf │ │ ├── JetBrainsMono-Medium.ttf │ │ └── JetBrainsMono-Regular.ttf │ └── web │ │ ├── eot │ │ ├── JetBrainsMono-Bold-Italic.eot │ │ ├── JetBrainsMono-Bold.eot │ │ ├── JetBrainsMono-ExtraBold-Italic.eot │ │ ├── JetBrainsMono-ExtraBold.eot │ │ ├── JetBrainsMono-Italic.eot │ │ ├── JetBrainsMono-Medium-Italic.eot │ │ ├── JetBrainsMono-Medium.eot │ │ └── JetBrainsMono-Regular.eot │ │ ├── woff │ │ ├── JetBrainsMono-Bold-Italic.woff │ │ ├── JetBrainsMono-Bold.woff │ │ ├── JetBrainsMono-ExtraBold-Italic.woff │ │ ├── JetBrainsMono-ExtraBold.woff │ │ ├── JetBrainsMono-Italic.woff │ │ ├── JetBrainsMono-Medium-Italic.woff │ │ ├── JetBrainsMono-Medium.woff │ │ └── JetBrainsMono-Regular.woff │ │ └── woff2 │ │ ├── JetBrainsMono-Bold-Italic.woff2 │ │ ├── JetBrainsMono-Bold.woff2 │ │ ├── JetBrainsMono-ExtraBold-Italic.woff2 │ │ ├── JetBrainsMono-ExtraBold.woff2 │ │ ├── JetBrainsMono-Italic.woff2 │ │ ├── JetBrainsMono-Medium-Italic.woff2 │ │ ├── JetBrainsMono-Medium.woff2 │ │ └── JetBrainsMono-Regular.woff2 │ ├── clipboard │ └── clipboard.min.js │ ├── font-awesome │ ├── css │ │ └── all.min.css │ └── webfonts │ │ ├── fa-brands-400.eot │ │ ├── fa-brands-400.svg │ │ ├── fa-brands-400.ttf │ │ ├── fa-brands-400.woff │ │ ├── fa-brands-400.woff2 │ │ ├── fa-regular-400.eot │ │ ├── fa-regular-400.svg │ │ ├── fa-regular-400.ttf │ │ ├── fa-regular-400.woff │ │ ├── fa-regular-400.woff2 │ │ ├── fa-solid-900.eot │ │ ├── fa-solid-900.svg │ │ ├── fa-solid-900.ttf │ │ ├── fa-solid-900.woff │ │ └── fa-solid-900.woff2 │ ├── jquery │ └── jquery.min.js │ └── justified-gallery │ ├── css │ └── justifiedGallery.min.css │ └── js │ └── jquery.justifiedGallery.min.js └── theme.toml /.gitattributes: -------------------------------------------------------------------------------- 1 | *.m linguist-language=go 2 | -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | # These are supported funding model platforms 2 | 3 | github: [halfrost] 4 | patreon: # Replace with a single Patreon username 5 | open_collective: # Replace with a single Open Collective username 6 | ko_fi: # Replace with a single Ko-fi username 7 | tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel 8 | community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry 9 | liberapay: # Replace with a single Liberapay username 10 | issuehunt: # Replace with a single IssueHunt username 11 | otechie: # Replace with a single Otechie username 12 | lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry 13 | custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] 14 | -------------------------------------------------------------------------------- /contents/.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "jupyter.jupyterServerType": "local" 3 | } -------------------------------------------------------------------------------- /contents/Go/T_Salon_share.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/Go/T_Salon_share.pdf -------------------------------------------------------------------------------- /contents/Go/T_Salon_share_with_comments.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/Go/T_Salon_share_with_comments.pdf -------------------------------------------------------------------------------- /contents/Go/go_map_bench_test/cmap/base.go: -------------------------------------------------------------------------------- 1 | package cmap 2 | 3 | const ( 4 | // DEFAULT_BUCKET_LOAD_FACTOR 代表默认的装载因子。 5 | // 当散列段中的某个散列桶的尺寸超过了 6 | // 本因子与当散列段尺寸的乘积,就会触发再散列。 7 | DEFAULT_BUCKET_LOAD_FACTOR float64 = 0.75 8 | // DEFAULT_BUCKET_NUMBER 代表一个散列段包含的散列桶的默认数量。 9 | DEFAULT_BUCKET_NUMBER int = 16 10 | // DEFAULT_BUCKET_MAX_SIZE 代表单个散列桶的默认最大尺寸。 11 | DEFAULT_BUCKET_MAX_SIZE uint64 = 1000 12 | ) 13 | 14 | const ( 15 | // MAX_CONCURRENCY 代表最大并发量。 16 | MAX_CONCURRENCY int = 65536 17 | ) 18 | -------------------------------------------------------------------------------- /contents/Go/go_map_bench_test/cmap/utils.go: -------------------------------------------------------------------------------- 1 | package cmap 2 | 3 | // hash 用于计算给定字符串的哈希值的整数形式。 4 | // 本函数实现了BKDR哈希算法。 5 | func hash(str string) uint64 { 6 | seed := uint64(13131) 7 | var hash uint64 8 | for i := 0; i < len(str); i++ { 9 | hash = hash*seed + uint64(str[i]) 10 | } 11 | return (hash & 0x7FFFFFFFFFFFFFFF) 12 | } 13 | 14 | // hash 用于计算给定字符串的哈希值的整数形式。 15 | // func hash(str string) uint64 { 16 | // h := md5.Sum([]byte(str)) 17 | // var num uint64 18 | // binary.Read(bytes.NewReader(h[:]), binary.LittleEndian, &num) 19 | // return num 20 | // } 21 | -------------------------------------------------------------------------------- /contents/Go/load_balancing_concurrent_map.md: -------------------------------------------------------------------------------- 1 | # 负载均衡 Segment Lock 线程安全的 Map 实现源码分析 2 | 3 | 4 | ![](http://upload-images.jianshu.io/upload_images/1194012-6454de171c74c620.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240) 5 | 6 | 7 | 8 | ![](http://upload-images.jianshu.io/upload_images/1194012-a6539e4a617e45c1.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240) -------------------------------------------------------------------------------- /contents/Machine_Learning/AI_For_Everyone_Week1.md: -------------------------------------------------------------------------------- 1 | ## Week 1 Quiz 2 | 3 | 4 | ![](https://github.com/halfrost/Halfrost-Field/blob/master/contents/Machine_Learning/AI_For_Everyone_week1-quiz.png) -------------------------------------------------------------------------------- /contents/Machine_Learning/AI_For_Everyone_Week2.md: -------------------------------------------------------------------------------- 1 | ## Week 2 Quiz 2 | 3 | 4 | 5 | ![](https://github.com/halfrost/Halfrost-Field/blob/master/contents/Machine_Learning/AI_For_Everyone_week2-quiz.png) -------------------------------------------------------------------------------- /contents/Machine_Learning/AI_For_Everyone_Week3.md: -------------------------------------------------------------------------------- 1 | ## Week 3 Quiz 2 | 3 | 4 | 5 | ![](https://github.com/halfrost/Halfrost-Field/blob/master/contents/Machine_Learning/AI_For_Everyone_week3-quiz.png) -------------------------------------------------------------------------------- /contents/Machine_Learning/AI_For_Everyone_Week4.md: -------------------------------------------------------------------------------- 1 | ## Week 4 Quiz 2 | 3 | 4 | 5 | ![](https://github.com/halfrost/Halfrost-Field/blob/master/contents/Machine_Learning/AI_For_Everyone_week4-quiz.png) -------------------------------------------------------------------------------- /contents/Machine_Learning/AI_For_Everyone_week1-quiz.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/Machine_Learning/AI_For_Everyone_week1-quiz.png -------------------------------------------------------------------------------- /contents/Machine_Learning/AI_For_Everyone_week2-quiz.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/Machine_Learning/AI_For_Everyone_week2-quiz.png -------------------------------------------------------------------------------- /contents/Machine_Learning/AI_For_Everyone_week3-quiz.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/Machine_Learning/AI_For_Everyone_week3-quiz.png -------------------------------------------------------------------------------- /contents/Machine_Learning/AI_For_Everyone_week4-quiz.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/Machine_Learning/AI_For_Everyone_week4-quiz.png -------------------------------------------------------------------------------- /contents/TimeElapse/start.md: -------------------------------------------------------------------------------- 1 | ![](http://upload-images.jianshu.io/upload_images/1194012-9de4cacdb51b1669.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240) 2 | 3 | 4 | 5 | # 开篇 6 | 7 | 作为技术人,到年底都会进行一次自我反思或者总结,回过头来看看这一年自己成长了多少。笔者也不例外,同样打算从 2017 年开始记录自己的年终总结。虽然这种总结的文章不算纯技术文章,但是为了避免记流水账,所以想尽脑汁想以一种新颖的方式展现在读者面前。于是打算用一个大家比较关心的问题来贯穿全文。不出意外,以后每年的形式都会如此。一年一个宏观的问题。文章中的经历保证都是笔者百分之百亲生经历的,有成功的案例也有失败的案例,当然读者自身的情况也会与笔者不同,各位读者可以根据自身的情况来取长补短。文章中的一些观点仅代表笔者个人的一些看法,如有不妥,欢迎提出来一起讨论和批判。 8 | 9 | --------------------------------------------- 10 | 11 | 笔者在网上的中文笔名是“一缕殇流化隐半边冰霜”,常常被人简称为“冰霜”、“霜菜”、“霜”。这一年一篇的年度文章既然这么特别,那么就给这个系列文章取一个特别的名字吧。在中国的文化中,四个字的成语读起来能更加有内涵,成语里面也必须带“霜”字和光阴意思,通过大量的搜寻以后,就定下了这个系列的标题的名字 —— 星霜荏苒。 12 | 13 | 14 | >【解释】星霜:星辰运转一年一次循环,每年秋季始降霜,因以批岁月。指岁月渐渐流逝。 15 | > 16 | >【出处】唐·温庭筠《寄崔先生》:“星霜荏苒无音信,烟水微茫变姓名。” 17 | 18 | 好了,本系列的文章该说明的地方都说明完了,以后每年就不做此说明了。正文正式开始。 -------------------------------------------------------------------------------- /contents/iOS/AutoLayoutProfiling-master/.gitignore: -------------------------------------------------------------------------------- 1 | Pods 2 | .idea 3 | # Xcode 4 | build/* 5 | *.pbxuser 6 | !default.pbxuser 7 | *.mode1v3 8 | !default.mode1v3 9 | *.mode2v3 10 | !default.mode2v3 11 | *.perspectivev3 12 | !default.perspectivev3 13 | *.xcworkspace 14 | !default.xcworkspace 15 | xcuserdata 16 | profile 17 | *.moved-aside 18 | DerivedData -------------------------------------------------------------------------------- /contents/iOS/AutoLayoutProfiling-master/AutoLayoutProfiling/ALPAppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // ALPAppDelegate.h 3 | // AutoLayoutProfiling 4 | // 5 | // Created by Florian on 04/17/13. 6 | // Copyright (c) 2013 Florian Kugler. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface ALPAppDelegate : UIResponder 12 | 13 | @property (strong, nonatomic) UIWindow *window; 14 | 15 | @end -------------------------------------------------------------------------------- /contents/iOS/AutoLayoutProfiling-master/AutoLayoutProfiling/ALPAutoLayoutTypes.h: -------------------------------------------------------------------------------- 1 | typedef NS_ENUM(NSInteger, ALPLayoutType) { 2 | ALPLayoutTypeIndependent = 0x01, 3 | ALPLayoutTypeChained = 0x02, 4 | ALPLayoutTypeNested = 0x03 5 | }; 6 | -------------------------------------------------------------------------------- /contents/iOS/AutoLayoutProfiling-master/AutoLayoutProfiling/ALPAutoLayoutView.h: -------------------------------------------------------------------------------- 1 | // 2 | // Created by Florian on 18.04.13. 3 | // 4 | 5 | 6 | #import 7 | #import "ALPAutoLayoutTypes.h" 8 | 9 | 10 | @interface ALPAutoLayoutView : UIView 11 | - (id)initWithFrame:(CGRect)frame type:(ALPLayoutType)aType viewCount:(NSUInteger)aViewCount; 12 | @end -------------------------------------------------------------------------------- /contents/iOS/AutoLayoutProfiling-master/AutoLayoutProfiling/ALPNonAutoLayoutView.h: -------------------------------------------------------------------------------- 1 | // 2 | // Created by Florian on 18.04.13. 3 | // 4 | 5 | 6 | #import 7 | #import "ALPAutoLayoutTypes.h" 8 | 9 | @interface ALPNonAutoLayoutView : UIView 10 | - (id)initWithFrame:(CGRect)frame type:(ALPLayoutType)aType viewCount:(NSUInteger)aViewCount; 11 | @end -------------------------------------------------------------------------------- /contents/iOS/AutoLayoutProfiling-master/AutoLayoutProfiling/ALPRootViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // Created by Florian on 17.04.13. 3 | // 4 | 5 | 6 | #import 7 | 8 | 9 | @interface ALPRootViewController : UIViewController 10 | @end -------------------------------------------------------------------------------- /contents/iOS/AutoLayoutProfiling-master/AutoLayoutProfiling/ALPWeexLayoutView.h: -------------------------------------------------------------------------------- 1 | // 2 | // ALPWeexLayoutView.h 3 | // AutoLayoutProfiling 4 | // 5 | // Created by YDZ on 2017/4/2. 6 | // Copyright © 2017年 YDZ. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "ALPAutoLayoutTypes.h" 11 | 12 | @interface ALPWeexLayoutView : UIView 13 | - (id)initWithFrame:(CGRect)frame type:(ALPLayoutType)aType viewCount:(NSUInteger)aViewCount; 14 | @end 15 | -------------------------------------------------------------------------------- /contents/iOS/AutoLayoutProfiling-master/AutoLayoutProfiling/ALPYogaLayoutView.h: -------------------------------------------------------------------------------- 1 | // 2 | // ALPYogaLayoutView.h 3 | // AutoLayoutProfiling 4 | // 5 | // Created by YDZ on 2017/4/2. 6 | // Copyright © 2017年 YDZ. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "ALPAutoLayoutTypes.h" 11 | 12 | @interface ALPYogaLayoutView : UIView 13 | - (id)initWithFrame:(CGRect)frame type:(ALPLayoutType)aType viewCount:(NSUInteger)aViewCount; 14 | @end 15 | -------------------------------------------------------------------------------- /contents/iOS/AutoLayoutProfiling-master/AutoLayoutProfiling/AutoLayoutProfiling-Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header for all source files of the 'AutoLayoutProfiling' target in the 'AutoLayoutProfiling' project 3 | // 4 | 5 | #import 6 | 7 | #ifndef __IPHONE_3_0 8 | #warning "This project uses features only available in iOS SDK 3.0 and later." 9 | #endif 10 | 11 | #ifdef __OBJC__ 12 | #import 13 | 14 | #import 15 | 16 | #endif -------------------------------------------------------------------------------- /contents/iOS/AutoLayoutProfiling-master/AutoLayoutProfiling/Default-568h@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/iOS/AutoLayoutProfiling-master/AutoLayoutProfiling/Default-568h@2x.png -------------------------------------------------------------------------------- /contents/iOS/AutoLayoutProfiling-master/AutoLayoutProfiling/Default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/iOS/AutoLayoutProfiling-master/AutoLayoutProfiling/Default.png -------------------------------------------------------------------------------- /contents/iOS/AutoLayoutProfiling-master/AutoLayoutProfiling/Default@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/iOS/AutoLayoutProfiling-master/AutoLayoutProfiling/Default@2x.png -------------------------------------------------------------------------------- /contents/iOS/AutoLayoutProfiling-master/AutoLayoutProfiling/UIView+Helpers.h: -------------------------------------------------------------------------------- 1 | // 2 | // Created by Florian on 18.04.13. 3 | // 4 | 5 | 6 | #import 7 | 8 | @interface UIView (Helpers) 9 | 10 | - (CGFloat)randomNumber; 11 | - (UIColor*)randomColor; 12 | 13 | @end -------------------------------------------------------------------------------- /contents/iOS/AutoLayoutProfiling-master/AutoLayoutProfiling/UIView+Helpers.m: -------------------------------------------------------------------------------- 1 | // 2 | // Created by Florian on 18.04.13. 3 | // 4 | 5 | 6 | #import "UIView+Helpers.h" 7 | 8 | 9 | @implementation UIView (Helpers) 10 | 11 | - (CGFloat)randomNumber { 12 | return (arc4random() % 1000) / 1000.0; 13 | } 14 | 15 | - (UIColor*)randomColor { 16 | CGFloat hue = (arc4random() % 256 / 256.0); 17 | return [UIColor colorWithHue:hue saturation:1 brightness:1 alpha:1]; 18 | } 19 | 20 | @end -------------------------------------------------------------------------------- /contents/iOS/AutoLayoutProfiling-master/AutoLayoutProfiling/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | -------------------------------------------------------------------------------- /contents/iOS/AutoLayoutProfiling-master/AutoLayoutProfiling/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // AutoLayoutProfiling 4 | // 5 | // Created by Florian on 04/17/13. 6 | // Copyright (c) 2013 Florian Kugler. All rights reserved. 7 | // 8 | 9 | #import "ALPAppDelegate.h" 10 | 11 | int main(int argc, char *argv[]) 12 | { 13 | @autoreleasepool { 14 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([ALPAppDelegate class])); 15 | } 16 | 17 | } -------------------------------------------------------------------------------- /contents/iOS/AutoLayoutProfiling-master/Podfile: -------------------------------------------------------------------------------- 1 | # Uncomment the next line to define a global platform for your project 2 | source 'https://github.com/CocoaPods/Specs.git' 3 | platform :ios, '9.0' 4 | 5 | target 'AutoLayoutProfiling' do 6 | # Uncomment the next line if you're using Swift or would like to use dynamic frameworks 7 | # use_frameworks! 8 | 9 | # Pods for AutoLayoutProfiling 10 | # use_frameworks! 11 | pod 'YogaKit' 12 | pod 'WeexSDK', :path=>'../sdk/' 13 | end 14 | -------------------------------------------------------------------------------- /contents/iOS/AutoLayoutProfiling-master/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - SocketRocket (0.5.1) 3 | - WeexSDK (0.10.0): 4 | - SocketRocket 5 | - Yoga (1.3.0) 6 | - YogaKit (1.3.0): 7 | - Yoga (~> 1.3) 8 | 9 | DEPENDENCIES: 10 | - WeexSDK (from `../sdk/`) 11 | - YogaKit 12 | 13 | EXTERNAL SOURCES: 14 | WeexSDK: 15 | :path: ../sdk/ 16 | 17 | SPEC CHECKSUMS: 18 | SocketRocket: d57c7159b83c3c6655745cd15302aa24b6bae531 19 | WeexSDK: 825d5c8fcfa0577ee6f71bfe255ac10b7af0bc43 20 | Yoga: 2ed1d7accfef3610a67f58c0cf101a0662137f2c 21 | YogaKit: cddeccc6a8d2aff563e4c738d3bddb290a6de4cb 22 | 23 | PODFILE CHECKSUM: b991c6eb095a248ed24a60db73677992bb3c0995 24 | 25 | COCOAPODS: 1.2.0 26 | -------------------------------------------------------------------------------- /contents/iOS/AutoLayoutProfiling-master/README.md: -------------------------------------------------------------------------------- 1 | # Layout Profiling 2 | 3 | 这是一个测试Autolayout,Frame,FlexBox 布局性能的例子 -------------------------------------------------------------------------------- /contents/iOS/CircleSlider-master/CircleSlider.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /contents/iOS/CircleSlider-master/CircleSlider.xcodeproj/project.xcworkspace/xcuserdata/YDZ.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/iOS/CircleSlider-master/CircleSlider.xcodeproj/project.xcworkspace/xcuserdata/YDZ.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /contents/iOS/CircleSlider-master/CircleSlider.xcodeproj/project.xcworkspace/xcuserdata/yudezhi.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/iOS/CircleSlider-master/CircleSlider.xcodeproj/project.xcworkspace/xcuserdata/yudezhi.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /contents/iOS/CircleSlider-master/CircleSlider.xcodeproj/xcuserdata/YDZ.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | CircleSlider.xcscheme 8 | 9 | orderHint 10 | 0 11 | 12 | 13 | SuppressBuildableAutocreation 14 | 15 | 095068E51D281E7900349A88 16 | 17 | primary 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /contents/iOS/CircleSlider-master/CircleSlider.xcodeproj/xcuserdata/yudezhi.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | CircleSlider.xcscheme 8 | 9 | orderHint 10 | 0 11 | 12 | 13 | SuppressBuildableAutocreation 14 | 15 | 095068E51D281E7900349A88 16 | 17 | primary 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /contents/iOS/CircleSlider-master/CircleSlider/AppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.h 3 | // CircleSlider 4 | // 5 | // Created by yudezhi on 16/7/3. 6 | // Copyright © 2016年 ydz. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface AppDelegate : UIResponder 12 | 13 | @property (strong, nonatomic) UIWindow *window; 14 | 15 | 16 | @end 17 | 18 | -------------------------------------------------------------------------------- /contents/iOS/CircleSlider-master/CircleSlider/UICircleSlider.h: -------------------------------------------------------------------------------- 1 | // 2 | // UICircleSlider.h 3 | // homer 4 | // 5 | // Created by yu dezhi on 7/3/16. 6 | // Copyright (c) 2016 Quatanium Co., Ltd. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | IB_DESIGNABLE 12 | @interface UICircleSlider : UIControl 13 | @property (nonatomic) IBInspectable NSInteger currentValue; 14 | @property (nonatomic) IBInspectable double innerCircleRadius; 15 | @property (nonatomic) IBInspectable double outerCircleRadius; 16 | - (void)initUICircleSliderWithTotalNum:(NSInteger)totalNum drawNum:(NSInteger)drawNum startAngle:(double)startAngle numScale:(NSInteger)numScale innerCircleDiameter:(double)innerCircleDiameter; 17 | @end 18 | -------------------------------------------------------------------------------- /contents/iOS/CircleSlider-master/CircleSlider/ViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.h 3 | // CircleSlider 4 | // 5 | // Created by yudezhi on 16/7/3. 6 | // Copyright © 2016年 ydz. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface ViewController : UIViewController 12 | 13 | 14 | @end 15 | 16 | -------------------------------------------------------------------------------- /contents/iOS/CircleSlider-master/CircleSlider/ViewController.m: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.m 3 | // CircleSlider 4 | // 5 | // Created by yudezhi on 16/7/3. 6 | // Copyright © 2016年 ydz. All rights reserved. 7 | // 8 | 9 | #import "ViewController.h" 10 | 11 | @interface ViewController () 12 | 13 | @end 14 | 15 | @implementation ViewController 16 | 17 | - (void)viewDidLoad { 18 | [super viewDidLoad]; 19 | // Do any additional setup after loading the view, typically from a nib. 20 | } 21 | 22 | - (void)didReceiveMemoryWarning { 23 | [super didReceiveMemoryWarning]; 24 | // Dispose of any resources that can be recreated. 25 | } 26 | 27 | @end 28 | -------------------------------------------------------------------------------- /contents/iOS/CircleSlider-master/CircleSlider/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // CircleSlider 4 | // 5 | // Created by yudezhi on 16/7/3. 6 | // Copyright © 2016年 ydz. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "AppDelegate.h" 11 | 12 | int main(int argc, char * argv[]) { 13 | @autoreleasepool { 14 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /contents/iOS/MultiEnvironmentsSettingDemo-master/Podfile: -------------------------------------------------------------------------------- 1 | # Uncomment this line to define a global platform for your project 2 | # platform :ios, '8.0' 3 | # Uncomment this line if you're using Swift 4 | # use_frameworks! 5 | 6 | target 'TestMultiXCConfig' do 7 | pod 'FXForms' 8 | end 9 | 10 | -------------------------------------------------------------------------------- /contents/iOS/MultiEnvironmentsSettingDemo-master/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - FXForms (1.2.14) 3 | 4 | DEPENDENCIES: 5 | - FXForms 6 | 7 | SPEC CHECKSUMS: 8 | FXForms: 724500c0c3f3eb3ba1004b3b83abcee55d3daf18 9 | 10 | COCOAPODS: 0.39.0 11 | -------------------------------------------------------------------------------- /contents/iOS/MultiEnvironmentsSettingDemo-master/Pods/FXForms/LICENSE.md: -------------------------------------------------------------------------------- 1 | FXForms 2 | 3 | Version 1.2.14, November 2nd, 2015 4 | 5 | Copyright (C) 2014 Charcoal Design 6 | 7 | This software is provided 'as-is', without any express or implied 8 | warranty. In no event will the authors be held liable for any damages 9 | arising from the use of this software. 10 | 11 | Permission is granted to anyone to use this software for any purpose, 12 | including commercial applications, and to alter it and redistribute it 13 | freely, subject to the following restrictions: 14 | 15 | 1. The origin of this software must not be misrepresented; you must not 16 | claim that you wrote the original software. If you use this software 17 | in a product, an acknowledgment in the product documentation would be 18 | appreciated but is not required. 19 | 2. Altered source versions must be plainly marked as such, and must not be 20 | misrepresented as being the original software. 21 | 3. This notice may not be removed or altered from any source distribution. -------------------------------------------------------------------------------- /contents/iOS/MultiEnvironmentsSettingDemo-master/Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - FXForms (1.2.14) 3 | 4 | DEPENDENCIES: 5 | - FXForms 6 | 7 | SPEC CHECKSUMS: 8 | FXForms: 724500c0c3f3eb3ba1004b3b83abcee55d3daf18 9 | 10 | COCOAPODS: 0.39.0 11 | -------------------------------------------------------------------------------- /contents/iOS/MultiEnvironmentsSettingDemo-master/Pods/Pods.xcodeproj/xcuserdata/YDZ.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | FXForms.xcscheme 8 | 9 | isShown 10 | 11 | orderHint 12 | 1 13 | 14 | Pods-TestMultiXCConfig.xcscheme 15 | 16 | isShown 17 | 18 | orderHint 19 | 2 20 | 21 | 22 | SuppressBuildableAutocreation 23 | 24 | 7DEDDD685B0D8F014FE9E3F56AA7E92B 25 | 26 | primary 27 | 28 | 29 | BD65EEC6047A3CDB15CD15BF89978B06 30 | 31 | primary 32 | 33 | 34 | 35 | 36 | 37 | -------------------------------------------------------------------------------- /contents/iOS/MultiEnvironmentsSettingDemo-master/Pods/Pods.xcodeproj/xcuserdata/zt.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | FXForms.xcscheme 8 | 9 | isShown 10 | 11 | 12 | Pods-TestMultiXCConfig.xcscheme 13 | 14 | isShown 15 | 16 | 17 | 18 | SuppressBuildableAutocreation 19 | 20 | 7DEDDD685B0D8F014FE9E3F56AA7E92B 21 | 22 | primary 23 | 24 | 25 | BD65EEC6047A3CDB15CD15BF89978B06 26 | 27 | primary 28 | 29 | 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /contents/iOS/MultiEnvironmentsSettingDemo-master/Pods/Target Support Files/FXForms/FXForms-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_FXForms : NSObject 3 | @end 4 | @implementation PodsDummy_FXForms 5 | @end 6 | -------------------------------------------------------------------------------- /contents/iOS/MultiEnvironmentsSettingDemo-master/Pods/Target Support Files/FXForms/FXForms-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #endif 4 | 5 | -------------------------------------------------------------------------------- /contents/iOS/MultiEnvironmentsSettingDemo-master/Pods/Target Support Files/FXForms/FXForms.xcconfig: -------------------------------------------------------------------------------- 1 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 2 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/FXForms" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/FXForms" 3 | PODS_ROOT = ${SRCROOT} 4 | SKIP_INSTALL = YES -------------------------------------------------------------------------------- /contents/iOS/MultiEnvironmentsSettingDemo-master/Pods/Target Support Files/Pods-TestMultiXCConfig/Pods-TestMultiXCConfig-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_TestMultiXCConfig : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_TestMultiXCConfig 5 | @end 6 | -------------------------------------------------------------------------------- /contents/iOS/MultiEnvironmentsSettingDemo-master/Pods/Target Support Files/Pods-TestMultiXCConfig/Pods-TestMultiXCConfig.appstore.xcconfig: -------------------------------------------------------------------------------- 1 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 2 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/FXForms" 3 | OTHER_CFLAGS = $(inherited) -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/FXForms" 4 | OTHER_LDFLAGS = $(inherited) -ObjC -l"FXForms" 5 | PODS_ROOT = ${SRCROOT}/Pods -------------------------------------------------------------------------------- /contents/iOS/MultiEnvironmentsSettingDemo-master/Pods/Target Support Files/Pods-TestMultiXCConfig/Pods-TestMultiXCConfig.debug.xcconfig: -------------------------------------------------------------------------------- 1 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 2 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/FXForms" 3 | OTHER_CFLAGS = $(inherited) -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/FXForms" 4 | OTHER_LDFLAGS = $(inherited) -ObjC -l"FXForms" 5 | PODS_ROOT = ${SRCROOT}/Pods -------------------------------------------------------------------------------- /contents/iOS/MultiEnvironmentsSettingDemo-master/Pods/Target Support Files/Pods-TestMultiXCConfig/Pods-TestMultiXCConfig.enterprise.xcconfig: -------------------------------------------------------------------------------- 1 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 2 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/FXForms" 3 | OTHER_CFLAGS = $(inherited) -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/FXForms" 4 | OTHER_LDFLAGS = $(inherited) -ObjC -l"FXForms" 5 | PODS_ROOT = ${SRCROOT}/Pods -------------------------------------------------------------------------------- /contents/iOS/MultiEnvironmentsSettingDemo-master/Pods/Target Support Files/Pods-TestMultiXCConfig/Pods-TestMultiXCConfig.jiehe.xcconfig: -------------------------------------------------------------------------------- 1 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 2 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/FXForms" 3 | OTHER_CFLAGS = $(inherited) -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/FXForms" 4 | OTHER_LDFLAGS = $(inherited) -ObjC -l"FXForms" 5 | PODS_ROOT = ${SRCROOT}/Pods -------------------------------------------------------------------------------- /contents/iOS/MultiEnvironmentsSettingDemo-master/Pods/Target Support Files/Pods-TestMultiXCConfig/Pods-TestMultiXCConfig.release.xcconfig: -------------------------------------------------------------------------------- 1 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 2 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/FXForms" 3 | OTHER_CFLAGS = $(inherited) -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/FXForms" 4 | OTHER_LDFLAGS = $(inherited) -ObjC -l"FXForms" 5 | PODS_ROOT = ${SRCROOT}/Pods -------------------------------------------------------------------------------- /contents/iOS/MultiEnvironmentsSettingDemo-master/README.md: -------------------------------------------------------------------------------- 1 | # iOS 多环境打包配置 2 | 用一个Scheme配置多个环境变量,Run的时候选择不同的Build Configuration就可以分别打出不用的包,但是这种一个Schem配置打多个包的情况在实际项目中,我是不推荐的!这里仅仅是为了展示如何配置多环境的过程,配置Scheme,并且有Cocopods的时候怎么配置的Demo 3 | 4 | ##怎么设计Scheme 5 | 关于项目中具体应该怎么设计Scheme,请看我这篇博客的分析。 6 | 7 | ##出现异常 8 | 如果程序运行出现“The operation couldn‘t be completed (LaunchServicesError error 0.)” Clean一下就好了。 -------------------------------------------------------------------------------- /contents/iOS/MultiEnvironmentsSettingDemo-master/TestMultiXCConfig.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /contents/iOS/MultiEnvironmentsSettingDemo-master/TestMultiXCConfig.xcodeproj/project.xcworkspace/xcuserdata/YDZ.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/iOS/MultiEnvironmentsSettingDemo-master/TestMultiXCConfig.xcodeproj/project.xcworkspace/xcuserdata/YDZ.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /contents/iOS/MultiEnvironmentsSettingDemo-master/TestMultiXCConfig.xcodeproj/project.xcworkspace/xcuserdata/zt.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/iOS/MultiEnvironmentsSettingDemo-master/TestMultiXCConfig.xcodeproj/project.xcworkspace/xcuserdata/zt.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /contents/iOS/MultiEnvironmentsSettingDemo-master/TestMultiXCConfig.xcodeproj/xcuserdata/YDZ.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | TestMultiXCConfig.xcscheme 8 | 9 | orderHint 10 | 0 11 | 12 | 13 | SuppressBuildableAutocreation 14 | 15 | 7B7010C01C07F997008EF05E 16 | 17 | primary 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /contents/iOS/MultiEnvironmentsSettingDemo-master/TestMultiXCConfig.xcodeproj/xcuserdata/zt.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | Appstore.xcscheme 8 | 9 | isShown 10 | 11 | orderHint 12 | 0 13 | 14 | Debug.xcscheme 15 | 16 | isShown 17 | 18 | orderHint 19 | 1 20 | 21 | Enterprise.xcscheme 22 | 23 | orderHint 24 | 3 25 | 26 | JieHe.xcscheme 27 | 28 | orderHint 29 | 2 30 | 31 | 32 | SuppressBuildableAutocreation 33 | 34 | 7B7010C01C07F997008EF05E 35 | 36 | primary 37 | 38 | 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /contents/iOS/MultiEnvironmentsSettingDemo-master/TestMultiXCConfig.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /contents/iOS/MultiEnvironmentsSettingDemo-master/TestMultiXCConfig.xcworkspace/xcuserdata/YDZ.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/iOS/MultiEnvironmentsSettingDemo-master/TestMultiXCConfig.xcworkspace/xcuserdata/YDZ.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /contents/iOS/MultiEnvironmentsSettingDemo-master/TestMultiXCConfig.xcworkspace/xcuserdata/zt.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/iOS/MultiEnvironmentsSettingDemo-master/TestMultiXCConfig.xcworkspace/xcuserdata/zt.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /contents/iOS/MultiEnvironmentsSettingDemo-master/TestMultiXCConfig/AppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.h 3 | // TestMultiXCConfig 4 | // 5 | // Created by apple on 16-7-20. 6 | // Copyright (c) 2016年 boyce. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface AppDelegate : UIResponder 12 | 13 | @property (strong, nonatomic) UIWindow *window; 14 | 15 | 16 | @end 17 | 18 | -------------------------------------------------------------------------------- /contents/iOS/MultiEnvironmentsSettingDemo-master/TestMultiXCConfig/Assets.xcassets/AppStore.appiconset/Appstore57@.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/iOS/MultiEnvironmentsSettingDemo-master/TestMultiXCConfig/Assets.xcassets/AppStore.appiconset/Appstore57@.png -------------------------------------------------------------------------------- /contents/iOS/MultiEnvironmentsSettingDemo-master/TestMultiXCConfig/Assets.xcassets/AppStore.appiconset/Appstore57@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/iOS/MultiEnvironmentsSettingDemo-master/TestMultiXCConfig/Assets.xcassets/AppStore.appiconset/Appstore57@2x.png -------------------------------------------------------------------------------- /contents/iOS/MultiEnvironmentsSettingDemo-master/TestMultiXCConfig/Assets.xcassets/AppStore.appiconset/Appstore@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/iOS/MultiEnvironmentsSettingDemo-master/TestMultiXCConfig/Assets.xcassets/AppStore.appiconset/Appstore@2x.png -------------------------------------------------------------------------------- /contents/iOS/MultiEnvironmentsSettingDemo-master/TestMultiXCConfig/Assets.xcassets/AppStore.appiconset/Appstore@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/iOS/MultiEnvironmentsSettingDemo-master/TestMultiXCConfig/Assets.xcassets/AppStore.appiconset/Appstore@3x.png -------------------------------------------------------------------------------- /contents/iOS/MultiEnvironmentsSettingDemo-master/TestMultiXCConfig/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /contents/iOS/MultiEnvironmentsSettingDemo-master/TestMultiXCConfig/Assets.xcassets/Debug.appiconset/Debug57.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/iOS/MultiEnvironmentsSettingDemo-master/TestMultiXCConfig/Assets.xcassets/Debug.appiconset/Debug57.png -------------------------------------------------------------------------------- /contents/iOS/MultiEnvironmentsSettingDemo-master/TestMultiXCConfig/Assets.xcassets/Debug.appiconset/Debug57@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/iOS/MultiEnvironmentsSettingDemo-master/TestMultiXCConfig/Assets.xcassets/Debug.appiconset/Debug57@2x.png -------------------------------------------------------------------------------- /contents/iOS/MultiEnvironmentsSettingDemo-master/TestMultiXCConfig/Assets.xcassets/Debug.appiconset/Debug@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/iOS/MultiEnvironmentsSettingDemo-master/TestMultiXCConfig/Assets.xcassets/Debug.appiconset/Debug@2x.png -------------------------------------------------------------------------------- /contents/iOS/MultiEnvironmentsSettingDemo-master/TestMultiXCConfig/Assets.xcassets/Debug.appiconset/Debug@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/iOS/MultiEnvironmentsSettingDemo-master/TestMultiXCConfig/Assets.xcassets/Debug.appiconset/Debug@3x.png -------------------------------------------------------------------------------- /contents/iOS/MultiEnvironmentsSettingDemo-master/TestMultiXCConfig/Assets.xcassets/Enterprise.appiconset/Enterprise57@.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/iOS/MultiEnvironmentsSettingDemo-master/TestMultiXCConfig/Assets.xcassets/Enterprise.appiconset/Enterprise57@.png -------------------------------------------------------------------------------- /contents/iOS/MultiEnvironmentsSettingDemo-master/TestMultiXCConfig/Assets.xcassets/Enterprise.appiconset/Enterprise57@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/iOS/MultiEnvironmentsSettingDemo-master/TestMultiXCConfig/Assets.xcassets/Enterprise.appiconset/Enterprise57@2x.png -------------------------------------------------------------------------------- /contents/iOS/MultiEnvironmentsSettingDemo-master/TestMultiXCConfig/Assets.xcassets/Enterprise.appiconset/Enterprise@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/iOS/MultiEnvironmentsSettingDemo-master/TestMultiXCConfig/Assets.xcassets/Enterprise.appiconset/Enterprise@2x.png -------------------------------------------------------------------------------- /contents/iOS/MultiEnvironmentsSettingDemo-master/TestMultiXCConfig/Assets.xcassets/Enterprise.appiconset/Enterprise@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/iOS/MultiEnvironmentsSettingDemo-master/TestMultiXCConfig/Assets.xcassets/Enterprise.appiconset/Enterprise@3x.png -------------------------------------------------------------------------------- /contents/iOS/MultiEnvironmentsSettingDemo-master/TestMultiXCConfig/Assets.xcassets/JieHe.appiconset/JieHe57@.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/iOS/MultiEnvironmentsSettingDemo-master/TestMultiXCConfig/Assets.xcassets/JieHe.appiconset/JieHe57@.png -------------------------------------------------------------------------------- /contents/iOS/MultiEnvironmentsSettingDemo-master/TestMultiXCConfig/Assets.xcassets/JieHe.appiconset/JieHe57@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/iOS/MultiEnvironmentsSettingDemo-master/TestMultiXCConfig/Assets.xcassets/JieHe.appiconset/JieHe57@2x.png -------------------------------------------------------------------------------- /contents/iOS/MultiEnvironmentsSettingDemo-master/TestMultiXCConfig/Assets.xcassets/JieHe.appiconset/JieHe@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/iOS/MultiEnvironmentsSettingDemo-master/TestMultiXCConfig/Assets.xcassets/JieHe.appiconset/JieHe@2x.png -------------------------------------------------------------------------------- /contents/iOS/MultiEnvironmentsSettingDemo-master/TestMultiXCConfig/Assets.xcassets/JieHe.appiconset/JieHe@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/iOS/MultiEnvironmentsSettingDemo-master/TestMultiXCConfig/Assets.xcassets/JieHe.appiconset/JieHe@3x.png -------------------------------------------------------------------------------- /contents/iOS/MultiEnvironmentsSettingDemo-master/TestMultiXCConfig/ViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.h 3 | // TestMultiXCConfig 4 | // 5 | // Created by apple on 16-7-20. 6 | // Copyright (c) 2016年 boyce. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface ViewController : UIViewController 12 | 13 | 14 | @end 15 | 16 | -------------------------------------------------------------------------------- /contents/iOS/MultiEnvironmentsSettingDemo-master/TestMultiXCConfig/ViewController.m: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.m 3 | // TestMultiXCConfig 4 | // 5 | // Created by apple on 16-7-20. 6 | // Copyright (c) 2016年 boyce. All rights reserved. 7 | // 8 | 9 | #import "ViewController.h" 10 | 11 | @interface ViewController () 12 | 13 | @end 14 | 15 | @implementation ViewController 16 | 17 | - (void)viewDidLoad { 18 | [super viewDidLoad]; 19 | 20 | NSLog(@"name = %@",[self readValueFromConfigurationFile]); 21 | } 22 | 23 | 24 | 25 | - (NSString *) readValueFromConfigurationFile { 26 | NSBundle *bundle = [NSBundle mainBundle]; 27 | NSString *path = [bundle pathForResource:@"Configuration" ofType:@"plist"]; 28 | NSDictionary *config = [NSDictionary dictionaryWithContentsOfFile:path]; 29 | return config[@"name"]; 30 | } 31 | 32 | 33 | @end 34 | -------------------------------------------------------------------------------- /contents/iOS/MultiEnvironmentsSettingDemo-master/TestMultiXCConfig/config/AppStore/Configuration.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | name 6 | Appstore 7 | 8 | 9 | -------------------------------------------------------------------------------- /contents/iOS/MultiEnvironmentsSettingDemo-master/TestMultiXCConfig/config/Debug/Configuration.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | name 6 | Debug 7 | 8 | 9 | -------------------------------------------------------------------------------- /contents/iOS/MultiEnvironmentsSettingDemo-master/TestMultiXCConfig/config/Enterprise/Configuration.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | name 6 | Enterprise 7 | 8 | 9 | -------------------------------------------------------------------------------- /contents/iOS/MultiEnvironmentsSettingDemo-master/TestMultiXCConfig/config/JieHe/Configuration.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | name 6 | JieHe 7 | 8 | 9 | -------------------------------------------------------------------------------- /contents/iOS/MultiEnvironmentsSettingDemo-master/TestMultiXCConfig/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // TestMultiXCConfig 4 | // 5 | // Created by apple on 16-7-20. 6 | // Copyright (c) 2016年 boyce. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "AppDelegate.h" 11 | 12 | int main(int argc, char * argv[]) { 13 | @autoreleasepool { 14 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /contents/iOS/MultiEnvironmentsSettingDemo-master/TestMultiXCConfig/xcconfig/AppStore.xcconfig: -------------------------------------------------------------------------------- 1 | // 2 | // Debug.xcconfig 3 | // TestMultiXCConfig 4 | // 5 | // Created by apple on 16-7-20. 6 | // Copyright (c) 2016年 boyce. All rights reserved. 7 | // 8 | #include "Common.xcconfig" 9 | 10 | scheme = AppStore 11 | ProductDisplayName = AppStore 12 | BundleId = com.ydz.AppStore -------------------------------------------------------------------------------- /contents/iOS/MultiEnvironmentsSettingDemo-master/TestMultiXCConfig/xcconfig/Common.xcconfig: -------------------------------------------------------------------------------- 1 | // 2 | // Debug.xcconfig 3 | // TestMultiXCConfig 4 | // 5 | // Created by apple on 16-7-20. 6 | // Copyright (c) 2016年 boyce. All rights reserved. 7 | // 8 | #include "Pods/Target Support Files/Pods-TestMultiXCConfig/Pods-TestMultiXCConfig.debug.xcconfig" 9 | #include "Pods/Target Support Files/Pods-TestMultiXCConfig/Pods-TestMultiXCConfig.enterprise.xcconfig" 10 | #include "Pods/Target Support Files/Pods-TestMultiXCConfig/Pods-TestMultiXCConfig.jiehe.xcconfig" 11 | #include "Pods/Target Support Files/Pods-TestMultiXCConfig/Pods-TestMultiXCConfig.appstore.xcconfig" 12 | 13 | BuildVersion = 2.6.8 -------------------------------------------------------------------------------- /contents/iOS/MultiEnvironmentsSettingDemo-master/TestMultiXCConfig/xcconfig/Debug.xcconfig: -------------------------------------------------------------------------------- 1 | // 2 | // Debug.xcconfig 3 | // TestMultiXCConfig 4 | // 5 | // Created by apple on 16-7-20. 6 | // Copyright (c) 2016年 boyce. All rights reserved. 7 | // 8 | #include "Common.xcconfig" 9 | 10 | 11 | scheme = Debug 12 | ProductDisplayName = Debug 13 | BundleId = com.ydz.test -------------------------------------------------------------------------------- /contents/iOS/MultiEnvironmentsSettingDemo-master/TestMultiXCConfig/xcconfig/Enterprise.xcconfig: -------------------------------------------------------------------------------- 1 | // 2 | // Release.xcconfig 3 | // TestMultiXCConfig 4 | // 5 | // Created by apple on 16-7-20. 6 | // Copyright (c) 2016年 boyce. All rights reserved. 7 | // 8 | #include "Common.xcconfig" 9 | 10 | scheme = Enterprise 11 | ProductDisplayName = 企业版 12 | BundleId = com.ydz.release -------------------------------------------------------------------------------- /contents/iOS/MultiEnvironmentsSettingDemo-master/TestMultiXCConfig/xcconfig/JieHe.xcconfig: -------------------------------------------------------------------------------- 1 | // 2 | // Debug.xcconfig 3 | // TestMultiXCConfig 4 | // 5 | // Created by apple on 16-7-20. 6 | // Copyright (c) 2016年 boyce. All rights reserved. 7 | // 8 | #include "Common.xcconfig" 9 | 10 | scheme = JieHe 11 | ProductDisplayName = JieHe 12 | BundleId = com.ydz.JieHe 13 | -------------------------------------------------------------------------------- /contents/iOS/Weex/sdk/NOTICE: -------------------------------------------------------------------------------- 1 | Weex Sdk iOS 2 | Copyright 2016 Alibaba Group 3 | 4 | This product includes software developed at Alibaba Group. (http://www.alibabagroup.com) 5 | 6 | This product contains software css-layout(https://github.com/facebook/css-layout) developed 7 | by Facebook Inc., licensed under the BSD License. 8 | 9 | This product contains software React Native(https://github.com/facebook/react-native) developed 10 | by Facebook Inc., licensed under the BSD License. 11 | 12 | This product contains software SRWebSocket (https://github.com/facebook/SocketRocket)by Facebook Inc., licensed under the Apache License, Version 2.0. 13 | 14 | -------------------------------------------------------------------------------- /contents/iOS/Weex/sdk/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/iOS/Weex/sdk/README.md -------------------------------------------------------------------------------- /contents/iOS/Weex/sdk/WeexSDK.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /contents/iOS/Weex/sdk/WeexSDK.xcodeproj/project.xcworkspace/xcuserdata/YDZ.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/iOS/Weex/sdk/WeexSDK.xcodeproj/project.xcworkspace/xcuserdata/YDZ.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /contents/iOS/Weex/sdk/WeexSDK/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | $(CURRENT_PROJECT_VERSION) 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /contents/iOS/Weex/sdk/WeexSDK/Resources/wx_load_error@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/iOS/Weex/sdk/WeexSDK/Resources/wx_load_error@3x.png -------------------------------------------------------------------------------- /contents/iOS/Weex/sdk/WeexSDK/Sources/Bridge/JSValue+Weex.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by Weex. 3 | * Copyright (c) 2016, Alibaba, Inc. All rights reserved. 4 | * 5 | * This source code is licensed under the Apache Licence 2.0. 6 | * For the full copyright and license information,please view the LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #import 10 | 11 | @interface JSValue (Weex) 12 | 13 | + (JSValue *)wx_valueWithReturnValueFromInvocation:(NSInvocation *)invocation inContext:(JSContext *)context; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /contents/iOS/Weex/sdk/WeexSDK/Sources/Bridge/WXBridgeMethod.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by Weex. 3 | * Copyright (c) 2016, Alibaba, Inc. All rights reserved. 4 | * 5 | * This source code is licensed under the Apache Licence 2.0. 6 | * For the full copyright and license information,please view the LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #import 10 | @class WXSDKInstance; 11 | 12 | @interface WXBridgeMethod : NSObject 13 | 14 | @property (nonatomic, strong, readonly) NSString *methodName; 15 | @property (nonatomic, copy, readonly) NSArray *arguments; 16 | @property (nonatomic, weak, readonly) WXSDKInstance *instance; 17 | 18 | - (instancetype)initWithMethodName:(NSString *)methodName 19 | arguments:(NSArray *)arguments 20 | instance:(WXSDKInstance *)instance; 21 | 22 | - (NSInvocation *)invocationWithTarget:(id)target selector:(SEL)selector; 23 | 24 | @end 25 | 26 | -------------------------------------------------------------------------------- /contents/iOS/Weex/sdk/WeexSDK/Sources/Bridge/WXCallJSMethod.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by Weex. 3 | * Copyright (c) 2016, Alibaba, Inc. All rights reserved. 4 | * 5 | * This source code is licensed under the Apache Licence 2.0. 6 | * For the full copyright and license information,please view the LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #import "WXBridgeMethod.h" 10 | 11 | @interface WXCallJSMethod : WXBridgeMethod 12 | 13 | - (instancetype)initWithModuleName:(NSString *)moduleName 14 | methodName:(NSString *)methodName 15 | arguments:(NSArray *)arguments 16 | instance:(WXSDKInstance *)instance; 17 | 18 | - (NSDictionary *)callJSTask; 19 | 20 | @end 21 | -------------------------------------------------------------------------------- /contents/iOS/Weex/sdk/WeexSDK/Sources/Bridge/WXCallJSMethod.m: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by Weex. 3 | * Copyright (c) 2016, Alibaba, Inc. All rights reserved. 4 | * 5 | * This source code is licensed under the Apache Licence 2.0. 6 | * For the full copyright and license information,please view the LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #import "WXCallJSMethod.h" 10 | 11 | @implementation WXCallJSMethod 12 | { 13 | NSString *_moduleName; 14 | } 15 | 16 | - (instancetype)initWithModuleName:(NSString *)moduleName 17 | methodName:(NSString *)methodName 18 | arguments:(NSArray *)arguments 19 | instance:(WXSDKInstance *)instance 20 | { 21 | if (self = [super initWithMethodName:methodName arguments:arguments instance:instance]) { 22 | _moduleName = moduleName; 23 | } 24 | 25 | return self; 26 | } 27 | 28 | - (NSDictionary *)callJSTask 29 | { 30 | return @{@"module":_moduleName ?: @"", 31 | @"method":self.methodName ?: @"", 32 | @"args":self.arguments ?: @[]}; 33 | } 34 | 35 | @end 36 | -------------------------------------------------------------------------------- /contents/iOS/Weex/sdk/WeexSDK/Sources/Bridge/WXComponentMethod.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by Weex. 3 | * Copyright (c) 2016, Alibaba, Inc. All rights reserved. 4 | * 5 | * This source code is licensed under the Apache Licence 2.0. 6 | * For the full copyright and license information,please view the LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #import "WXBridgeMethod.h" 10 | @class WXComponent; 11 | 12 | @interface WXComponentMethod : WXBridgeMethod 13 | 14 | - (instancetype)initWithComponentRef:(NSString *)ref 15 | methodName:(NSString *)methodName 16 | arguments:(NSArray *)arguments 17 | instance:(WXSDKInstance *)instance; 18 | 19 | - (void)invoke; 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /contents/iOS/Weex/sdk/WeexSDK/Sources/Bridge/WXDebugLoggerBridge.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by Weex. 3 | * Copyright (c) 2016, Alibaba, Inc. All rights reserved. 4 | * 5 | * This source code is licensed under the Apache Licence 2.0. 6 | * For the full copyright and license information,please view the LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #import "WXBridgeProtocol.h" 10 | 11 | @interface WXDebugLoggerBridge : NSObject 12 | 13 | - (instancetype)initWithURL:(NSURL *) URL; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /contents/iOS/Weex/sdk/WeexSDK/Sources/Bridge/WXJSCoreBridge.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by Weex. 3 | * Copyright (c) 2016, Alibaba, Inc. All rights reserved. 4 | * 5 | * This source code is licensed under the Apache Licence 2.0. 6 | * For the full copyright and license information,please view the LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #import "WXBridgeProtocol.h" 10 | 11 | @interface WXJSCoreBridge : NSObject 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /contents/iOS/Weex/sdk/WeexSDK/Sources/Bridge/WXModuleMethod.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by Weex. 3 | * Copyright (c) 2016, Alibaba, Inc. All rights reserved. 4 | * 5 | * This source code is licensed under the Apache Licence 2.0. 6 | * For the full copyright and license information,please view the LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #import "WXBridgeMethod.h" 10 | 11 | typedef enum : NSUInteger { 12 | WXModuleMethodTypeSync, 13 | WXModuleMethodTypeAsync, 14 | } WXModuleMethodType; 15 | 16 | @interface WXModuleMethod : WXBridgeMethod 17 | 18 | @property (nonatomic, assign) WXModuleMethodType methodType; 19 | @property (nonatomic, strong, readonly) NSString *moduleName; 20 | 21 | - (instancetype)initWithModuleName:(NSString *)moduleName 22 | methodName:(NSString *)methodName 23 | arguments:(NSArray *)arguments 24 | instance:(WXSDKInstance *)instance; 25 | 26 | - (NSInvocation *)invoke; 27 | 28 | @end 29 | -------------------------------------------------------------------------------- /contents/iOS/Weex/sdk/WeexSDK/Sources/Bridge/WXPolyfillSet.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by Weex. 3 | * Copyright (c) 2016, Alibaba, Inc. All rights reserved. 4 | * 5 | * This source code is licensed under the Apache Licence 2.0. 6 | * For the full copyright and license information,please view the LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #import 10 | #import 11 | 12 | @protocol WXPolyfillSetJSExports 13 | 14 | + (instancetype)create; 15 | 16 | - (BOOL)has:(id)value; 17 | 18 | - (NSUInteger)size; 19 | 20 | - (void)add:(id)value; 21 | 22 | - (BOOL)delete:(id)value; 23 | 24 | - (void)clear; 25 | 26 | @end 27 | 28 | @interface WXPolyfillSet : NSObject 29 | 30 | @end 31 | 32 | -------------------------------------------------------------------------------- /contents/iOS/Weex/sdk/WeexSDK/Sources/Component/WXAComponent.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by Weex. 3 | * Copyright (c) 2016, Alibaba, Inc. All rights reserved. 4 | * 5 | * This source code is licensed under the Apache Licence 2.0. 6 | * For the full copyright and license information,please view the LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #import "WXComponent.h" 10 | 11 | @interface WXAComponent : WXComponent 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /contents/iOS/Weex/sdk/WeexSDK/Sources/Component/WXCanvasComponent.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by Weex. 3 | * Copyright (c) 2016, Alibaba, Inc. All rights reserved. 4 | * 5 | * This source code is licensed under the Apache Licence 2.0. 6 | * For the full copyright and license information,please view the LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #import 10 | #import "WXCanvasModule.h" 11 | #import 12 | 13 | @interface WXCanvasComponent : WXComponent 14 | 15 | - (void) addDrawActions:(NSArray *)actions canvasModule:(WXCanvasModule*)canvasModule; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /contents/iOS/Weex/sdk/WeexSDK/Sources/Component/WXCellComponent.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by Weex. 3 | * Copyright (c) 2016, Alibaba, Inc. All rights reserved. 4 | * 5 | * This source code is licensed under the Apache Licence 2.0. 6 | * For the full copyright and license information,please view the LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #import "WXComponent.h" 10 | @class WXListComponent; 11 | 12 | @interface WXCellComponent : WXComponent 13 | 14 | @property (nonatomic, strong) NSString *scope; 15 | @property (nonatomic, assign) UITableViewRowAnimation insertAnimation; 16 | @property (nonatomic, assign) UITableViewRowAnimation deleteAnimation; 17 | @property (nonatomic, weak) WXListComponent *list; 18 | 19 | @end 20 | -------------------------------------------------------------------------------- /contents/iOS/Weex/sdk/WeexSDK/Sources/Component/WXComponent+GradientColor.h: -------------------------------------------------------------------------------- 1 | // 2 | // WXComponent+GradientColor.h 3 | // Pods 4 | // 5 | // Created by bobning on 16/12/23. 6 | // 7 | // 8 | 9 | #import 10 | #import 11 | #import "WXComponent.h" 12 | #import "WXType.h" 13 | 14 | @interface WXComponent (GradientColor) 15 | 16 | - (void)setGradientLayer; 17 | 18 | - (UIImage *)gradientColorImageFromColors:(NSArray*)colors gradientType:(WXGradientType)gradientType imgSize:(CGSize)imgSize; 19 | 20 | @end 21 | -------------------------------------------------------------------------------- /contents/iOS/Weex/sdk/WeexSDK/Sources/Component/WXDivComponent.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by Weex. 3 | * Copyright (c) 2016, Alibaba, Inc. All rights reserved. 4 | * 5 | * This source code is licensed under the Apache Licence 2.0. 6 | * For the full copyright and license information,please view the LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #import "WXComponent.h" 10 | 11 | @interface WXDivComponent : WXComponent 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /contents/iOS/Weex/sdk/WeexSDK/Sources/Component/WXDivComponent.m: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by Weex. 3 | * Copyright (c) 2016, Alibaba, Inc. All rights reserved. 4 | * 5 | * This source code is licensed under the Apache Licence 2.0. 6 | * For the full copyright and license information,please view the LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #import "WXDivComponent.h" 10 | 11 | @interface WXDivComponent () 12 | @end 13 | 14 | @implementation WXDivComponent 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /contents/iOS/Weex/sdk/WeexSDK/Sources/Component/WXEmbedComponent.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by Weex. 3 | * Copyright (c) 2016, Alibaba, Inc. All rights reserved. 4 | * 5 | * This source code is licensed under the Apache Licence 2.0. 6 | * For the full copyright and license information,please view the LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #import "WXComponent.h" 10 | #import "WXErrorView.h" 11 | 12 | @interface WXEmbedComponent : WXComponent 13 | 14 | - (void)refreshWeex; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /contents/iOS/Weex/sdk/WeexSDK/Sources/Component/WXImageComponent.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by Weex. 3 | * Copyright (c) 2016, Alibaba, Inc. All rights reserved. 4 | * 5 | * This source code is licensed under the Apache Licence 2.0. 6 | * For the full copyright and license information,please view the LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #import "WXComponent.h" 10 | 11 | @interface WXImageComponent : WXComponent 12 | 13 | @end -------------------------------------------------------------------------------- /contents/iOS/Weex/sdk/WeexSDK/Sources/Component/WXListComponent.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by Weex. 3 | * Copyright (c) 2016, Alibaba, Inc. All rights reserved. 4 | * 5 | * This source code is licensed under the Apache Licence 2.0. 6 | * For the full copyright and license information,please view the LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #import "WXScrollerComponent.h" 10 | 11 | @class WXCellComponent; 12 | @class WXHeaderComponent; 13 | @interface WXListComponent : WXScrollerComponent 14 | 15 | - (void)cellDidRemove:(WXCellComponent *)cell; 16 | 17 | - (void)cellDidLayout:(WXCellComponent *)cell; 18 | 19 | - (void)headerDidLayout:(WXHeaderComponent *)header; 20 | 21 | - (void)cellDidRendered:(WXCellComponent *)cell; 22 | 23 | - (void)cell:(WXCellComponent *)cell didMoveToIndex:(NSUInteger)index; 24 | 25 | @end 26 | -------------------------------------------------------------------------------- /contents/iOS/Weex/sdk/WeexSDK/Sources/Component/WXLoadingComponent.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by Weex. 3 | * Copyright (c) 2016, Alibaba, Inc. All rights reserved. 4 | * 5 | * This source code is licensed under the Apache Licence 2.0. 6 | * For the full copyright and license information,please view the LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #import "WXComponent.h" 10 | 11 | @interface WXLoadingComponent : WXComponent 12 | 13 | - (void)resizeFrame; 14 | - (void)loading; 15 | - (BOOL)displayState; 16 | 17 | @end -------------------------------------------------------------------------------- /contents/iOS/Weex/sdk/WeexSDK/Sources/Component/WXLoadingIndicator.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by Weex. 3 | * Copyright (c) 2016, Alibaba, Inc. All rights reserved. 4 | * 5 | * This source code is licensed under the Apache Licence 2.0. 6 | * For the full copyright and license information,please view the LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #import "WXComponent.h" 10 | 11 | @interface WXLoadingIndicator : WXComponent 12 | 13 | - (void)start; 14 | - (void)stop; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /contents/iOS/Weex/sdk/WeexSDK/Sources/Component/WXRefreshComponent.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by Weex. 3 | * Copyright (c) 2016, Alibaba, Inc. All rights reserved. 4 | * 5 | * This source code is licensed under the Apache Licence 2.0. 6 | * For the full copyright and license information,please view the LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #import "WXComponent.h" 10 | 11 | @interface WXRefreshComponent : WXComponent 12 | 13 | - (void)refresh; 14 | 15 | - (BOOL)displayState; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /contents/iOS/Weex/sdk/WeexSDK/Sources/Component/WXScrollerComponent.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by Weex. 3 | * Copyright (c) 2016, Alibaba, Inc. All rights reserved. 4 | * 5 | * This source code is licensed under the Apache Licence 2.0. 6 | * For the full copyright and license information,please view the LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #import "WXScrollerProtocol.h" 10 | #import "WXComponent.h" 11 | 12 | @interface WXScrollerComponent : WXComponent 13 | 14 | @property (nonatomic, copy) void (^onScroll)(UIScrollView *); 15 | 16 | @property (nonatomic, assign) NSUInteger loadmoreretry; 17 | 18 | @property (nonatomic, assign) CGSize contentSize; 19 | 20 | @property (nonatomic, readonly, assign) css_node_t *scrollerCSSNode; 21 | 22 | - (NSUInteger)childrenCountForScrollerLayout; 23 | 24 | - (void)handleAppear; 25 | 26 | @end 27 | 28 | -------------------------------------------------------------------------------- /contents/iOS/Weex/sdk/WeexSDK/Sources/Component/WXSliderComponent.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by Weex. 3 | * Copyright (c) 2016, Alibaba, Inc. All rights reserved. 4 | * 5 | * This source code is licensed under the Apache Licence 2.0. 6 | * For the full copyright and license information,please view the LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #import 10 | #import "WXComponent.h" 11 | 12 | @class WXIndicatorView; 13 | 14 | @interface WXSliderComponent : WXComponent 15 | 16 | - (void)setIndicatorView:(WXIndicatorView *)indicatorView; 17 | 18 | @end 19 | -------------------------------------------------------------------------------- /contents/iOS/Weex/sdk/WeexSDK/Sources/Component/WXSwitchComponent.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by Weex. 3 | * Copyright (c) 2016, Alibaba, Inc. All rights reserved. 4 | * 5 | * This source code is licensed under the Apache Licence 2.0. 6 | * For the full copyright and license information,please view the LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #import "WXComponent.h" 10 | 11 | @interface WXSwitchComponent : WXComponent 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /contents/iOS/Weex/sdk/WeexSDK/Sources/Component/WXTextAreaComponent.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by Weex. 3 | * Copyright (c) 2016, Alibaba, Inc. All rights reserved. 4 | * 5 | * This source code is licensed under the Apache Licence 2.0. 6 | * For the full copyright and license information,please view the LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #import "WXComponent.h" 10 | 11 | @interface WXTextAreaComponent : WXComponent 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /contents/iOS/Weex/sdk/WeexSDK/Sources/Component/WXTextComponent.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by Weex. 3 | * Copyright (c) 2016, Alibaba, Inc. All rights reserved. 4 | * 5 | * This source code is licensed under the Apache Licence 2.0. 6 | * For the full copyright and license information,please view the LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #import "WXComponent.h" 10 | 11 | @interface WXTextComponent : WXComponent 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /contents/iOS/Weex/sdk/WeexSDK/Sources/Component/WXTextInputComponent.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by Weex. 3 | * Copyright (c) 2016, Alibaba, Inc. All rights reserved. 4 | * 5 | * This source code is licensed under the Apache Licence 2.0. 6 | * For the full copyright and license information,please view the LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #import "WXComponent.h" 10 | #import "WXTextComponentProtocol.h" 11 | #import "WXDatePickerManager.h" 12 | 13 | @interface WXTextInputComponent : WXComponent 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /contents/iOS/Weex/sdk/WeexSDK/Sources/Component/WXTransform.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by Weex. 3 | * Copyright (c) 2016, Alibaba, Inc. All rights reserved. 4 | * 5 | * This source code is licensed under the Apache Licence 2.0. 6 | * For the full copyright and license information,please view the LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #import 10 | #import 11 | @class WXSDKInstance; 12 | 13 | @interface WXTransform : NSObject 14 | 15 | @property CGAffineTransform transform; 16 | 17 | - (instancetype)initWithInstance:(WXSDKInstance *)instance NS_DESIGNATED_INITIALIZER; 18 | 19 | - (CATransform3D)getTransform:(NSString *)cssValue; 20 | - (CATransform3D)getTransform:(NSString *)cssValue withView:(UIView *)view; 21 | - (CATransform3D)getTransform:(NSString *)cssValue withView:(UIView *)view withOrigin:(NSString *)origin; 22 | - (CATransform3D)getTransform:(NSString *)cssValue withView:(UIView *)view withOrigin:(NSString *)origin isTransformRotate:(BOOL)isTransformRotate; 23 | - (float)getRotateAngle; 24 | 25 | @end 26 | -------------------------------------------------------------------------------- /contents/iOS/Weex/sdk/WeexSDK/Sources/Component/WXVideoComponent.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by Weex. 3 | * Copyright (c) 2016, Alibaba, Inc. All rights reserved. 4 | * 5 | * This source code is licensed under the Apache Licence 2.0. 6 | * For the full copyright and license information,please view the LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #import "WXComponent.h" 10 | 11 | typedef NS_ENUM(NSInteger, WXPlaybackState) { 12 | WXPlaybackStatePlaying, 13 | WXPlaybackStatePaused, 14 | // WXPlaybackStateStopped, 15 | WXPlaybackStatePlayFinish, 16 | WXPlaybackStateFailed, 17 | }; 18 | 19 | @interface WXVideoView : UIView 20 | 21 | @property (nonatomic, copy) void (^playbackStateChanged)(WXPlaybackState state); 22 | 23 | - (void) setURL:(NSURL*)URL; 24 | 25 | - (void) play; 26 | - (void) pause; 27 | 28 | @end 29 | 30 | @interface WXVideoComponent : WXComponent 31 | 32 | @end 33 | 34 | 35 | -------------------------------------------------------------------------------- /contents/iOS/Weex/sdk/WeexSDK/Sources/Component/WXWebComponent.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by Weex. 3 | * Copyright (c) 2016, Alibaba, Inc. All rights reserved. 4 | * 5 | * This source code is licensed under the Apache Licence 2.0. 6 | * For the full copyright and license information,please view the LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #import "WXComponent.h" 10 | 11 | @interface WXWebComponent : WXComponent 12 | 13 | - (void)notifyWebview:(NSDictionary *) data; 14 | 15 | - (void)reload; 16 | 17 | - (void)goBack; 18 | 19 | - (void)goForward; 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /contents/iOS/Weex/sdk/WeexSDK/Sources/Debug/WXDebugTool.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by Weex. 3 | * Copyright (c) 2016, Alibaba, Inc. All rights reserved. 4 | * 5 | * This source code is licensed under the Apache Licence 2.0. 6 | * For the full copyright and license information,please view the LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #import 10 | #import "WXModuleProtocol.h" 11 | 12 | @interface WXDebugTool : NSObject 13 | 14 | //+ (void)showFPS; 15 | 16 | + (void)setDebug:(BOOL)isDebug; 17 | 18 | + (BOOL)isDebug; 19 | 20 | + (void)setDevToolDebug:(BOOL)isDevToolDebug; 21 | 22 | + (BOOL)isDevToolDebug; 23 | 24 | + (void)setReplacedBundleJS:(NSURL*)url; 25 | 26 | + (NSString*)getReplacedBundleJS; 27 | 28 | + (void)setReplacedJSFramework:(NSURL*)url; 29 | 30 | + (NSString*)getReplacedJSFramework; 31 | 32 | @end 33 | -------------------------------------------------------------------------------- /contents/iOS/Weex/sdk/WeexSDK/Sources/Display/UIBezierPath+Weex.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by Weex. 3 | * Copyright (c) 2016, Alibaba, Inc. All rights reserved. 4 | * 5 | * This source code is licensed under the Apache Licence 2.0. 6 | * For the full copyright and license information,please view the LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #import 10 | 11 | @interface UIBezierPath (Weex) 12 | 13 | + (instancetype)wx_bezierPathWithRoundedRect:(CGRect)rect 14 | topLeft:(CGFloat)topLeftRadius 15 | topRight:(CGFloat)topRightRadius 16 | bottomLeft:(CGFloat)bottomLeftRadius 17 | bottomRight:(CGFloat)bottomRightRadius; 18 | 19 | @end 20 | -------------------------------------------------------------------------------- /contents/iOS/Weex/sdk/WeexSDK/Sources/Display/WXComponent+Display.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by Weex. 3 | * Copyright (c) 2016, Alibaba, Inc. All rights reserved. 4 | * 5 | * This source code is licensed under the Apache Licence 2.0. 6 | * For the full copyright and license information,please view the LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #import "WXComponent.h" 10 | 11 | @interface WXComponent (Display) 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /contents/iOS/Weex/sdk/WeexSDK/Sources/Display/WXDisplayQueue.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by Weex. 3 | * Copyright (c) 2016, Alibaba, Inc. All rights reserved. 4 | * 5 | * This source code is licensed under the Apache Licence 2.0. 6 | * For the full copyright and license information,please view the LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #import 10 | 11 | // Global queue for displaying content 12 | @interface WXDisplayQueue : NSObject 13 | 14 | + (void)addBlock:(void(^)())block; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /contents/iOS/Weex/sdk/WeexSDK/Sources/Display/WXLayer.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by Weex. 3 | * Copyright (c) 2016, Alibaba, Inc. All rights reserved. 4 | * 5 | * This source code is licensed under the Apache Licence 2.0. 6 | * For the full copyright and license information,please view the LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #import 10 | 11 | @interface WXLayer : CALayer 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /contents/iOS/Weex/sdk/WeexSDK/Sources/Display/WXLayer.m: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by Weex. 3 | * Copyright (c) 2016, Alibaba, Inc. All rights reserved. 4 | * 5 | * This source code is licensed under the Apache Licence 2.0. 6 | * For the full copyright and license information,please view the LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #import "WXLayer.h" 10 | #import "WXDefine.h" 11 | #import "WXComponent.h" 12 | #import "WXComponent_internal.h" 13 | 14 | @implementation WXLayer 15 | 16 | - (void)display 17 | { 18 | [self.wx_component _willDisplayLayer:self]; 19 | } 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /contents/iOS/Weex/sdk/WeexSDK/Sources/Display/WXRoundedRect.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by Weex. 3 | * Copyright (c) 2016, Alibaba, Inc. All rights reserved. 4 | * 5 | * This source code is licensed under the Apache Licence 2.0. 6 | * For the full copyright and license information,please view the LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | 10 | #import 11 | 12 | 13 | @interface WXRadii : NSObject 14 | 15 | @property (nonatomic, assign) CGFloat topLeft; 16 | @property (nonatomic, assign) CGFloat topRight; 17 | @property (nonatomic, assign) CGFloat bottomLeft; 18 | @property (nonatomic, assign) CGFloat bottomRight; 19 | 20 | @end 21 | 22 | @interface WXRoundedRect : NSObject 23 | 24 | @property (nonatomic, assign) CGRect rect; 25 | @property (nonatomic, strong) WXRadii *radii; 26 | 27 | - (instancetype)initWithRect:(CGRect)rect 28 | topLeft:(CGFloat)topLeft 29 | topRight:(CGFloat)topRight 30 | bottomLeft:(CGFloat)bottomLeft 31 | bottomRight:(CGFloat)bottomRight; 32 | 33 | @end 34 | -------------------------------------------------------------------------------- /contents/iOS/Weex/sdk/WeexSDK/Sources/Events/WXComponent+Events.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by Weex. 3 | * Copyright (c) 2016, Alibaba, Inc. All rights reserved. 4 | * 5 | * This source code is licensed under the Apache Licence 2.0. 6 | * For the full copyright and license information,please view the LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #import "WXComponent.h" 10 | 11 | @interface WXComponent (Events) 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /contents/iOS/Weex/sdk/WeexSDK/Sources/Handler/WXNavigationDefaultImpl.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by Weex. 3 | * Copyright (c) 2016, Alibaba, Inc. All rights reserved. 4 | * 5 | * This source code is licensed under the Apache Licence 2.0. 6 | * For the full copyright and license information,please view the LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #import 10 | #import "WXNavigationProtocol.h" 11 | 12 | @interface WXNavigationDefaultImpl : NSObject 13 | 14 | @end 15 | -------------------------------------------------------------------------------- /contents/iOS/Weex/sdk/WeexSDK/Sources/Handler/WXURLRewriteDefaultImpl.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by Weex. 3 | * Copyright (c) 2016, Alibaba, Inc. All rights reserved. 4 | * 5 | * This source code is licensed under the Apache Licence 2.0. 6 | * For the full copyright and license information,please view the LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #import 10 | #import "WXURLRewriteProtocol.h" 11 | 12 | @interface WXURLRewriteDefaultImpl : NSObject 13 | 14 | @end 15 | -------------------------------------------------------------------------------- /contents/iOS/Weex/sdk/WeexSDK/Sources/Layout/WXComponent+Layout.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by Weex. 3 | * Copyright (c) 2016, Alibaba, Inc. All rights reserved. 4 | * 5 | * This source code is licensed under the Apache Licence 2.0. 6 | * For the full copyright and license information,please view the LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #import "WXComponent.h" 10 | #import "WXSDKInstance.h" 11 | #import "WXUtility.h" 12 | 13 | @interface WXComponent (Layout) 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /contents/iOS/Weex/sdk/WeexSDK/Sources/Loader/WXWebSocketLoader.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by Weex. 3 | * Copyright (c) 2016, Alibaba, Inc. All rights reserved. 4 | * 5 | * This source code is licensed under the Apache Licence 2.0. 6 | * For the full copyright and license information,please view the LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #import 10 | 11 | @interface WXWebSocketLoader : NSObject 12 | 13 | @property (nonatomic, copy) void (^onOpen)(); 14 | @property (nonatomic, copy) void (^onReceiveMessage)(id); 15 | @property (nonatomic, copy) void (^onClose)(NSInteger,NSString *,BOOL); 16 | @property (nonatomic, copy) void (^onFail)(NSError *); 17 | 18 | - (instancetype)initWithUrl:(NSString *)url protocol:(NSString *)protocol; 19 | - (void)open; 20 | - (void)send:(NSString *)data; 21 | - (void)close; 22 | - (void)close:(NSInteger)code reason:(NSString *)reason; 23 | - (void)clear; 24 | @end 25 | -------------------------------------------------------------------------------- /contents/iOS/Weex/sdk/WeexSDK/Sources/Manager/WXDatePickerManager.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by Weex. 3 | * Copyright (c) 2016, Alibaba, Inc. All rights reserved. 4 | * 5 | * This source code is licensed under the Apache Licence 2.0. 6 | * For the full copyright and license information,please view the LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #import 10 | 11 | @protocol WXDatePickerManagerDelegate 12 | @optional 13 | - (void)fetchDatePickerValue:(NSString *)value; 14 | @end 15 | 16 | @interface WXDatePickerManager : NSObject 17 | 18 | @property (nonatomic, weak) id delegate; 19 | 20 | -(void)show; 21 | -(void)hide; 22 | -(void)updateDatePicker:(NSDictionary *)attributes; 23 | 24 | @end 25 | -------------------------------------------------------------------------------- /contents/iOS/Weex/sdk/WeexSDK/Sources/Manager/WXHandlerFactory.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by Weex. 3 | * Copyright (c) 2016, Alibaba, Inc. All rights reserved. 4 | * 5 | * This source code is licensed under the Apache Licence 2.0. 6 | * For the full copyright and license information,please view the LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #import 10 | 11 | @interface WXHandlerFactory : NSObject 12 | 13 | /** 14 | * @abstract Register a handler for a given handler instance and specific protocol 15 | * 16 | * @param handler The handler instance to register 17 | * 18 | * @param protocol The protocol to confirm 19 | * 20 | */ 21 | + (void)registerHandler:(id)handler withProtocol:(Protocol *)protocol; 22 | 23 | /** 24 | * @abstract Returns the handler for a given protocol 25 | * 26 | **/ 27 | + (id)handlerForProtocol:(Protocol *)protocol; 28 | 29 | /** 30 | * @abstract Returns the registered handlers. 31 | */ 32 | + (NSDictionary *)handlerConfigs; 33 | 34 | @end 35 | -------------------------------------------------------------------------------- /contents/iOS/Weex/sdk/WeexSDK/Sources/Manager/WXInvocationConfig.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by Weex. 3 | * Copyright (c) 2016, Alibaba, Inc. All rights reserved. 4 | * 5 | * This source code is licensed under the Apache Licence 2.0. 6 | * For the full copyright and license information,please view the LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #import 10 | 11 | #import "WXBridgeMethod.h" 12 | 13 | @interface WXInvocationConfig : NSObject 14 | 15 | @property (nonatomic, strong) NSString *name; 16 | @property (nonatomic, strong) NSString *clazz; 17 | /** 18 | * The methods map 19 | **/ 20 | @property (nonatomic, strong) NSMutableDictionary *asyncMethods; 21 | @property (nonatomic, strong) NSMutableDictionary *syncMethods; 22 | 23 | + (instancetype)sharedInstance; 24 | - (instancetype)initWithName:(NSString *)name class:(NSString *)clazz; 25 | - (void)registerMethods; 26 | 27 | @end 28 | -------------------------------------------------------------------------------- /contents/iOS/Weex/sdk/WeexSDK/Sources/Manager/WXRuleManager.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by Weex. 3 | * Copyright (c) 2016, Alibaba, Inc. All rights reserved. 4 | * 5 | * This source code is licensed under the Apache Licence 2.0. 6 | * For the full copyright and license information,please view the LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #import 10 | 11 | #import "WXThreadSafeMutableDictionary.h" 12 | #import "WXSDKInstance.h" 13 | 14 | @interface WXRuleManager : NSObject 15 | 16 | @property(nonatomic, weak)WXSDKInstance *instance; 17 | 18 | + (WXRuleManager *)sharedInstance; 19 | 20 | - (void)addRule:(NSString *)type rule:(NSDictionary *)rule; 21 | 22 | - (WXThreadSafeMutableDictionary *)getRule:(NSString *)type; 23 | 24 | - (void)removeRule:(NSString *)type rule:(NSDictionary *)rule; 25 | 26 | @end 27 | -------------------------------------------------------------------------------- /contents/iOS/Weex/sdk/WeexSDK/Sources/Manager/WXServiceFactory.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by Weex. 3 | * Copyright (c) 2016, Alibaba, Inc. All rights reserved. 4 | * 5 | * This source code is licensed under the Apache Licence 2.0. 6 | * For the full copyright and license information,please view the LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #import 10 | 11 | @interface WXServiceFactory : NSObject 12 | 13 | /** 14 | * @abstract Registers a service for a given name, js code and options 15 | * 16 | * @param name The service name to register 17 | * 18 | * @param options The service options to register 19 | * 20 | * @param code service js code to invoke 21 | * 22 | * @return script 23 | * 24 | */ 25 | + (NSString *)registerServiceScript:(NSString *)name withRawScript:(NSString *)serviceScript withOptions:(NSDictionary *)options; 26 | 27 | 28 | /** 29 | * @abstract Unregisters a service for a given name 30 | * 31 | * @param name The service name to register 32 | * 33 | * @return script 34 | * 35 | */ 36 | + (NSString *)unregisterServiceScript:(NSString *)name; 37 | 38 | @end 39 | -------------------------------------------------------------------------------- /contents/iOS/Weex/sdk/WeexSDK/Sources/Model/WXComponent+Navigation.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by Weex. 3 | * Copyright (c) 2016, Alibaba, Inc. All rights reserved. 4 | * 5 | * This source code is licensed under the Apache Licence 2.0. 6 | * For the full copyright and license information,please view the LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #import "WXComponent.h" 10 | #import "WXNavigationProtocol.h" 11 | 12 | @interface WXComponent (Navigation) 13 | 14 | - (void)setNavigationBarHidden:(BOOL)hidden; 15 | 16 | - (void)setNavigationBackgroundColor:(UIColor *)backgroundColor; 17 | 18 | - (void)setNavigationItemWithParam:(NSDictionary *)param position:(WXNavigationItemPosition)position; 19 | 20 | - (void)setNavigationWithStyles:(NSDictionary *)styles; 21 | 22 | @end 23 | -------------------------------------------------------------------------------- /contents/iOS/Weex/sdk/WeexSDK/Sources/Module/WXAnimationModule.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by Weex. 3 | * Copyright (c) 2016, Alibaba, Inc. All rights reserved. 4 | * 5 | * This source code is licensed under the Apache Licence 2.0. 6 | * For the full copyright and license information,please view the LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #import 10 | #import "WXModuleProtocol.h" 11 | 12 | @interface WXAnimationModule : NSObject 13 | 14 | - (void)animation:(WXComponent *)targetComponent args:(NSDictionary *)args callback:(WXModuleCallback)callback; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /contents/iOS/Weex/sdk/WeexSDK/Sources/Module/WXCanvasModule.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by Weex. 3 | * Copyright (c) 2016, Alibaba, Inc. All rights reserved. 4 | * 5 | * This source code is licensed under the Apache Licence 2.0. 6 | * For the full copyright and license information,please view the LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #import 10 | #import "WXModuleProtocol.h" 11 | 12 | @interface WXCanvasModule : NSObject 13 | 14 | - (UIImage *) getImage:(NSString *)imageURL; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /contents/iOS/Weex/sdk/WeexSDK/Sources/Module/WXClipboardModule.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by Weex. 3 | * Copyright (c) 2016, Alibaba, Inc. All rights reserved. 4 | * 5 | * This source code is licensed under the Apache Licence 2.0. 6 | * For the full copyright and license information,please view the LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #import 10 | #import "WXModuleProtocol.h" 11 | 12 | @interface WXClipboardModule : NSObject 13 | 14 | @end 15 | -------------------------------------------------------------------------------- /contents/iOS/Weex/sdk/WeexSDK/Sources/Module/WXDomModule.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by Weex. 3 | * Copyright (c) 2016, Alibaba, Inc. All rights reserved. 4 | * 5 | * This source code is licensed under the Apache Licence 2.0. 6 | * For the full copyright and license information,please view the LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #import "WXModuleProtocol.h" 10 | 11 | @interface WXDomModule : NSObject 12 | 13 | - (void)createBody:(NSDictionary *)body; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /contents/iOS/Weex/sdk/WeexSDK/Sources/Module/WXGlobalEventModule.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by Weex. 3 | * Copyright (c) 2016, Alibaba, Inc. All rights reserved. 4 | * 5 | * This source code is licensed under the Apache Licence 2.0. 6 | * For the full copyright and license information,please view the LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #import 10 | #import "WXModuleProtocol.h" 11 | 12 | @interface WXGlobalEventModule : NSObject 13 | 14 | @end 15 | -------------------------------------------------------------------------------- /contents/iOS/Weex/sdk/WeexSDK/Sources/Module/WXInstanceWrap.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by Weex. 3 | * Copyright (c) 2016, Alibaba, Inc. All rights reserved. 4 | * 5 | * This source code is licensed under the Apache Licence 2.0. 6 | * For the full copyright and license information,please view the LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #import "WXModuleProtocol.h" 10 | 11 | @interface WXInstanceWrap : NSObject 12 | 13 | - (void)error:(NSInteger)type code:(NSInteger)code info:(NSString *)info; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /contents/iOS/Weex/sdk/WeexSDK/Sources/Module/WXMetaModule.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by Weex. 3 | * Copyright (c) 2016, Alibaba, Inc. All rights reserved. 4 | * 5 | * This source code is licensed under the Apache Licence 2.0. 6 | * For the full copyright and license information,please view the LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #import 10 | #import "WXModuleProtocol.h" 11 | 12 | @interface WXMetaModule : NSObject 13 | 14 | @end 15 | -------------------------------------------------------------------------------- /contents/iOS/Weex/sdk/WeexSDK/Sources/Module/WXModalUIModule.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by Weex. 3 | * Copyright (c) 2016, Alibaba, Inc. All rights reserved. 4 | * 5 | * This source code is licensed under the Apache Licence 2.0. 6 | * For the full copyright and license information,please view the LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #import 10 | #import "WXModuleProtocol.h" 11 | 12 | @interface WXModalUIModule : NSObject 13 | 14 | @end 15 | -------------------------------------------------------------------------------- /contents/iOS/Weex/sdk/WeexSDK/Sources/Module/WXNavigatorModule.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by Weex. 3 | * Copyright (c) 2016, Alibaba, Inc. All rights reserved. 4 | * 5 | * This source code is licensed under the Apache Licence 2.0. 6 | * For the full copyright and license information,please view the LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #import 10 | #import 11 | 12 | @interface WXNavigatorModule : NSObject 13 | 14 | @end 15 | -------------------------------------------------------------------------------- /contents/iOS/Weex/sdk/WeexSDK/Sources/Module/WXPickerModule.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by Weex. 3 | * Copyright (c) 2016, Alibaba, Inc. All rights reserved. 4 | * 5 | * This source code is licensed under the Apache Licence 2.0. 6 | * For the full copyright and license information,please view the LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #import 10 | #import "WXModuleProtocol.h" 11 | 12 | @interface WXPickerModule : NSObject 13 | 14 | @end 15 | -------------------------------------------------------------------------------- /contents/iOS/Weex/sdk/WeexSDK/Sources/Module/WXStorageModule.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by Weex. 3 | * Copyright (c) 2016, Alibaba, Inc. All rights reserved. 4 | * 5 | * This source code is licensed under the Apache Licence 2.0. 6 | * For the full copyright and license information,please view the LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #import "WXModuleProtocol.h" 10 | 11 | @interface WXStorageModule : NSObject 12 | 13 | - (void)length:(WXModuleCallback)callback; 14 | 15 | - (void)getAllKeys:(WXModuleCallback)callback; 16 | 17 | - (void)setItem:(NSString *)key value:(NSString *)value callback:(WXModuleCallback)callback; 18 | 19 | - (void)setItemPersistent:(NSString *)key value:(NSString *)value callback:(WXModuleCallback)callback; 20 | 21 | - (void)getItem:(NSString *)key callback:(WXModuleCallback)callback; 22 | 23 | - (void)removeItem:(NSString *)key callback:(WXModuleCallback)callback; 24 | 25 | @end 26 | -------------------------------------------------------------------------------- /contents/iOS/Weex/sdk/WeexSDK/Sources/Module/WXStreamModule.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by Weex. 3 | * Copyright (c) 2016, Alibaba, Inc. All rights reserved. 4 | * 5 | * This source code is licensed under the Apache Licence 2.0. 6 | * For the full copyright and license information,please view the LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #import 10 | #import "WXModuleProtocol.h" 11 | 12 | @interface WXStreamModule : NSObject 13 | 14 | - (void)fetch:(NSDictionary *)options callback:(WXModuleCallback)callback progressCallback:(WXModuleKeepAliveCallback)progressCallback; 15 | - (void)sendHttp:(NSDictionary*)param callback:(WXModuleCallback)callback DEPRECATED_MSG_ATTRIBUTE("Use fetch method instead."); 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /contents/iOS/Weex/sdk/WeexSDK/Sources/Module/WXTimerModule.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by Weex. 3 | * Copyright (c) 2016, Alibaba, Inc. All rights reserved. 4 | * 5 | * This source code is licensed under the Apache Licence 2.0. 6 | * For the full copyright and license information,please view the LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #import 10 | #import "WXModuleProtocol.h" 11 | 12 | @interface WXTimerModule : NSObject 13 | 14 | - (NSMutableDictionary *)timers; 15 | 16 | - (void)createTimerWithCallback:(NSString *)callbackID time:(NSTimeInterval)milliseconds target:(id)target selector:(SEL)selector shouldRepeat:(BOOL)shouldRepeat; 17 | 18 | - (void)clearTimeout:(NSString *)callbackID; 19 | 20 | @end 21 | -------------------------------------------------------------------------------- /contents/iOS/Weex/sdk/WeexSDK/Sources/Module/WXWebSocketModule.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by Weex. 3 | * Copyright (c) 2016, Alibaba, Inc. All rights reserved. 4 | * 5 | * This source code is licensed under the Apache Licence 2.0. 6 | * For the full copyright and license information,please view the LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #import 10 | #import "WXModuleProtocol.h" 11 | #import "SRWebSocket.h" 12 | 13 | @interface WXWebSocketModule : NSObject 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /contents/iOS/Weex/sdk/WeexSDK/Sources/Module/WXWebViewModule.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by Weex. 3 | * Copyright (c) 2016, Alibaba, Inc. All rights reserved. 4 | * 5 | * This source code is licensed under the Apache Licence 2.0. 6 | * For the full copyright and license information,please view the LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #import 10 | #import "WXModuleProtocol.h" 11 | #import "WXDomModule.h" 12 | 13 | @interface WXWebViewModule : WXDomModule 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /contents/iOS/Weex/sdk/WeexSDK/Sources/Network/WXResourceRequestHandlerDefaultImpl.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by Weex. 3 | * Copyright (c) 2016, Alibaba, Inc. All rights reserved. 4 | * 5 | * This source code is licensed under the Apache Licence 2.0. 6 | * For the full copyright and license information,please view the LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | 10 | #import 11 | #import "WXResourceRequestHandler.h" 12 | 13 | @interface WXResourceRequestHandlerDefaultImpl : NSObject 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /contents/iOS/Weex/sdk/WeexSDK/Sources/Network/WXResourceResponse.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by Weex. 3 | * Copyright (c) 2016, Alibaba, Inc. All rights reserved. 4 | * 5 | * This source code is licensed under the Apache Licence 2.0. 6 | * For the full copyright and license information,please view the LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | 10 | #import 11 | 12 | @interface WXResourceResponse : NSURLResponse 13 | 14 | @end 15 | -------------------------------------------------------------------------------- /contents/iOS/Weex/sdk/WeexSDK/Sources/Network/WXResourceResponse.m: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by Weex. 3 | * Copyright (c) 2016, Alibaba, Inc. All rights reserved. 4 | * 5 | * This source code is licensed under the Apache Licence 2.0. 6 | * For the full copyright and license information,please view the LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | 10 | #import "WXResourceResponse.h" 11 | 12 | @implementation WXResourceResponse 13 | 14 | @end 15 | -------------------------------------------------------------------------------- /contents/iOS/Weex/sdk/WeexSDK/Sources/Protocol/WXDestroyProtocol.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by Weex. 3 | * Copyright (c) 2016, Alibaba, Inc. All rights reserved. 4 | * 5 | * This source code is licensed under the Apache Licence 2.0. 6 | * For the full copyright and license information,please view the LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #import 10 | 11 | @protocol WXDestroyProtocol 12 | 13 | /** 14 | * @abstract execute unload function before dealloc 15 | */ 16 | - (void)unload; 17 | 18 | @end 19 | -------------------------------------------------------------------------------- /contents/iOS/Weex/sdk/WeexSDK/Sources/Protocol/WXEventModuleProtocol.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by Weex. 3 | * Copyright (c) 2016, Alibaba, Inc. All rights reserved. 4 | * 5 | * This source code is licensed under the Apache Licence 2.0. 6 | * For the full copyright and license information,please view the LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #import "WXModuleProtocol.h" 10 | 11 | @protocol WXEventModuleProtocol 12 | 13 | - (void)openURL:(NSString *)url; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /contents/iOS/Weex/sdk/WeexSDK/Sources/Protocol/WXTextComponentProtocol.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by Weex. 3 | * Copyright (c) 2016, Alibaba, Inc. All rights reserved. 4 | * 5 | * This source code is licensed under the Apache Licence 2.0. 6 | * For the full copyright and license information,please view the LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | @protocol WXTextComponentProtocol 10 | 11 | @property (nonatomic, strong) NSTextStorage *textStorage; 12 | @property (nonatomic, assign) UIEdgeInsets border; 13 | @property (nonatomic, assign) UIEdgeInsets padding; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /contents/iOS/Weex/sdk/WeexSDK/Sources/Supporting Files/WeexSDK-Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header 3 | // 4 | // The contents of this file are implicitly included at the beginning of every source file. 5 | // 6 | 7 | #ifdef __OBJC__ 8 | #import 9 | #import 10 | #import "WXDefine.h" 11 | #endif -------------------------------------------------------------------------------- /contents/iOS/Weex/sdk/WeexSDK/Sources/Utility/NSArray+Weex.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by Weex. 3 | * Copyright (c) 2016, Alibaba, Inc. All rights reserved. 4 | * 5 | * This source code is licensed under the Apache Licence 2.0. 6 | * For the full copyright and license information,please view the LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #import 10 | 11 | @interface NSArray (Weex) 12 | 13 | - (id)wx_safeObjectAtIndex:(NSUInteger)index; 14 | 15 | @end 16 | 17 | @interface NSMutableArray (Weex) 18 | 19 | + (id)wx_mutableArrayUsingWeakReferences; 20 | 21 | + (id)wx_mutableArrayUsingWeakReferencesWithCapacity:(NSUInteger)capacity; 22 | + (void)wx_releaseArray:(id)array; 23 | 24 | @end 25 | -------------------------------------------------------------------------------- /contents/iOS/Weex/sdk/WeexSDK/Sources/Utility/NSObject+WXSwizzle.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by Weex. 3 | * Copyright (c) 2016, Alibaba, Inc. All rights reserved. 4 | * 5 | * This source code is licensed under the Apache Licence 2.0. 6 | * For the full copyright and license information,please view the LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | 10 | #import 11 | 12 | @interface NSObject (WXSwizzle) 13 | 14 | + (BOOL)weex_swizzle:(Class)originalClass Method:(SEL)originalSelector withMethod:(SEL)swizzledSelector; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /contents/iOS/Weex/sdk/WeexSDK/Sources/Utility/NSTimer+Weex.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by Weex. 3 | * Copyright (c) 2016, Alibaba, Inc. All rights reserved. 4 | * 5 | * This source code is licensed under the Apache Licence 2.0. 6 | * For the full copyright and license information,please view the LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #import 10 | 11 | @interface NSTimer (Weex) 12 | 13 | + (NSTimer *)wx_scheduledTimerWithTimeInterval:(NSTimeInterval)interval 14 | block:(void(^)())block 15 | repeats:(BOOL)repeats; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /contents/iOS/Weex/sdk/WeexSDK/Sources/Utility/NSTimer+Weex.m: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by Weex. 3 | * Copyright (c) 2016, Alibaba, Inc. All rights reserved. 4 | * 5 | * This source code is licensed under the Apache Licence 2.0. 6 | * For the full copyright and license information,please view the LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #import "NSTimer+Weex.h" 10 | 11 | @implementation NSTimer (Weex) 12 | 13 | + (NSTimer *)wx_scheduledTimerWithTimeInterval:(NSTimeInterval)interval 14 | block:(void(^)())block 15 | repeats:(BOOL)repeats 16 | { 17 | return [self scheduledTimerWithTimeInterval:interval 18 | target:self 19 | selector:@selector(blockInvoke:) 20 | userInfo:[block copy] 21 | repeats:repeats]; 22 | } 23 | 24 | + (void)blockInvoke:(NSTimer*)timer 25 | { 26 | void (^block)() = timer.userInfo; 27 | if (block) { 28 | block(); 29 | } 30 | } 31 | 32 | @end 33 | -------------------------------------------------------------------------------- /contents/iOS/Weex/sdk/WeexSDK/Sources/Utility/WXAssert.m: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by Weex. 3 | * Copyright (c) 2016, Alibaba, Inc. All rights reserved. 4 | * 5 | * This source code is licensed under the Apache Licence 2.0. 6 | * For the full copyright and license information,please view the LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #import "WXAssert.h" 10 | #import "WXLog.h" 11 | 12 | void WXAssertInternal(NSString *func, NSString *file, int lineNum, NSString *format, ...) 13 | { 14 | va_list args; 15 | va_start(args, format); 16 | NSString *message = [[NSString alloc] initWithFormat:format arguments:args]; 17 | va_end(args); 18 | 19 | WXLogError(@"%@", message); 20 | [[NSAssertionHandler currentHandler] handleFailureInFunction:func file:file lineNumber:lineNum description:format, message]; 21 | } 22 | -------------------------------------------------------------------------------- /contents/iOS/Weex/sdk/WeexSDK/Sources/Utility/WXSimulatorShortcutManager.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by Weex. 3 | * Copyright (c) 2016, Alibaba, Inc. All rights reserved. 4 | * 5 | * This source code is licensed under the Apache Licence 2.0. 6 | * For the full copyright and license information,please view the LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #import 10 | #import 11 | 12 | @interface WXSimulatorShortcutManager : NSObject 13 | 14 | + (void)registerSimulatorShortcutWithKey:(NSString *)key modifierFlags:(UIKeyModifierFlags)flags action:(dispatch_block_t)action; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /contents/iOS/Weex/sdk/WeexSDK/Sources/Utility/WXThreadSafeCounter.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by Weex. 3 | * Copyright (c) 2016, Alibaba, Inc. All rights reserved. 4 | * 5 | * This source code is licensed under the Apache Licence 2.0. 6 | * For the full copyright and license information,please view the LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #import 10 | 11 | /** 12 | * @abstract a thread-safe counter 13 | */ 14 | @interface WXThreadSafeCounter : NSObject 15 | 16 | @property (atomic, readonly) int32_t value; 17 | 18 | - (int32_t)increase; 19 | 20 | @end 21 | -------------------------------------------------------------------------------- /contents/iOS/Weex/sdk/WeexSDK/Sources/Utility/WXThreadSafeCounter.m: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by Weex. 3 | * Copyright (c) 2016, Alibaba, Inc. All rights reserved. 4 | * 5 | * This source code is licensed under the Apache Licence 2.0. 6 | * For the full copyright and license information,please view the LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #import "WXThreadSafeCounter.h" 10 | #import 11 | 12 | @implementation WXThreadSafeCounter{ 13 | int32_t _value; 14 | } 15 | 16 | - (int32_t)value 17 | { 18 | return _value; 19 | } 20 | 21 | - (int32_t)increase { 22 | return OSAtomicIncrement32(&_value); 23 | } 24 | 25 | @end 26 | -------------------------------------------------------------------------------- /contents/iOS/Weex/sdk/WeexSDK/Sources/Utility/WXThreadSafeMutableArray.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by Weex. 3 | * Copyright (c) 2016, Alibaba, Inc. All rights reserved. 4 | * 5 | * This source code is licensed under the Apache Licence 2.0. 6 | * For the full copyright and license information,please view the LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #import 10 | 11 | /** 12 | * @abstract Thread safe NSMutableArray 13 | */ 14 | @interface WXThreadSafeMutableArray : NSMutableArray 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /contents/iOS/Weex/sdk/WeexSDK/Sources/Utility/WXThreadSafeMutableDictionary.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by Weex. 3 | * Copyright (c) 2016, Alibaba, Inc. All rights reserved. 4 | * 5 | * This source code is licensed under the Apache Licence 2.0. 6 | * For the full copyright and license information,please view the LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #import 10 | 11 | /** 12 | * @abstract Thread safe NSMutableDictionary 13 | */ 14 | @interface WXThreadSafeMutableDictionary : NSMutableDictionary 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /contents/iOS/Weex/sdk/WeexSDK/Sources/Utility/WXWeakObjectWrapper.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by Weex. 3 | * Copyright (c) 2016, Alibaba, Inc. All rights reserved. 4 | * 5 | * This source code is licensed under the Apache Licence 2.0. 6 | * For the full copyright and license information,please view the LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #import 10 | 11 | @interface WXWeakObjectWrapper : NSObject 12 | 13 | @property (nonatomic, weak, readonly) id weakObject; 14 | 15 | - (id)initWithWeakObject:(id)weakObject; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /contents/iOS/Weex/sdk/WeexSDK/Sources/Utility/WXWeakObjectWrapper.m: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by Weex. 3 | * Copyright (c) 2016, Alibaba, Inc. All rights reserved. 4 | * 5 | * This source code is licensed under the Apache Licence 2.0. 6 | * For the full copyright and license information,please view the LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #import "WXWeakObjectWrapper.h" 10 | 11 | @implementation WXWeakObjectWrapper 12 | 13 | - (id)initWithWeakObject:(id)weakObject 14 | { 15 | if (self = [super init]) { 16 | _weakObject = weakObject; 17 | } 18 | 19 | return self; 20 | } 21 | 22 | @end 23 | -------------------------------------------------------------------------------- /contents/iOS/Weex/sdk/WeexSDK/Sources/View/WXComponent+ViewManagement.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by Weex. 3 | * Copyright (c) 2016, Alibaba, Inc. All rights reserved. 4 | * 5 | * This source code is licensed under the Apache Licence 2.0. 6 | * For the full copyright and license information,please view the LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #import "WXComponent.h" 10 | 11 | @interface WXComponent (ViewManagement) 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /contents/iOS/Weex/sdk/WeexSDK/Sources/View/WXErrorView.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by Weex. 3 | * Copyright (c) 2016, Alibaba, Inc. All rights reserved. 4 | * 5 | * This source code is licensed under the Apache Licence 2.0. 6 | * For the full copyright and license information,please view the LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #import 10 | 11 | @protocol WXErrorViewDelegate 12 | 13 | - (void)onclickErrorView; 14 | 15 | @end 16 | 17 | @interface WXErrorView : UIView 18 | 19 | @property (nonatomic, weak) id delegate; 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /contents/iOS/Weex/sdk/WeexSDK/Sources/View/WXRootView.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by Weex. 3 | * Copyright (c) 2016, Alibaba, Inc. All rights reserved. 4 | * 5 | * This source code is licensed under the Apache Licence 2.0. 6 | * For the full copyright and license information,please view the LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #import 10 | 11 | @class WXSDKInstance; 12 | @interface WXRootView : UIView 13 | 14 | @property (nonatomic, weak) WXSDKInstance *instance; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /contents/iOS/Weex/sdk/WeexSDK/Sources/View/WXRootView.m: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by Weex. 3 | * Copyright (c) 2016, Alibaba, Inc. All rights reserved. 4 | * 5 | * This source code is licensed under the Apache Licence 2.0. 6 | * For the full copyright and license information,please view the LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #import "WXRootView.h" 10 | #import "WXSDKInstance.h" 11 | 12 | @implementation WXRootView 13 | 14 | - (void)setFrame:(CGRect)frame 15 | { 16 | BOOL shouldNotifyLayout = NO; 17 | if (_instance.onLayoutChange && !CGRectEqualToRect(self.frame, frame)) { 18 | shouldNotifyLayout = YES; 19 | } 20 | 21 | [super setFrame:frame]; 22 | 23 | if (shouldNotifyLayout && _instance.onLayoutChange) { 24 | _instance.onLayoutChange(self); 25 | } 26 | } 27 | 28 | @end 29 | -------------------------------------------------------------------------------- /contents/iOS/Weex/sdk/WeexSDK/Sources/View/WXView.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by Weex. 3 | * Copyright (c) 2016, Alibaba, Inc. All rights reserved. 4 | * 5 | * This source code is licensed under the Apache Licence 2.0. 6 | * For the full copyright and license information,please view the LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #import 10 | 11 | @interface WXView : UIView 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /contents/iOS/Weex/sdk/WeexSDK/Sources/WebSocket/SRWebSocket+Weex.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by Weex. 3 | * Copyright (c) 2016, Alibaba, Inc. All rights reserved. 4 | * 5 | * This source code is licensed under the Apache Licence 2.0. 6 | * For the full copyright and license information,please view the LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #import "SRWebSocket.h" 10 | #import "WXWebSocketHandler.h" 11 | #import 12 | 13 | @interface SRWebSocket (Weex) 14 | 15 | @property (nonatomic, copy) NSString *wx_Identifier; 16 | @property (nonatomic, weak) id wx_WebSocketDelegate; 17 | 18 | @end 19 | -------------------------------------------------------------------------------- /contents/iOS/Weex/sdk/WeexSDK/Sources/WebSocket/WXWebSocketDefaultImpl.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by Weex. 3 | * Copyright (c) 2016, Alibaba, Inc. All rights reserved. 4 | * 5 | * This source code is licensed under the Apache Licence 2.0. 6 | * For the full copyright and license information,please view the LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #import 10 | #import "WXWebSocketHandler.h" 11 | 12 | @interface WXWebSocketDefaultImpl : NSObject 13 | 14 | @end 15 | -------------------------------------------------------------------------------- /contents/iOS/Weex/sdk/WeexSDKTests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | 24 | 25 | -------------------------------------------------------------------------------- /contents/iOS/Weex/sdk/WeexSDKTests/TestSupportUtils.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by Weex. 3 | * Copyright (c) 2016, Alibaba, Inc. All rights reserved. 4 | * 5 | * This source code is licensed under the Apache Licence 2.0. 6 | * For the full copyright and license information,please view the LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #import 10 | #import 11 | 12 | extern bool WXTransform3DApproximateToTransform(CATransform3D a,CATransform3D b); 13 | 14 | extern bool WXRectApproximateToRect(CGRect a,CGRect b); 15 | 16 | @interface TestSupportUtils : NSObject 17 | /** 18 | *设置等待时间 19 | */ 20 | +(void)waitSecs:(NSTimeInterval)secs; 21 | 22 | @end 23 | -------------------------------------------------------------------------------- /contents/iOS/Weex/sdk/WeexSDKTests/WeexSDKTests.m: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by Weex. 3 | * Copyright (c) 2016, Alibaba, Inc. All rights reserved. 4 | * 5 | * This source code is licensed under the Apache Licence 2.0. 6 | * For the full copyright and license information,please view the LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #import 10 | 11 | @interface WeexSDKTests : XCTestCase 12 | 13 | @end 14 | 15 | @implementation WeexSDKTests 16 | 17 | - (void)setUp { 18 | [super setUp]; 19 | // Put setup code here. This method is called before the invocation of each test method in the class. 20 | } 21 | 22 | - (void)tearDown { 23 | // Put teardown code here. This method is called after the invocation of each test method in the class. 24 | [super tearDown]; 25 | } 26 | 27 | - (void)testExample { 28 | // This is an example of a functional test case. 29 | // Use XCTAssert and related functions to verify your tests produce the correct results. 30 | } 31 | 32 | 33 | @end 34 | -------------------------------------------------------------------------------- /contents/iOS/Weex/sdk/WeexSDKTests/dependency/OCMock/NSNotificationCenter+OCMAdditions.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2009-2016 Erik Doernenburg and contributors 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | * not use these files except in compliance with the License. You may obtain 6 | * a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | * License for the specific language governing permissions and limitations 14 | * under the License. 15 | */ 16 | 17 | #import 18 | 19 | @class OCObserverMockObject; 20 | 21 | 22 | @interface NSNotificationCenter(OCMAdditions) 23 | 24 | - (void)addMockObserver:(OCObserverMockObject *)notificationObserver name:(NSString *)notificationName object:(id)notificationSender; 25 | 26 | @end 27 | -------------------------------------------------------------------------------- /contents/iOS/Weex/sdk/WeexSDKTests/dependency/OCMock/OCMFunctions.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2014-2016 Erik Doernenburg and contributors 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | * not use these files except in compliance with the License. You may obtain 6 | * a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | * License for the specific language governing permissions and limitations 14 | * under the License. 15 | */ 16 | 17 | #import 18 | 19 | 20 | #if defined(__cplusplus) 21 | #define OCMOCK_EXTERN extern "C" 22 | #else 23 | #define OCMOCK_EXTERN extern 24 | #endif 25 | 26 | 27 | OCMOCK_EXTERN BOOL OCMIsObjectType(const char *objCType); 28 | -------------------------------------------------------------------------------- /contents/iOS/Weex/sdk/WeexSDKTests/dependency/libOCMock.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/iOS/Weex/sdk/WeexSDKTests/dependency/libOCMock.a -------------------------------------------------------------------------------- /contents/iOS/Weex/sdk/WeexSDK_MTL/WeexSDK_MTL.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by Weex. 3 | * Copyright (c) 2016, Alibaba, Inc. All rights reserved. 4 | * 5 | * This source code is licensed under the Apache Licence 2.0. 6 | * For the full copyright and license information,please view the LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #import 10 | 11 | @interface WeexSDK_MTL : NSObject 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /contents/iOS/Weex/sdk/WeexSDK_MTL/WeexSDK_MTL.m: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by Weex. 3 | * Copyright (c) 2016, Alibaba, Inc. All rights reserved. 4 | * 5 | * This source code is licensed under the Apache Licence 2.0. 6 | * For the full copyright and license information,please view the LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #import "WeexSDK_MTL.h" 10 | 11 | @implementation WeexSDK_MTL 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /contents/iOS/Xcode8AutolayoutDemo-master/NewAutolayout.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /contents/iOS/Xcode8AutolayoutDemo-master/NewAutolayout.xcodeproj/project.xcworkspace/xcuserdata/YDZ.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/iOS/Xcode8AutolayoutDemo-master/NewAutolayout.xcodeproj/project.xcworkspace/xcuserdata/YDZ.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /contents/iOS/Xcode8AutolayoutDemo-master/NewAutolayout.xcodeproj/xcuserdata/YDZ.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | NewAutolayout.xcscheme 8 | 9 | orderHint 10 | 0 11 | 12 | 13 | SuppressBuildableAutocreation 14 | 15 | 1C20C0751D38038800414912 16 | 17 | primary 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /contents/iOS/Xcode8AutolayoutDemo-master/NewAutolayout/A00D3B09-7904-433C-ADC3-BD192F4B6950.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/iOS/Xcode8AutolayoutDemo-master/NewAutolayout/A00D3B09-7904-433C-ADC3-BD192F4B6950.png -------------------------------------------------------------------------------- /contents/iOS/Xcode8AutolayoutDemo-master/NewAutolayout/AppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.h 3 | // NewAutolayout 4 | // 5 | // Created by YDZ on 16/7/15. 6 | // Copyright © 2016年 YDZ. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface AppDelegate : UIResponder 12 | 13 | @property (strong, nonatomic) UIWindow *window; 14 | 15 | 16 | @end 17 | 18 | -------------------------------------------------------------------------------- /contents/iOS/Xcode8AutolayoutDemo-master/NewAutolayout/BDCA87E9-7B4E-4809-82DA-F190CECD4835.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/iOS/Xcode8AutolayoutDemo-master/NewAutolayout/BDCA87E9-7B4E-4809-82DA-F190CECD4835.png -------------------------------------------------------------------------------- /contents/iOS/Xcode8AutolayoutDemo-master/NewAutolayout/DE05E649-1499-4C5D-A768-9CF6FC20B996.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/iOS/Xcode8AutolayoutDemo-master/NewAutolayout/DE05E649-1499-4C5D-A768-9CF6FC20B996.png -------------------------------------------------------------------------------- /contents/iOS/Xcode8AutolayoutDemo-master/NewAutolayout/ViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.h 3 | // NewAutolayout 4 | // 5 | // Created by YDZ on 16/7/15. 6 | // Copyright © 2016年 YDZ. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface ViewController : UIViewController 12 | 13 | 14 | @end 15 | 16 | -------------------------------------------------------------------------------- /contents/iOS/Xcode8AutolayoutDemo-master/NewAutolayout/ViewController.m: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.m 3 | // NewAutolayout 4 | // 5 | // Created by YDZ on 16/7/15. 6 | // Copyright © 2016年 YDZ. All rights reserved. 7 | // 8 | 9 | #import "ViewController.h" 10 | 11 | @interface ViewController () 12 | 13 | @end 14 | 15 | @implementation ViewController 16 | 17 | - (void)viewDidLoad { 18 | [super viewDidLoad]; 19 | // Do any additional setup after loading the view, typically from a nib. 20 | } 21 | 22 | - (void)didReceiveMemoryWarning { 23 | [super didReceiveMemoryWarning]; 24 | // Dispose of any resources that can be recreated. 25 | } 26 | 27 | @end 28 | -------------------------------------------------------------------------------- /contents/iOS/Xcode8AutolayoutDemo-master/NewAutolayout/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // NewAutolayout 4 | // 5 | // Created by YDZ on 16/7/15. 6 | // Copyright © 2016年 YDZ. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "AppDelegate.h" 11 | 12 | int main(int argc, char * argv[]) { 13 | @autoreleasepool { 14 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /contents/iOS/Xcode8AutolayoutDemo-master/NewAutolayout/mp40843170_1447147056517_2.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/iOS/Xcode8AutolayoutDemo-master/NewAutolayout/mp40843170_1447147056517_2.jpeg -------------------------------------------------------------------------------- /contents/iOS/Xcode8AutolayoutDemo-master/NewAutolayout/ya2-1542744.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/iOS/Xcode8AutolayoutDemo-master/NewAutolayout/ya2-1542744.jpg -------------------------------------------------------------------------------- /contents/iOS/remote_debugging_on_ios_with_safari_web_inspector.md: -------------------------------------------------------------------------------- 1 | # Remote debugging on iOS with Safari Web Inspector 2 | 3 | ![](https://img.halfrost.com/Blog/ArticleTitleImage/5_0_.png) 4 | 5 | 6 | 之前在公司调试Hybrid其实很蛋疼。。都是本地打开zip包,运行js,然后调试,每次都要找到zip,比较麻烦,后来发现了这个远程调试的方法,直接插上手机就可以调试了,不用那么麻烦了,而且可以直接在手机上看到实时的效果。 7 | 8 | 后来发现有一些Js前端开发还不会这个方法,今天就分享出来,大家都看看,有啥问题请多指点。 9 | 10 | 1.首先iPhone连接上Mac,点击信任,确保itunes连接成功,然后打开iPhone的“设置” - “Safari” - "高级" - 打开“JavaScript” 和 “Web检查器” 11 | 12 | 13 | ![](https://img.halfrost.com/Blog/ArticleImage/5_2.png) 14 | 15 | ![](https://img.halfrost.com/Blog/ArticleImage/5_3.png) 16 | 17 | 2.打开Mac上的Safari,选择“偏好设置” - “高级” - "在菜单栏中显示“开发”菜单" 18 | 19 | 20 | ![](https://img.halfrost.com/Blog/ArticleImage/5_4.png) 21 | 22 | 3.打开iPhone上的Safari或者运行PhoneGap程序,到某一个界面,回到Mac上的Safari上,选择“开发”,然后选择你的iPhone,就可以查看到那个一个Web界面了 23 | 24 | ![](https://img.halfrost.com/Blog/ArticleImage/5_5.png) 25 | 26 | -------------------------------------------------------------------------------- /contents/images/56_0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/56_0.png -------------------------------------------------------------------------------- /contents/images/56_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/56_1.png -------------------------------------------------------------------------------- /contents/images/56_19希尔伯特曲线铺满平面.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/56_19希尔伯特曲线铺满平面.gif -------------------------------------------------------------------------------- /contents/images/56_20_1阶希尔伯特曲线.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/56_20_1阶希尔伯特曲线.gif -------------------------------------------------------------------------------- /contents/images/56_21_2阶希尔伯特曲线.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/56_21_2阶希尔伯特曲线.gif -------------------------------------------------------------------------------- /contents/images/56_22_3阶希尔伯特曲线.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/56_22_3阶希尔伯特曲线.gif -------------------------------------------------------------------------------- /contents/images/56_23_5n阶希尔伯特曲线.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/56_23_5n阶希尔伯特曲线.gif -------------------------------------------------------------------------------- /contents/images/56_24_6希尔伯特曲线展开成线.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/56_24_6希尔伯特曲线展开成线.gif -------------------------------------------------------------------------------- /contents/images/56_25_7希尔伯特曲线无限划分下去.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/56_25_7希尔伯特曲线无限划分下去.gif -------------------------------------------------------------------------------- /contents/images/56_26_8希尔伯特曲线与蛇形曲线哪个好.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/56_26_8希尔伯特曲线与蛇形曲线哪个好.gif -------------------------------------------------------------------------------- /contents/images/56_27_9蛇形曲线来回摆动.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/56_27_9蛇形曲线来回摆动.gif -------------------------------------------------------------------------------- /contents/images/56_28_10希尔伯特曲线趋近稳定.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/56_28_10希尔伯特曲线趋近稳定.gif -------------------------------------------------------------------------------- /contents/images/56_33.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/56_33.png -------------------------------------------------------------------------------- /contents/images/56_40.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/56_40.png -------------------------------------------------------------------------------- /contents/images/56_44_0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/56_44_0.png -------------------------------------------------------------------------------- /contents/images/Atom_go_plus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/Atom_go_plus.png -------------------------------------------------------------------------------- /contents/images/CORS_principle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/CORS_principle.png -------------------------------------------------------------------------------- /contents/images/DNS_header.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/DNS_header.png -------------------------------------------------------------------------------- /contents/images/DNS_message.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/DNS_message.png -------------------------------------------------------------------------------- /contents/images/De_Bruijn_B(2,3)0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/De_Bruijn_B(2,3)0.png -------------------------------------------------------------------------------- /contents/images/De_Bruijn_B(2,3)1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/De_Bruijn_B(2,3)1.png -------------------------------------------------------------------------------- /contents/images/De_Bruijn_B(2,4).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/De_Bruijn_B(2,4).png -------------------------------------------------------------------------------- /contents/images/De_Bruijn_B(3,2).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/De_Bruijn_B(3,2).png -------------------------------------------------------------------------------- /contents/images/EGH_LearnES6_Final.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/EGH_LearnES6_Final.png -------------------------------------------------------------------------------- /contents/images/EGH_LearnES6_Final_.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/EGH_LearnES6_Final_.png -------------------------------------------------------------------------------- /contents/images/EGH_LearnES6_Final__.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/EGH_LearnES6_Final__.png -------------------------------------------------------------------------------- /contents/images/Gogland.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/Gogland.png -------------------------------------------------------------------------------- /contents/images/HTTP 报文结构.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/HTTP 报文结构.png -------------------------------------------------------------------------------- /contents/images/HTTP_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/HTTP_2.png -------------------------------------------------------------------------------- /contents/images/HTTP_RequestMessageExample.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/HTTP_RequestMessageExample.png -------------------------------------------------------------------------------- /contents/images/HTTP_ResponseMessageExample.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/HTTP_ResponseMessageExample.png -------------------------------------------------------------------------------- /contents/images/HTTP_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/HTTP_logo.png -------------------------------------------------------------------------------- /contents/images/HTTP缓存流程.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/HTTP缓存流程.png -------------------------------------------------------------------------------- /contents/images/IPv4_addr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/IPv4_addr.png -------------------------------------------------------------------------------- /contents/images/IPv4_header.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/IPv4_header.png -------------------------------------------------------------------------------- /contents/images/IPv6_addr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/IPv6_addr.png -------------------------------------------------------------------------------- /contents/images/IPv6_header.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/IPv6_header.png -------------------------------------------------------------------------------- /contents/images/Internet_package.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/Internet_package.png -------------------------------------------------------------------------------- /contents/images/JSChina 2017.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/JSChina 2017.png -------------------------------------------------------------------------------- /contents/images/LLC_SNAP.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/LLC_SNAP.png -------------------------------------------------------------------------------- /contents/images/MTU_Path.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/MTU_Path.png -------------------------------------------------------------------------------- /contents/images/Machine-Learning_0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/Machine-Learning_0.png -------------------------------------------------------------------------------- /contents/images/Machine-Learning_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/Machine-Learning_1.png -------------------------------------------------------------------------------- /contents/images/Machine-Learning_2.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/Machine-Learning_2.jpeg -------------------------------------------------------------------------------- /contents/images/Machine-Learning_3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/Machine-Learning_3.png -------------------------------------------------------------------------------- /contents/images/News_HTTP_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/News_HTTP_2.png -------------------------------------------------------------------------------- /contents/images/OSI-TCP-Model-v1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/OSI-TCP-Model-v1.png -------------------------------------------------------------------------------- /contents/images/OSI.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/OSI.png -------------------------------------------------------------------------------- /contents/images/OSI_Layer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/OSI_Layer.png -------------------------------------------------------------------------------- /contents/images/Protocol_Layer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/Protocol_Layer.png -------------------------------------------------------------------------------- /contents/images/Protocol_standardization.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/Protocol_standardization.png -------------------------------------------------------------------------------- /contents/images/SSE.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/SSE.png -------------------------------------------------------------------------------- /contents/images/SSE_use.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/SSE_use.png -------------------------------------------------------------------------------- /contents/images/SSL_TLS_Protocol.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/SSL_TLS_Protocol.png -------------------------------------------------------------------------------- /contents/images/TCP-IP-package.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/TCP-IP-package.png -------------------------------------------------------------------------------- /contents/images/TCP_header.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/TCP_header.png -------------------------------------------------------------------------------- /contents/images/TCP_header_option.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/TCP_header_option.png -------------------------------------------------------------------------------- /contents/images/TCP_port.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/TCP_port.png -------------------------------------------------------------------------------- /contents/images/TCP的有限状态机.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/TCP的有限状态机.png -------------------------------------------------------------------------------- /contents/images/UDP_header.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/UDP_header.png -------------------------------------------------------------------------------- /contents/images/UDP_port.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/UDP_port.png -------------------------------------------------------------------------------- /contents/images/VLAN_Frame.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/VLAN_Frame.png -------------------------------------------------------------------------------- /contents/images/advance_tcp-ip.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/advance_tcp-ip.png -------------------------------------------------------------------------------- /contents/images/ajax-long-polling.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/ajax-long-polling.png -------------------------------------------------------------------------------- /contents/images/ajax-polling.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/ajax-polling.png -------------------------------------------------------------------------------- /contents/images/background-cover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/background-cover.png -------------------------------------------------------------------------------- /contents/images/background-cover_.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/background-cover_.png -------------------------------------------------------------------------------- /contents/images/behind_frame.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/behind_frame.png -------------------------------------------------------------------------------- /contents/images/cache-control.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/cache-control.png -------------------------------------------------------------------------------- /contents/images/control_bits.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/control_bits.png -------------------------------------------------------------------------------- /contents/images/cred-req.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/cred-req.png -------------------------------------------------------------------------------- /contents/images/example_0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/example_0.png -------------------------------------------------------------------------------- /contents/images/fake_TCP_header.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/fake_TCP_header.png -------------------------------------------------------------------------------- /contents/images/fake_UDP_header.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/fake_UDP_header.png -------------------------------------------------------------------------------- /contents/images/flatbuffer_attention.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/flatbuffer_attention.gif -------------------------------------------------------------------------------- /contents/images/flatbuffer_flexbuffer_end.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/flatbuffer_flexbuffer_end.gif -------------------------------------------------------------------------------- /contents/images/flatbuffers.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/flatbuffers.png -------------------------------------------------------------------------------- /contents/images/frame.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/frame.png -------------------------------------------------------------------------------- /contents/images/golang-gopher.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/golang-gopher.jpg -------------------------------------------------------------------------------- /contents/images/google_protocolbuffers.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/google_protocolbuffers.png -------------------------------------------------------------------------------- /contents/images/how-data-is-processed-in-OSI-and-TCPIP-models.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/how-data-is-processed-in-OSI-and-TCPIP-models.png -------------------------------------------------------------------------------- /contents/images/http2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/http2.png -------------------------------------------------------------------------------- /contents/images/http_cache.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/http_cache.png -------------------------------------------------------------------------------- /contents/images/http_https.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/http_https.png -------------------------------------------------------------------------------- /contents/images/http_to_https.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/http_to_https.png -------------------------------------------------------------------------------- /contents/images/https_guide.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/https_guide.png -------------------------------------------------------------------------------- /contents/images/ifream.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/ifream.png -------------------------------------------------------------------------------- /contents/images/infinity-times-faster.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/infinity-times-faster.png -------------------------------------------------------------------------------- /contents/images/intro_protobuf.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/intro_protobuf.png -------------------------------------------------------------------------------- /contents/images/machine-learning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/machine-learning.png -------------------------------------------------------------------------------- /contents/images/mutating_flatbuffers.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/mutating_flatbuffers.gif -------------------------------------------------------------------------------- /contents/images/nagle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/nagle.png -------------------------------------------------------------------------------- /contents/images/network-protocol-map-2017-min.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/network-protocol-map-2017-min.png -------------------------------------------------------------------------------- /contents/images/package_struc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/package_struc.png -------------------------------------------------------------------------------- /contents/images/pb_json_0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/pb_json_0.png -------------------------------------------------------------------------------- /contents/images/pb_json_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/pb_json_1.png -------------------------------------------------------------------------------- /contents/images/pb_json_mapping.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/pb_json_mapping.png -------------------------------------------------------------------------------- /contents/images/pb_type.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/pb_type.png -------------------------------------------------------------------------------- /contents/images/pb_wire_type.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/pb_wire_type.png -------------------------------------------------------------------------------- /contents/images/pb_zigzag.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/pb_zigzag.png -------------------------------------------------------------------------------- /contents/images/prelight.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/prelight.png -------------------------------------------------------------------------------- /contents/images/protobuf_example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/protobuf_example.png -------------------------------------------------------------------------------- /contents/images/protobuf_title.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/protobuf_title.png -------------------------------------------------------------------------------- /contents/images/protocolbuffers.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/protocolbuffers.png -------------------------------------------------------------------------------- /contents/images/proxy cache poisoning attack1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/proxy cache poisoning attack1.png -------------------------------------------------------------------------------- /contents/images/proxy cache poisoning attack2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/proxy cache poisoning attack2.png -------------------------------------------------------------------------------- /contents/images/serializerxgames.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/serializerxgames.jpg -------------------------------------------------------------------------------- /contents/images/socket.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/socket.png -------------------------------------------------------------------------------- /contents/images/socket_interface.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/socket_interface.png -------------------------------------------------------------------------------- /contents/images/ssl-offloading.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/ssl-offloading.png -------------------------------------------------------------------------------- /contents/images/tcp-connection-closed-four-way-handshake.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/tcp-connection-closed-four-way-handshake.png -------------------------------------------------------------------------------- /contents/images/tcp-connection-made-three-way-handshake.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/tcp-connection-made-three-way-handshake.png -------------------------------------------------------------------------------- /contents/images/tcp-ip.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/tcp-ip.png -------------------------------------------------------------------------------- /contents/images/tcp_3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/tcp_3.png -------------------------------------------------------------------------------- /contents/images/tcp_4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/tcp_4.png -------------------------------------------------------------------------------- /contents/images/tcp_cwnd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/tcp_cwnd.png -------------------------------------------------------------------------------- /contents/images/tcp_guide.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/tcp_guide.png -------------------------------------------------------------------------------- /contents/images/tcp_overcrowding.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/tcp_overcrowding.png -------------------------------------------------------------------------------- /contents/images/tcp_retransmission.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/tcp_retransmission.png -------------------------------------------------------------------------------- /contents/images/tcp_sec.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/tcp_sec.png -------------------------------------------------------------------------------- /contents/images/tcp_slide_windows.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/tcp_slide_windows.png -------------------------------------------------------------------------------- /contents/images/thernet_frame.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/thernet_frame.png -------------------------------------------------------------------------------- /contents/images/websocket.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/websocket.png -------------------------------------------------------------------------------- /contents/images/websocket_protocol.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/websocket_protocol.png -------------------------------------------------------------------------------- /contents/images/websocket_use.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/websocket_use.png -------------------------------------------------------------------------------- /contents/images/websockets-flow-with-client-push.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/websockets-flow-with-client-push.png -------------------------------------------------------------------------------- /contents/images/wechat-qr-code.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/wechat-qr-code.png -------------------------------------------------------------------------------- /contents/images/响应报文.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/响应报文.png -------------------------------------------------------------------------------- /contents/images/报文实例.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/报文实例.png -------------------------------------------------------------------------------- /contents/images/请求报文.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/contents/images/请求报文.png -------------------------------------------------------------------------------- /website/archetypes/default.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "{{ replace .Name "-" " " | title }}" 3 | date: {{ .Date }} 4 | draft: true 5 | --- 6 | 7 | -------------------------------------------------------------------------------- /website/deploy.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # if [ "`git status -s`" ] 4 | # then 5 | # echo "The working directory is dirty. Please commit any pending changes." 6 | # exit 1; 7 | # fi 8 | 9 | echo "Deleting old publication" 10 | rm -rf public 11 | 12 | echo "Generating site" 13 | hugo 14 | 15 | echo "Updating master branch" 16 | cd public 17 | git init 18 | 19 | git config --global push.default matching 20 | git config --global user.email "${GitHubEMail}" 21 | git config --global user.name "${GitHubUser}" 22 | 23 | git add --all . 24 | git commit -m "Publishing to master (deploy.sh)" 25 | 26 | echo "Pushing to github" 27 | git push --quiet --force https://${GitHubKEY}@github.com/${GitHubUser}/${GitHubRepo}.git master -------------------------------------------------------------------------------- /website/layouts/_default/baseof.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | {{ partial "head.html" . }} 4 | 5 |
6 | 7 | {{ partial "header.html" . }} 8 | 9 | {{ block "main" . }} 10 | {{ end }} 11 | 12 | {{ partial "footer.html" . }} 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | {{- $mainJS := resources.Get "main.js" | resources.Minify | resources.Fingerprint }} 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /website/layouts/_default/list.html: -------------------------------------------------------------------------------- 1 | {{ define "main"}} 2 |
3 |
    4 | {{ range (sort .Pages "Date" "desc") }} 5 | {{ $pageYear := (.Date.Format "2006") }} 6 | {{ if (ne $pageYear ($.Scratch.Get "year")) }} 7 | {{ $.Scratch.Set "year" $pageYear }} 8 |

    {{ $pageYear }}

    9 | {{ end }} 10 |
  • 11 |
    12 | 13 |
    14 | 15 | {{ if .Title }} {{ .Title }} {{ else }} Untitled {{ end }} 16 | 17 |
  • 18 | {{ end }} 19 |
20 | 21 |
22 | {{ end }} -------------------------------------------------------------------------------- /website/layouts/partials/footer.html: -------------------------------------------------------------------------------- 1 |
2 | 13 |
-------------------------------------------------------------------------------- /website/static/css/README: -------------------------------------------------------------------------------- 1 | 自定义 CSS 是在这个文件里面更改的。这里会覆盖原主题 static/css 里面的文件 2 | 3 | 但是改完需要手动复制这个 css 整个文件夹到主题里面的 assets 文件夹下面。因为 hugo 编译期间只能 Get 到 assets 文件夹下的内容。 4 | 这是 hugo 的限制。 -------------------------------------------------------------------------------- /website/static/images/apple-touch-icon-1024x1024.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/website/static/images/apple-touch-icon-1024x1024.png -------------------------------------------------------------------------------- /website/static/images/apple-touch-icon-1200x1200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/website/static/images/apple-touch-icon-1200x1200.png -------------------------------------------------------------------------------- /website/static/images/apple-touch-icon-120x120.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/website/static/images/apple-touch-icon-120x120.png -------------------------------------------------------------------------------- /website/static/images/apple-touch-icon-152x152.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/website/static/images/apple-touch-icon-152x152.png -------------------------------------------------------------------------------- /website/static/images/apple-touch-icon-180x180.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/website/static/images/apple-touch-icon-180x180.png -------------------------------------------------------------------------------- /website/static/images/apple-touch-icon-2048x2048.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/website/static/images/apple-touch-icon-2048x2048.jpg -------------------------------------------------------------------------------- /website/static/images/apple-touch-icon-512x512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/website/static/images/apple-touch-icon-512x512.png -------------------------------------------------------------------------------- /website/static/images/apple-touch-icon-60x60.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/website/static/images/apple-touch-icon-60x60.png -------------------------------------------------------------------------------- /website/static/images/apple-touch-icon-76x76.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/website/static/images/apple-touch-icon-76x76.png -------------------------------------------------------------------------------- /website/static/images/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/website/static/images/favicon.ico -------------------------------------------------------------------------------- /website/static/images/favicon1.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/website/static/images/favicon1.ico -------------------------------------------------------------------------------- /website/static/images/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/website/static/images/logo.png -------------------------------------------------------------------------------- /website/static/images/logo2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/website/static/images/logo2.png -------------------------------------------------------------------------------- /website/themes/cactus/assets/sw-register.js: -------------------------------------------------------------------------------- 1 | {{- $swJS := resources.Get "sw.js" | resources.ExecuteAsTemplate "sw.js" . -}} 2 | if (navigator.serviceWorker) { 3 | navigator.serviceWorker.register( 4 | "{{ $swJS.RelPermalink }}", 5 | { scope: "{{ "/" | relURL }}" } 6 | ); 7 | } 8 | -------------------------------------------------------------------------------- /website/themes/cactus/exampleSite/.travis.yml: -------------------------------------------------------------------------------- 1 | language: minimal 2 | dist: trusty 3 | env: 4 | - HUGO_VERSION=0.74.2 5 | install: 6 | - curl -LO https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_${HUGO_VERSION}_Linux-64bit.deb 7 | - sudo dpkg -i hugo_${HUGO_VERSION}_Linux-64bit.deb 8 | script: 9 | - chmod +x ./deploy.sh 10 | - ./deploy.sh 11 | branches: 12 | only: 13 | - src 14 | -------------------------------------------------------------------------------- /website/themes/cactus/exampleSite/archetypes/default.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "{{ replace .Name "-" " " | title }}" 3 | date: {{ .Date }} 4 | draft: true 5 | --- 6 | 7 | -------------------------------------------------------------------------------- /website/themes/cactus/exampleSite/content/about/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: About me 3 | date: 2016-08-24 17:51:42 4 | --- 5 | 6 | Github: [monkeyWzr](https://github.com/monkeyWzr) 7 | 8 | -------------------------------------------------------------------------------- /website/themes/cactus/exampleSite/content/posts/2019-11-18-uipath-best-practice.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: uipath ノート(二)- Best Practice 3 | date: 2019-11-18 09:00:00 4 | tags: 5 | - RPA 6 | categories: 7 | - notes 8 | keywords: 9 | - RPA 10 | - uipath 11 | --- 12 | 13 | ## 時間をかけて各ワークフローに適したレイアウトを選択しましょう。 14 | 15 | * メイン: フローチャートまたはステートマシン 16 | 17 | * ビジネスロジック: フローチャート 18 | 19 | * UI インタラクション: シーケンス 20 | 21 | * フローチャートを使用することで、入れ子状の IF を回避 22 | 23 | ## プロセスを小さなワークフローに分割しましょう。 24 | 25 | * 分割したものを個別に開発、テスト 26 | 27 | * ワークフローの再利用 28 | 29 | * 分割ファイルで作業することによる、より効率的な共同作業 30 | 31 | ## 必ず例外を処理しましょう。 32 | 33 | * 例外が発生しやすいワークフローを [Try Catch (トライキャッチ)] ブロックに配置 34 | 35 | * 外部から呼び出されたワークフローでも同様 36 | 37 | * リカバリシーケンスの設定 38 | 39 | ## ワークフローを読みやすいものにしましょう。 40 | 41 | * すべてのコンポーネントにわかりやすい名前を選択 42 | 43 | * 注記やコメントの使用 44 | 45 | * リアルタイムの実行状況のログ取得 46 | 47 | * 環境設定を Config ファイルに格納 48 | 49 | ## 不要になったアプリケーションを終了させることで、常にクリーンな状態を維持しましょう。 50 | -------------------------------------------------------------------------------- /website/themes/cactus/exampleSite/data/projects.json: -------------------------------------------------------------------------------- 1 | { 2 | "list": [ 3 | { 4 | "name":"Hugo", 5 | "url":"https://gohugo.io/", 6 | "desc":"The world’s fastest framework for building websites." 7 | }, 8 | { 9 | "name":"Hugo Themes", 10 | "url":"https://github.com/gohugoio/hugoThemes", 11 | "desc":"A curated directory of Hugo themes" 12 | } 13 | ] 14 | } -------------------------------------------------------------------------------- /website/themes/cactus/exampleSite/deploy.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # if [ "`git status -s`" ] 4 | # then 5 | # echo "The working directory is dirty. Please commit any pending changes." 6 | # exit 1; 7 | # fi 8 | 9 | echo "Deleting old publication" 10 | rm -rf public 11 | 12 | echo "Generating site" 13 | hugo 14 | 15 | echo "Updating master branch" 16 | cd public 17 | git init 18 | 19 | git config --global push.default matching 20 | git config --global user.email "${GitHubEMail}" 21 | git config --global user.name "${GitHubUser}" 22 | 23 | git add --all . 24 | git commit -m "Publishing to master (deploy.sh)" 25 | 26 | echo "Pushing to github" 27 | git push --quiet --force https://${GitHubKEY}@github.com/${GitHubUser}/${GitHubRepo}.git master -------------------------------------------------------------------------------- /website/themes/cactus/images/screenshot-classic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/website/themes/cactus/images/screenshot-classic.png -------------------------------------------------------------------------------- /website/themes/cactus/images/screenshot-dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/website/themes/cactus/images/screenshot-dark.png -------------------------------------------------------------------------------- /website/themes/cactus/images/screenshot-light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/website/themes/cactus/images/screenshot-light.png -------------------------------------------------------------------------------- /website/themes/cactus/images/screenshot-tagsOverview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/website/themes/cactus/images/screenshot-tagsOverview.png -------------------------------------------------------------------------------- /website/themes/cactus/images/screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/website/themes/cactus/images/screenshot.png -------------------------------------------------------------------------------- /website/themes/cactus/images/tn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/website/themes/cactus/images/tn.png -------------------------------------------------------------------------------- /website/themes/cactus/layouts/_default/baseof.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | {{ partial "head.html" . }} 4 | 5 |
6 | 7 | {{ partial "header.html" . }} 8 | 9 | {{ block "main" . }} 10 | {{ end }} 11 | 12 | {{ partial "footer.html" . }} 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /website/themes/cactus/layouts/_default/list.html: -------------------------------------------------------------------------------- 1 | {{ define "main"}} 2 |
3 |
    4 | {{ range (sort .Paginator.Pages "Date" "desc") }} 5 | {{ $pageYear := (.Date.Format "2006") }} 6 | {{ if (ne $pageYear ($.Scratch.Get "year")) }} 7 | {{ $.Scratch.Set "year" $pageYear }} 8 |

    {{ $pageYear }}

    9 | {{ end }} 10 |
  • 11 |
    12 | 13 |
    14 | 15 | {{ if .Title }} {{ .Title }} {{ else }} Untitled {{ end }} 16 | 17 |
  • 18 | {{ end }} 19 |
20 | {{ partial "pagination.html" . }} 21 |
22 | {{ end }} -------------------------------------------------------------------------------- /website/themes/cactus/layouts/_default/single.html: -------------------------------------------------------------------------------- 1 | {{ define "main" }} 2 |
3 | 4 |
5 | {{ if (eq .Type "search") }} 6 | 7 | {{ else }} 8 | {{ .Content }} 9 | {{ end }} 10 |
11 |
12 | {{ end }} -------------------------------------------------------------------------------- /website/themes/cactus/layouts/index.html: -------------------------------------------------------------------------------- 1 | {{ define "main" }} 2 |
3 |
4 | {{ range (sort .Pages "Date" "desc") }} 5 | {{ $pageYear := (.Date.Format "2006") }} 6 | {{ if (ne $pageYear ($.Scratch.Get "year")) }} 7 | {{ $.Scratch.Set "year" $pageYear }} 8 |

{{ $pageYear }}

9 | {{ end }} 10 | 20 | {{ end }} 21 |
22 |
23 | {{ end }} -------------------------------------------------------------------------------- /website/themes/cactus/layouts/partials/favicon.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /website/themes/cactus/layouts/partials/footer.html: -------------------------------------------------------------------------------- 1 |
2 | 5 | 14 |
15 | -------------------------------------------------------------------------------- /website/themes/cactus/layouts/partials/header.html: -------------------------------------------------------------------------------- 1 | 25 | 26 | -------------------------------------------------------------------------------- /website/themes/cactus/layouts/partials/pagination.html: -------------------------------------------------------------------------------- 1 | {{ $pag := $.Paginator }} 2 | {{ if gt $pag.TotalPages 1 }} 3 | 13 | {{ end }} 14 | -------------------------------------------------------------------------------- /website/themes/cactus/layouts/partials/title.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/website/themes/cactus/layouts/partials/title.html -------------------------------------------------------------------------------- /website/themes/cactus/static/_styl/_colors/classic.styl: -------------------------------------------------------------------------------- 1 | $color-background = #fafafa 2 | $color-footer-mobile-1 = darken($color-background, 2%) 3 | $color-footer-mobile-2 = darken($color-background, 10%) 4 | $color-background-code = darken($color-background, 2%) 5 | $color-border = #666 6 | $color-meta = #666 7 | $color-meta-code = lighten($color-meta, 10%) 8 | $color-link = rgba(86, 124, 119, .4) 9 | $color-text = #22272a 10 | $color-accent-1 = #cc2a41 11 | $color-accent-2 = rgba(86, 124, 119, .8) 12 | $color-accent-3 = #666 13 | $color-quote = #cc2a41 14 | -------------------------------------------------------------------------------- /website/themes/cactus/static/_styl/_colors/dark.styl: -------------------------------------------------------------------------------- 1 | $color-background = #1d1f21 2 | $color-footer-mobile-1 = lighten($color-background, 2%) 3 | $color-footer-mobile-2 = lighten($color-background, 10%) 4 | $color-background-code = lighten($color-background, 2%) 5 | $color-border = #666 6 | $color-meta = #666 7 | $color-meta-code = #666 8 | $color-link = rgba(212, 128, 170, 1) 9 | $color-text = #c9cacc 10 | $color-accent-3 = #cccccc 11 | $color-accent-2 = #eeeeee 12 | $color-accent-1 = #2bbc8a 13 | $color-quote = #ccffb6 14 | -------------------------------------------------------------------------------- /website/themes/cactus/static/_styl/_colors/light.styl: -------------------------------------------------------------------------------- 1 | // by @GabiThume (https://github.com/gabithume) 2 | $color-background = #e2e0de 3 | $color-footer-mobile-1 = darken($color-background, 2%) 4 | $color-footer-mobile-2 = darken($color-background, 10%) 5 | $color-background-code = darken($color-background, 2%) 6 | $color-border = #666 7 | $color-meta = #666 8 | $color-meta-code = lighten($color-meta, 10%) 9 | $color-link = rgba(43, 188, 138, 1) 10 | $color-text = #363533 11 | $color-accent-3 = #666666 12 | $color-accent-2 = #111111 13 | $color-accent-1 = #d44375 14 | $color-quote = #ab2251 15 | -------------------------------------------------------------------------------- /website/themes/cactus/static/_styl/_colors/white.styl: -------------------------------------------------------------------------------- 1 | // by @sergodeeva (https://github.com/sergodeeva) 2 | $color-background = #FFFFFF 3 | $color-footer-mobile-1 = darken($color-background, 2%) 4 | $color-footer-mobile-2 = darken($color-background, 10%) 5 | $color-background-code = darken($color-background, 2%) 6 | $color-border = #666 7 | $color-meta = #666 8 | $color-meta-code = lighten($color-meta, 10%) 9 | $color-link = rgba(212, 128, 170, 1) 10 | $color-text = #383838 11 | $color-accent-3 = #8c8c8c 12 | $color-accent-2 = #383838 13 | $color-accent-1 = #2bbc8a 14 | $color-quote = #2bbc8a -------------------------------------------------------------------------------- /website/themes/cactus/static/_styl/_fonts.styl: -------------------------------------------------------------------------------- 1 | @font-face 2 | font-style: normal 3 | font-family: "Meslo LG" 4 | src: local("Meslo LG S"), url("../lib/meslo-LG/MesloLGS-Regular.ttf") format("truetype") 5 | 6 | @font-face 7 | font-style: normal 8 | font-family: "JetBrains Mono" 9 | src: local("JetBrains Mono"), url("../lib/JetBrainsMono/ttf/JetBrainsMono-Regular.ttf") format("truetype") 10 | -------------------------------------------------------------------------------- /website/themes/cactus/static/_styl/_mixins.styl: -------------------------------------------------------------------------------- 1 | antialias() 2 | -moz-osx-font-smoothing: grayscale 3 | -webkit-font-smoothing: antialiased 4 | 5 | hyphens($value) 6 | hyphens: $value 7 | -moz-hyphens: $value 8 | -ms-hyphens: $value 9 | -webkit-hyphens: $value 10 | 11 | underline($size, $color) 12 | background-image: linear-gradient(transparent, transparent $size, $color $size, $color) 13 | background-position: bottom 14 | background-size: 100% 6px 15 | background-repeat: repeat-x 16 | 17 | no-select() 18 | user-select: none 19 | -khtml-user-select: none 20 | -o-user-select: none 21 | -moz-user-select: none 22 | -webkit-user-select: none 23 | -------------------------------------------------------------------------------- /website/themes/cactus/static/_styl/_partial/archive.styl: -------------------------------------------------------------------------------- 1 | #archive 2 | .post-list 3 | padding: 0 4 | 5 | .post-item 6 | margin-bottom: 1rem 7 | margin-left: 0 8 | list-style-type: none 9 | 10 | .meta 11 | display: block 12 | margin-right: 16px 13 | min-width: 100px 14 | color: $color-meta 15 | font-size: 14px 16 | 17 | @media (min-width: 480px) 18 | .post-list 19 | .post-item 20 | display: flex 21 | margin-bottom: 5px 22 | margin-left: 1rem 23 | 24 | .meta 25 | text-align: left 26 | -------------------------------------------------------------------------------- /website/themes/cactus/static/_styl/_partial/categories.styl: -------------------------------------------------------------------------------- 1 | #categories 2 | .category-list-title 3 | color: $color-meta 4 | .category-list 5 | .category-list-item 6 | .category-list-count 7 | color: $color-meta 8 | .category-list-count:before 9 | content: " (" 10 | .category-list-count:after 11 | content: ")" 12 | -------------------------------------------------------------------------------- /website/themes/cactus/static/_styl/_partial/comments.styl: -------------------------------------------------------------------------------- 1 | .blog-post-comments 2 | margin-top: 4rem 3 | -------------------------------------------------------------------------------- /website/themes/cactus/static/_styl/_partial/index.styl: -------------------------------------------------------------------------------- 1 | .post-list 2 | padding: 0 3 | 4 | .post-item 5 | margin-bottom: 1rem 6 | margin-left: 0 7 | list-style-type: none 8 | 9 | .meta 10 | display: block 11 | margin-right: 16px 12 | min-width: 100px 13 | color: $color-meta 14 | font-size: 14px 15 | 16 | @media (min-width: 480px) 17 | .post-list 18 | .post-item 19 | display: flex 20 | margin-bottom: 5px 21 | 22 | .meta 23 | text-align: left 24 | 25 | .project-list 26 | padding: 0 27 | list-style: none 28 | 29 | .project-item 30 | margin-bottom: 5px 31 | p 32 | display: inline 33 | -------------------------------------------------------------------------------- /website/themes/cactus/static/_styl/_partial/pagination.styl: -------------------------------------------------------------------------------- 1 | .pagination 2 | display: inline-block 3 | margin-top: 2rem 4 | width: 100% 5 | text-align: center 6 | 7 | .page-number 8 | color: $color-text 9 | font-size: .8rem 10 | 11 | a 12 | padding: 4px 6px 13 | border-radius: 5px 14 | // background-color: $color-accent-1 15 | background-image: none 16 | color: $color-text 17 | text-decoration: none 18 | 19 | a:hover 20 | background-image: none 21 | 22 | a:hover:not(.active) 23 | color: $color-accent-2 24 | -------------------------------------------------------------------------------- /website/themes/cactus/static/_styl/_partial/search.styl: -------------------------------------------------------------------------------- 1 | .search-input 2 | padding: 4px 7px 3 | width: 100% 4 | outline: none 5 | border: solid 1px $color-accent-3 6 | border-radius: 5px 7 | background-color: $color-background 8 | color: $color-text 9 | font-size: 1.2rem 10 | -webkit-border-radius: 5px 11 | -moz-border-radius: 5px 12 | 13 | &:focus 14 | border: solid 1px $color-accent-1 15 | 16 | #search-result 17 | ul.search-result-list 18 | padding: 0 19 | list-style-type: none 20 | 21 | li 22 | margin: 2em auto 23 | 24 | a.search-result-title 25 | background-image: none 26 | color: $color-text 27 | text-transform: capitalize 28 | font-weight: bold 29 | line-height: 1.2 30 | 31 | p.search-result 32 | overflow: hidden 33 | margin: .4em auto 34 | max-height: 13em 35 | text-align: justify 36 | font-size: .8em 37 | 38 | em.search-keyword 39 | border-bottom: 1px dashed $color-link 40 | color: $color-link 41 | font-weight: bold 42 | 43 | .search-no-result 44 | display: none 45 | padding-bottom: .5em 46 | color: $color-text 47 | -------------------------------------------------------------------------------- /website/themes/cactus/static/_styl/_partial/tags.styl: -------------------------------------------------------------------------------- 1 | #tag-cloud 2 | .tag-cloud-title 3 | color: $color-meta 4 | .tag-cloud-tags 5 | clear: both 6 | text-align: center 7 | a 8 | display: inline-block 9 | margin: 10px 10 | -------------------------------------------------------------------------------- /website/themes/cactus/static/_styl/_variables.styl: -------------------------------------------------------------------------------- 1 | // Fonts 2 | $font-family-body = "JetBrains Mono", monospace 3 | $font-family-mono = "JetBrains Mono", monospace 4 | $font-family-tt = "Inconsolata", monospace 5 | $font-size = 14px 6 | $line-height = 1.725 7 | $page-width = 48rem 8 | // Logo 9 | $logo-width = 50px 10 | $logo-height = 50px 11 | $logo-grayout = true 12 | // Colors 13 | $colors = "dark" // white dark light classic 14 | -------------------------------------------------------------------------------- /website/themes/cactus/static/lib/JetBrainsMono/ttf/JetBrainsMono-Bold-Italic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/website/themes/cactus/static/lib/JetBrainsMono/ttf/JetBrainsMono-Bold-Italic.ttf -------------------------------------------------------------------------------- /website/themes/cactus/static/lib/JetBrainsMono/ttf/JetBrainsMono-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/website/themes/cactus/static/lib/JetBrainsMono/ttf/JetBrainsMono-Bold.ttf -------------------------------------------------------------------------------- /website/themes/cactus/static/lib/JetBrainsMono/ttf/JetBrainsMono-ExtraBold-Italic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/website/themes/cactus/static/lib/JetBrainsMono/ttf/JetBrainsMono-ExtraBold-Italic.ttf -------------------------------------------------------------------------------- /website/themes/cactus/static/lib/JetBrainsMono/ttf/JetBrainsMono-ExtraBold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/website/themes/cactus/static/lib/JetBrainsMono/ttf/JetBrainsMono-ExtraBold.ttf -------------------------------------------------------------------------------- /website/themes/cactus/static/lib/JetBrainsMono/ttf/JetBrainsMono-Italic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/website/themes/cactus/static/lib/JetBrainsMono/ttf/JetBrainsMono-Italic.ttf -------------------------------------------------------------------------------- /website/themes/cactus/static/lib/JetBrainsMono/ttf/JetBrainsMono-Medium-Italic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/website/themes/cactus/static/lib/JetBrainsMono/ttf/JetBrainsMono-Medium-Italic.ttf -------------------------------------------------------------------------------- /website/themes/cactus/static/lib/JetBrainsMono/ttf/JetBrainsMono-Medium.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/website/themes/cactus/static/lib/JetBrainsMono/ttf/JetBrainsMono-Medium.ttf -------------------------------------------------------------------------------- /website/themes/cactus/static/lib/JetBrainsMono/ttf/JetBrainsMono-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/website/themes/cactus/static/lib/JetBrainsMono/ttf/JetBrainsMono-Regular.ttf -------------------------------------------------------------------------------- /website/themes/cactus/static/lib/JetBrainsMono/web/eot/JetBrainsMono-Bold-Italic.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/website/themes/cactus/static/lib/JetBrainsMono/web/eot/JetBrainsMono-Bold-Italic.eot -------------------------------------------------------------------------------- /website/themes/cactus/static/lib/JetBrainsMono/web/eot/JetBrainsMono-Bold.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/website/themes/cactus/static/lib/JetBrainsMono/web/eot/JetBrainsMono-Bold.eot -------------------------------------------------------------------------------- /website/themes/cactus/static/lib/JetBrainsMono/web/eot/JetBrainsMono-ExtraBold-Italic.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/website/themes/cactus/static/lib/JetBrainsMono/web/eot/JetBrainsMono-ExtraBold-Italic.eot -------------------------------------------------------------------------------- /website/themes/cactus/static/lib/JetBrainsMono/web/eot/JetBrainsMono-ExtraBold.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/website/themes/cactus/static/lib/JetBrainsMono/web/eot/JetBrainsMono-ExtraBold.eot -------------------------------------------------------------------------------- /website/themes/cactus/static/lib/JetBrainsMono/web/eot/JetBrainsMono-Italic.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/website/themes/cactus/static/lib/JetBrainsMono/web/eot/JetBrainsMono-Italic.eot -------------------------------------------------------------------------------- /website/themes/cactus/static/lib/JetBrainsMono/web/eot/JetBrainsMono-Medium-Italic.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/website/themes/cactus/static/lib/JetBrainsMono/web/eot/JetBrainsMono-Medium-Italic.eot -------------------------------------------------------------------------------- /website/themes/cactus/static/lib/JetBrainsMono/web/eot/JetBrainsMono-Medium.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/website/themes/cactus/static/lib/JetBrainsMono/web/eot/JetBrainsMono-Medium.eot -------------------------------------------------------------------------------- /website/themes/cactus/static/lib/JetBrainsMono/web/eot/JetBrainsMono-Regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/website/themes/cactus/static/lib/JetBrainsMono/web/eot/JetBrainsMono-Regular.eot -------------------------------------------------------------------------------- /website/themes/cactus/static/lib/JetBrainsMono/web/woff/JetBrainsMono-Bold-Italic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/website/themes/cactus/static/lib/JetBrainsMono/web/woff/JetBrainsMono-Bold-Italic.woff -------------------------------------------------------------------------------- /website/themes/cactus/static/lib/JetBrainsMono/web/woff/JetBrainsMono-Bold.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/website/themes/cactus/static/lib/JetBrainsMono/web/woff/JetBrainsMono-Bold.woff -------------------------------------------------------------------------------- /website/themes/cactus/static/lib/JetBrainsMono/web/woff/JetBrainsMono-ExtraBold-Italic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/website/themes/cactus/static/lib/JetBrainsMono/web/woff/JetBrainsMono-ExtraBold-Italic.woff -------------------------------------------------------------------------------- /website/themes/cactus/static/lib/JetBrainsMono/web/woff/JetBrainsMono-ExtraBold.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/website/themes/cactus/static/lib/JetBrainsMono/web/woff/JetBrainsMono-ExtraBold.woff -------------------------------------------------------------------------------- /website/themes/cactus/static/lib/JetBrainsMono/web/woff/JetBrainsMono-Italic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/website/themes/cactus/static/lib/JetBrainsMono/web/woff/JetBrainsMono-Italic.woff -------------------------------------------------------------------------------- /website/themes/cactus/static/lib/JetBrainsMono/web/woff/JetBrainsMono-Medium-Italic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/website/themes/cactus/static/lib/JetBrainsMono/web/woff/JetBrainsMono-Medium-Italic.woff -------------------------------------------------------------------------------- /website/themes/cactus/static/lib/JetBrainsMono/web/woff/JetBrainsMono-Medium.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/website/themes/cactus/static/lib/JetBrainsMono/web/woff/JetBrainsMono-Medium.woff -------------------------------------------------------------------------------- /website/themes/cactus/static/lib/JetBrainsMono/web/woff/JetBrainsMono-Regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/website/themes/cactus/static/lib/JetBrainsMono/web/woff/JetBrainsMono-Regular.woff -------------------------------------------------------------------------------- /website/themes/cactus/static/lib/JetBrainsMono/web/woff2/JetBrainsMono-Bold-Italic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/website/themes/cactus/static/lib/JetBrainsMono/web/woff2/JetBrainsMono-Bold-Italic.woff2 -------------------------------------------------------------------------------- /website/themes/cactus/static/lib/JetBrainsMono/web/woff2/JetBrainsMono-Bold.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/website/themes/cactus/static/lib/JetBrainsMono/web/woff2/JetBrainsMono-Bold.woff2 -------------------------------------------------------------------------------- /website/themes/cactus/static/lib/JetBrainsMono/web/woff2/JetBrainsMono-ExtraBold-Italic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/website/themes/cactus/static/lib/JetBrainsMono/web/woff2/JetBrainsMono-ExtraBold-Italic.woff2 -------------------------------------------------------------------------------- /website/themes/cactus/static/lib/JetBrainsMono/web/woff2/JetBrainsMono-ExtraBold.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/website/themes/cactus/static/lib/JetBrainsMono/web/woff2/JetBrainsMono-ExtraBold.woff2 -------------------------------------------------------------------------------- /website/themes/cactus/static/lib/JetBrainsMono/web/woff2/JetBrainsMono-Italic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/website/themes/cactus/static/lib/JetBrainsMono/web/woff2/JetBrainsMono-Italic.woff2 -------------------------------------------------------------------------------- /website/themes/cactus/static/lib/JetBrainsMono/web/woff2/JetBrainsMono-Medium-Italic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/website/themes/cactus/static/lib/JetBrainsMono/web/woff2/JetBrainsMono-Medium-Italic.woff2 -------------------------------------------------------------------------------- /website/themes/cactus/static/lib/JetBrainsMono/web/woff2/JetBrainsMono-Medium.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/website/themes/cactus/static/lib/JetBrainsMono/web/woff2/JetBrainsMono-Medium.woff2 -------------------------------------------------------------------------------- /website/themes/cactus/static/lib/JetBrainsMono/web/woff2/JetBrainsMono-Regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/website/themes/cactus/static/lib/JetBrainsMono/web/woff2/JetBrainsMono-Regular.woff2 -------------------------------------------------------------------------------- /website/themes/cactus/static/lib/font-awesome/webfonts/fa-brands-400.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/website/themes/cactus/static/lib/font-awesome/webfonts/fa-brands-400.eot -------------------------------------------------------------------------------- /website/themes/cactus/static/lib/font-awesome/webfonts/fa-brands-400.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/website/themes/cactus/static/lib/font-awesome/webfonts/fa-brands-400.ttf -------------------------------------------------------------------------------- /website/themes/cactus/static/lib/font-awesome/webfonts/fa-brands-400.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/website/themes/cactus/static/lib/font-awesome/webfonts/fa-brands-400.woff -------------------------------------------------------------------------------- /website/themes/cactus/static/lib/font-awesome/webfonts/fa-brands-400.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/website/themes/cactus/static/lib/font-awesome/webfonts/fa-brands-400.woff2 -------------------------------------------------------------------------------- /website/themes/cactus/static/lib/font-awesome/webfonts/fa-regular-400.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/website/themes/cactus/static/lib/font-awesome/webfonts/fa-regular-400.eot -------------------------------------------------------------------------------- /website/themes/cactus/static/lib/font-awesome/webfonts/fa-regular-400.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/website/themes/cactus/static/lib/font-awesome/webfonts/fa-regular-400.ttf -------------------------------------------------------------------------------- /website/themes/cactus/static/lib/font-awesome/webfonts/fa-regular-400.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/website/themes/cactus/static/lib/font-awesome/webfonts/fa-regular-400.woff -------------------------------------------------------------------------------- /website/themes/cactus/static/lib/font-awesome/webfonts/fa-regular-400.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/website/themes/cactus/static/lib/font-awesome/webfonts/fa-regular-400.woff2 -------------------------------------------------------------------------------- /website/themes/cactus/static/lib/font-awesome/webfonts/fa-solid-900.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/website/themes/cactus/static/lib/font-awesome/webfonts/fa-solid-900.eot -------------------------------------------------------------------------------- /website/themes/cactus/static/lib/font-awesome/webfonts/fa-solid-900.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/website/themes/cactus/static/lib/font-awesome/webfonts/fa-solid-900.ttf -------------------------------------------------------------------------------- /website/themes/cactus/static/lib/font-awesome/webfonts/fa-solid-900.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/website/themes/cactus/static/lib/font-awesome/webfonts/fa-solid-900.woff -------------------------------------------------------------------------------- /website/themes/cactus/static/lib/font-awesome/webfonts/fa-solid-900.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfrost/Halfrost-Field/c1ef9787808cc68eace793fea9fb16bcb6f14cd5/website/themes/cactus/static/lib/font-awesome/webfonts/fa-solid-900.woff2 -------------------------------------------------------------------------------- /website/themes/cactus/theme.toml: -------------------------------------------------------------------------------- 1 | name = "Cactus" 2 | license = "MIT" 3 | licenselink = "https://github.com/monkeyWzr/hugo-theme-cactus/blob/master/LICENSE" 4 | description = "A clean, responsive hugo theme for personal blog. Forked from hexo theme cactus created by @probberechts." 5 | homepage = "https://github.com/monkeyWzr/hugo-theme-cactus" 6 | tags = ["blog", "responsive", "clean"] 7 | features = ["mathjax", "customizable", "color"] 8 | min_version = "0.48" 9 | 10 | # If the theme has a single author 11 | [author] 12 | name = "Zeran Wu" 13 | homepage = "https://github.com/monkeyWzr" 14 | 15 | # If porting an existing theme 16 | [original] 17 | author = "Pieter Robberechts" 18 | homepage = "https://github.com/probberechts" 19 | repo = "https://github.com/probberechts/hexo-theme-cactus" --------------------------------------------------------------------------------