Code Monkey home page Code Monkey logo

leanstorage-demo's Introduction

介绍

这个示例项目是为了帮助使用 LeanCloud 的开发者, 尽快的熟悉和使用SDK而建立的。主要展示 LeanCloud SDK的各种基础和高级用法.

demo3demo2demo1

如何运行

   pod install
   open LeanStorageDemo.xcworkspace

使用说明

登录后台查看数据

用 账号/密码 ([email protected]/Public123) 登录 https://leancloud.cn ,选择应用 LeanStorage-Demo ,即可查看后台数据。强烈建议你边查看后台边运行 Demo。当在 Demo 运行代码来增删改查时,就可以在后台看到相应的数据变化。

image

编译警告

代码中有一些人为添加的编译,是为了引起您足够的重视, 如果觉得没问题可以删除掉该行

添加Demo

  1. 新建一个继承Demo的类, 文件位置在项目的LeanStorageDemo文件夹
  2. 在.m里的@end前加一句MakeSourcePath 用来在编译时生成返回这个文件的方法
  3. 加一个demo方法. 方法必须以demo开头, 且必须是严格按照骆驼命名法, 否则方法名显示可能会有问题

其他

如果您在使用 LeanStorage SDK中, 有自己独特高效的用法, 非常欢迎您fork 并提交pull request, 帮助其他开发者更好的使用SDK. 我们将在本项目的贡献者中, 加入您的名字和联系方式(如果您同意的话)

leanstorage-demo's People

Contributors

lzwjava avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

bravesoftdz

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.