bmob-database-ios SKILL.md skillA

bmob-database-ios from bmob/agent-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add bmob/agent-skills/bmob-database-ios@v0.1.0

Pins v0.1.0 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
bmob/agent-skills
Path
skills/bmob-database-ios/SKILL.md
Versions recorded
2
Latest version
v0.1.0, committed Jun 4, 2026
First version recorded
May 27, 2026
Size
9,819 bytes
Repository stars
4
License
MIT

Use when implementing Bmob NoSQL database CRUD in an iOS native project — both Objective-C and Swift / SwiftUI / UIKit. Triggers: BmobSDK, BmobSDK.xcframework, pod 'BmobSDK', #import <BmobSDK/Bmob.h>, Bmob registerWithAppKey, [Bmob register(withAppKey:)], BmobObject objectWithClassName, BmobQuery queryWithClassName, BmobUser, BmobInstallation, BmobFile, BmobGeoPoint, BmobRelation, saveInBackgroundWithResultBlock, getObjectInBackgroundWithId, findObjectsInBackground, Bridging-Header.h. NOT for…

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Bmob Database — iOS Native SDK

iOS SDK 名为 `BmobSDK`,是 **Objective-C 编写**的 framework,Swift 项目通过 **Bridging Header** 桥接使用。SDK 数据模型以 `BmobObject` 为核心,不需要为每个表写子类(与 Android 不同)。

## 核心原则

**1. 安装 SDK — 强推 CocoaPods**:

```ruby
# Podfile
target "你的项目名称" do
  platform :ios, "15.6"
  use_frameworks!
  pod 'BmobSDK'
end
```

```bash
pod install
```

> 装完后**只打开 `.xcworkspace`**,不要再打开 `.xcodeproj`,否则找不到 Pod 引入的库。

也可手动导入 `BmobSDK.xcframework`,并链接以下系统库(详见 [`references/install.md`](references/install.md))。

**2. Swift 必须桥接:** 新建任意 `.m` 文件让 Xcode 弹"Create Bridging Header",然后在生成的 `项目名-Bridging-Header.h` 加:

```objc
#import <BmobSDK/Bmob.h>
```

**3. 初始化(OC)** — `AppDelegate.m`:

```objc
- (BOOL)application:(UIApplication *)application
  didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
    // release 上线时启用备案域名,必须在 registerWithAppKey 之前
    // [Bmob resetDomain:@"https://你的备案域名"];
    [Bmob registerWithAppKey:@"你的Application ID"];
    return YES;
}
```

**3. 初始化(Swift / SwiftUI)** — `AppApp.swift`:

```swift
@main
struct MyApp: App {
    init() {
        Bmob.register(withAppKey: "你的Application ID")
    }
    var body: some Scene { WindowGroup { ContentView() } }
}
```
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add bmob/agent-skills/bmob-database-ios@sha256:71df51c0c6816e3a

The line at the top of this page pins the label v0.1.0, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_n7joxbajzxisonbr.svg)](https://markdownregistry.com/a/art_n7joxbajzxisonbr)

4 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 2 versions of this file, between May 27, 2026 and Jun 4, 2026, about one every 8 days.

versioncommittedcommitsizeaudit
v0.1.0 latest2026-06-04 e0761d3 9,819 BA view · diff
v0.1.02026-05-27 7d95f5f 9,346 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (9819 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

bmob/agent-skills · 4 stars · license MIT · pushed 2026-10-21 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_n7joxbajzxisonbr
GET https://markdownregistry.com/api/v1/resolve?ref=bmob/agent-skills/bmob-database-ios
GET https://markdownregistry.com/api/v1/blob/71df51c0c6816e3aadb854a3cff518de304b543e9a9092e246dba2631d6221cb

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from bmob/agent-skills

bmob-cloud-function-development SKILL.md skill
bmob/agent-skills · skills/bmob-cloud-function-development/SKILL.md · Write, upload, verify, and sync Bmob server-side cloud functions using the Bmob MCP server when available. Use when the…
v0.4.0 · audit A · 4 stars
bmob-database-android SKILL.md skill
bmob/agent-skills · skills/bmob-database-android/SKILL.md · Use when implementing Bmob NoSQL database CRUD in an Android Native project (Java or Kotlin). Triggers…
v0.1.0 · audit A · 4 stars
bmob-database-flutter SKILL.md skill
bmob/agent-skills · skills/bmob-database-flutter/SKILL.md · Use when implementing Bmob NoSQL database CRUD in a Flutter / Dart project with the official bmob_plugin package…
v0.1.0 · audit A · 4 stars
bmob-database-javascript SKILL.md skill
bmob/agent-skills · skills/bmob-database-javascript/SKILL.md · Use when implementing Bmob NoSQL database CRUD with the cross-platform hydrogen-js-sdk (3.0+ supports both Secret Key +…
v0.1.0 · audit A · 4 stars
bmob-database-restful SKILL.md skill
bmob/agent-skills · skills/bmob-database-restful/SKILL.md · Use when interacting with Bmob backend cloud over plain HTTP / curl from ANY language that lacks a Bmob SDK — Python…
v0.1.0 · audit A · 4 stars
bmob-database-swift SKILL.md skill
bmob/agent-skills · skills/bmob-database-swift/SKILL.md · Use when implementing Bmob NoSQL database CRUD or realtime data listening with the pure Swift BmobSwiftSDK for iOS 15+…
v0.2.1 · audit A · 4 stars
bmob-error-codes SKILL.md skill
bmob/agent-skills · skills/bmob-error-codes/SKILL.md · Use when the user sees a Bmob error response with a numeric code (e.g. 9015, 101, 105, 206, 211, 9013, 10017, 10076)…
v0.1.0 · audit A · 4 stars
bmob-mcp SKILL.md skill
bmob/agent-skills · skills/bmob-mcp/SKILL.md · Use when the user has the Bmob MCP server configured (http://mcp.bmobapp.com/mcp) and wants to perform LIVE operations…
v0.3.0 · audit A · 4 stars
bmob SKILL.md skill
bmob/agent-skills · skills/bmob/SKILL.md · Use whenever the user mentions Bmob backend cloud (Bmob, BmobApp, bmobapp.com, Bmob 后端云) for ANY task: design data…
v0.1.0 · audit A · 4 stars

Every file in bmob/agent-skills

Browse by kind, by grade A, or by owner.