GithubHelp home page GithubHelp logo

oldcwj / bigapp_wordpress_ios Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bigappos/bigapp_wordpress_ios

0.0 1.0 0.0 24.01 MB

License: Apache License 2.0

Objective-C 99.01% HTML 0.24% C 0.02% JavaScript 0.27% Shell 0.47%

bigapp_wordpress_ios's Introduction

开源目的

通过使用该源码,开发者可以迅速地将Wordpress站点迁移到iOS客户端中。不需要任何的开发工作即可拥有属于自己站点的iOS客户端。

准备工作

在使用源码之前必须先在Wordpress站点中安装WP-BigApp插件。

####一、插件安装

1、安装WP-BigApp插件

Wordpress -> 管理站点 -> 仪表盘 -> 插件 -> 安装插件 -> 搜索bigapp,点击WP-BigApp安装即可

2、安装Avatar插件(可选)

注:用于客户端用户头像上传和显示功能

该示例使用的图像插件是WP User Avatar,其配置如图:

BigApp

使用说明

1、使用XCode打开YZWpClient.xcodeproj项目文件。

2、在XCode左侧的文件列表中找到Config.plistt文件(路径:YZWpClient/Supporting Files/Resources/Text/Config.plist)。

3、对Plist文件中的字段进行配置,其中配置项说明如下表所示:

名称 说明
appHttpServer 站点地址
appNavigationbarColor 应用的导航栏颜色
appBundleId 应用的Bundle ID
appVersion 应用版本号
QQAppId QQ开放平台应用的AppID(用于分享、登录)
QQAppSecret QQ开放平台应用的AppSecret(用于分享、登录)
wechatAppId 微信开放平台应用的AppID(用于分享、登录)
wechatAppSecret 微信开放平台应用的AppSecret(用于分享、登录)
weiboAppKey 微博开放平台应用的AppKey(用于分享、登录)
weiboAppSecret 微博开放平台应用的AppSecret(用于分享、登录)
weiboRedirectUri 微博开放平台应用的授权回调地址(用于分享、登录)

注:对于新浪、微信、QQ的应用信息设置,如果没有使用相关平台功能,可以不进行设置。

4、编译运行应用。

bigapp_wordpress_ios's People

Watchers

 avatar

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.