GithubHelp home page GithubHelp logo

igit-cn / wordpress-ios Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wordpress-mobile/wordpress-ios

0.0 1.0 0.0 495.56 MB

WordPress for iOS - Official repository

Home Page: http://ios.wordpress.org/

License: GNU General Public License v2.0

Ruby 0.64% Python 0.24% PHP 0.02% Shell 0.15% Objective-C 64.05% Swift 34.16% HTML 0.64% JavaScript 0.10%

wordpress-ios's Introduction

WordPress for iOS

Build Status

Resources

Developer blog & Handbook

Blog: http://make.wordpress.org/mobile

Handbook: http://make.wordpress.org/mobile/handbook/

Style guide

https://github.com/wordpress-mobile/WordPress-iOS/wiki/WordPress-for-iOS-Style-Guide

To report an issue

https://github.com/wordpress-mobile/WordPress-iOS/issues

Source Code

GitHub: https://github.com/wordpress-mobile/WordPress-iOS/

How to Contribute

http://make.wordpress.org/mobile/handbook/pathways/ios/how-to-contribute/

Building

We use a few tools to help with development. To install or update the required dependencies, run rake dependencies from the command line.

CocoaPods

WordPress for iOS uses CocoaPods (http://cocoapods.org/) to manage third party libraries. Trying to build the project by itself (WordPress.xcproj) after launching will result in an error, as the resources managed by CocoaPods are not included.

Run rake dependencies from the command line to install dependencies for the project. This will ensure the current supported version of CocoaPods is used. If you have the same version installed in your system, you can also run pod install.

SwiftLint

We use SwiftLint to enforce a common style for Swift code. Xcode will show a warning if you don't have it installed. The app should build and work without it, but if you plan to write code, you are encouraged to install it. No commit should have lint warnings or errors.

SwiftLint runs automatically when you build the project, but you can run it manually from the command line with rake lint

If your code has any style violations, you can try to automatically correct them by running rake lint:autocorrect. Otherwise you have to fix them manually.

Xcode

Launch the workspace by running rake xcode from the command line. This will ensure any dependencies are ready before launching Xcode. You can also open the project by double clicking on WordPress.xcworkspace file, or launching Xcode and choose File > Open and browse to WordPress.xcworkspace.

WordPress for iOS requires Swift 2.2 and Xcode 7.3 or newer. Previous versions of Xcode can be downloaded from Apple.

More information on building the project and the tools required can be found in the handbook.

Logging in

In order to login to a WordPress.com account, you will need to create an account over at https://developer.wordpress.com. The only account you will be able to login in with is the one affiliated with your developer account. Once you have an account and a corresponding app id and app secret, you will need to setup a ~/.wpcom_app_credentials file as detailed here. For more details see http://developer.wordpress.com/2014/07/04/authentication-improvements-for-testing-your-apps/.

License

WordPress for iOS is an Open Source project covered by the GNU General Public License version 2.

wordpress-ios's People

Contributors

aerych avatar alexcurylo avatar astralbodies avatar bakyelli avatar beaucollins avatar bummytime avatar catsync avatar daniloercoli avatar dannylagrouw avatar davidfilip avatar diegoreymendez avatar frosty avatar garza avatar h4xnoodle avatar irbrad avatar jleandroperez avatar jstart avatar koke avatar kurzee avatar kwonye avatar mattmiklic avatar mikejohnstn avatar nheagy avatar oguzkocer avatar pypt avatar rachelmcr avatar roundhill avatar sendhil avatar sergioestevao avatar tomwitkin avatar

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.