Giter Club home page Giter Club logo

lctipsview's Introduction

LCTipsView

Why?

Built an awesome app that has a slick, custom UI? Want to ease the friction a first time user may have when using your app? This is a general purpose tips view that emulates what you would commonly find in apps that find it necessary to give a tour to a first time user. (games, social apps with a more complex interface...etc.) A great first time user experience could make a difference between one coming back for more, or uninstalling your app!

Installation

Copy LCTipsView.h and LCTipsView.m to your project. Import it to a UIViewController you want to use it in. Done!

Usage

This little widget allows you to pass in specific UI elements that you may find useful to highlight along with a useful tip. You can choose to display a single tip, or queue up multiple ones.

Allocate and add it to your view like anything else

LCTipsView *someTips = [[[LCTipsView alloc] initWithFrame:CGRectMake(0, 0, self.view.frame.size.width, self.view.frame.size.height)] autorelease];
[self.view addSubview:someTips];

Queue up tips

[someTips addTip:@"Type stuff here to search" forView:searchBar];
[someTips addTip:@"Highlight the whole container!" forView:containerView];
[someTips addTip:@"Or just parts of it like this kitteh" forView:limeCatImage];

Show it to them!

[someTips showNextTip];

Customize the overlay or the tips bubble by accessing the overlay and tipsLabel properties

For more refer to the header file.

That's it!

lctipsview's People

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  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.