Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 89a0874ad5
Fetching contributors…

Cannot retrieve contributors at this time

77 lines (62 sloc) 2.38 kb
//
// YRDropdownView.h
// YRDropdownViewExample
//
// Created by Eli Perkins on 1/27/12.
// Copyright (c) 2012 One Mighty Roar. All rights reserved.
//
#import <UIKit/UIKit.h>
#import <QuartzCore/QuartzCore.h>
@interface YRDropdownView : UIView
{
NSString *titleText;
NSString *detailText;
UILabel *titleLabel;
UILabel *detailLabel;
UIImage *backgroundImage;
UIImageView *backgroundImageView;
UIImage *accessoryImage;
UIImageView *accessoryImageView;
SEL onTouch;
NSDate *showStarted;
BOOL shouldAnimate;
BOOL isWindow;
BOOL isView;
}
@property (copy) NSString *titleText;
@property (copy) NSString *detailText;
@property (assign) UIImage *accessoryImage;
@property (assign) float minHeight;
@property (nonatomic, assign) UIImage *backgroundImage;
@property (nonatomic, assign) SEL onTouch;
@property (assign) BOOL shouldAnimate;
@property (assign) BOOL isWindow;
@property (assign) BOOL isView;
#pragma mark - View methods
+ (YRDropdownView *)showDropdownInView:(UIView *)view
title:(NSString *)title;
+ (YRDropdownView *)showDropdownInView:(UIView *)view
title:(NSString *)title
detail:(NSString *)detail;
+ (YRDropdownView *)showDropdownInView:(UIView *)view
title:(NSString *)title
detail:(NSString *)detail
animated:(BOOL)animated;
+ (YRDropdownView *)showDropdownInView:(UIView *)view
title:(NSString *)title
detail:(NSString *)detail
image:(UIImage *)image
animated:(BOOL)animated;
+ (YRDropdownView *)showDropdownInView:(UIView *)view
title:(NSString *)title
detail:(NSString *)detail
image:(UIImage *)image
animated:(BOOL)animated
hideAfter:(float)delay;
+ (BOOL)hideDropdownInView:(UIView *)view;
+ (BOOL)hideDropdownInView:(UIView *)view animated:(BOOL)animated;
#pragma mark -
- (void)flipViewAccordingToStatusBarOrientation:(NSNotification *)notification;
- (void)show:(BOOL)animated;
- (void)hide:(BOOL)animated;
@end
Jump to Line
Something went wrong with that request. Please try again.