GithubHelp home page GithubHelp logo

mmt0997 / adtoolkit Goto Github PK

View Code? Open in Web Editor NEW

This project forked from aidenluo177/adtoolkit

0.0 2.0 0.0 252 KB

Some useful objective-c categories

License: BSD 2-Clause "Simplified" License

Ruby 4.00% Objective-C 96.00%

adtoolkit's Introduction

ADToolkit

The library provides some useful objective-c categories It provides:

  • Scaling a UIImage likes what UIImageView contentMode do
  • Add more feature later

Environment

iOS 6.0

How to use

Installation with CocoaPods

pod 'ADToolkit', '~>0.0.0.1'

Add the ADToolkit project to your project

  • Download and unzip the last version of the lib from the download page
  • Right-click on the project navigator and select "Add Files to "Your Project":
  • In the dialog, select ADToolkit.xcodeproj:
  • Check the "Copy items into destination group's folder (if needed)" checkbox

Add dependencies

  • In you application project app’s target settings, find the "Build Phases" section and open the "Target Dependencies" block:
  • Click the "+" button again and select the "ADToolkit"
  • In you application project app’s target settings, find the "Build Phases" section and open the "Link Binary With Libraries" block:
  • Click the "+" button again and select the "libADToolkit.a"

Add Linker Flag

Open the "Build Settings" tab, in the "Linking" section, locate the "Other Linker Flags" setting and add the "-ObjC" flag

Import headers in your source files

In the source files where you need to use the library, import the header file:

#import "ADToolkit.h"

Build Project

At this point your workspace should build without error. If you are having problem, post to the Issue and the community can help you solve it.

adtoolkit's People

Contributors

aidenluo177 avatar

Watchers

James Cloos avatar ALP 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.