<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>SDK集成 on 知识铺的博客</title>
    <link>https://index.zshipu.com/geek002/tags/SDK%E9%9B%86%E6%88%90/</link>
    <description>Recent content in SDK集成 on 知识铺的博客</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>zh-CN</language>
    <lastBuildDate>Sat, 12 Oct 2024 05:46:33 +0000</lastBuildDate>
    <atom:link href="https://index.zshipu.com/geek002/tags/SDK%E9%9B%86%E6%88%90/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>模拟神策（Sensors Analytics）SDK</title>
      <link>https://index.zshipu.com/geek002/post/202410/%E6%A8%A1%E6%8B%9F%E7%A5%9E%E7%AD%96Sensors-AnalyticsSDK--%E7%9F%A5%E8%AF%86%E9%93%BA/</link>
      <pubDate>Sat, 12 Oct 2024 05:46:33 +0000</pubDate>
      <guid>https://index.zshipu.com/geek002/post/202410/%E6%A8%A1%E6%8B%9F%E7%A5%9E%E7%AD%96Sensors-AnalyticsSDK--%E7%9F%A5%E8%AF%86%E9%93%BA/</guid>
      <description>aaaaaa# 模拟神策（Sensors Analytics）SDK 核心实现逻辑 为了模拟神策 SDK 的无侵入埋点采集功能，我们将创建一个简化的框架，涵盖自动追踪事件、事件数据管理以及网络请求管理等关键方面。以下是如何构建这样一个简化版的 SDK。 1. SensorsAnalyticsManager 类定义 1.1 SensorsAnalyticsManager.h aaaa```objc // SensorsAnalyticsManager.h #import &amp;lt;Foundation/Foundation.h&amp;gt; #import &amp;lt;UIKit/UIKit.h&amp;gt; NS_ASSUME_NONNULL_BEGIN @protocol SensorsAnalyticsDelegate (void)didCollectEventData:(NSDictionary *)eventData; @end @interface SensorsAnalyticsManager : NSObject @property (nonatomic, weak) id delegate;</description>
    </item>
  </channel>
</rss>
