Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 42 lines (36 sloc) 2.125 kB
e9f52a2 @sonsongithub Decoupled some methods that use private methods of UIBarButtonItem.
sonsongithub authored
1 /*
2 * PopupView
3 * SNPopupView+UsingPrivateMethod.h
4 *
5 * Copyright (c) Yuichi YOSHIDA, 11/10/10.
6 * All rights reserved.
7 *
8 * BSD License
9 *
10 * Redistribution and use in source and binary forms, with or without modification, are
11 * permitted provided that the following conditions are met:
12 * - Redistributions of source code must retain the above copyright notice, this list of
13 * conditions and the following disclaimer.
14 * - Redistributions in binary form must reproduce the above copyright notice, this list
15 * of conditions and the following disclaimer in the documentation and/or other materia
16 * ls provided with the distribution.
17 * - Neither the name of the "Yuichi Yoshida" nor the names of its contributors may be u
18 * sed to endorse or promote products derived from this software without specific prior
19 * written permission.
20 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY E
21 * XPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES O
22 * F MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SH
23 * ALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENT
24 * AL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROC
25 * UREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS I
26 * NTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRI
27 * CT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF T
28 * HE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 */
30
31 #import "SNPopupView.h"
32
33 @interface SNPopupView(UsingPrivateMethod)
34
35 - (void)showFromBarButtonItem:(UIBarButtonItem*)barButtonItem inView:(UIView*)inView;
36 - (void)showFromBarButtonItem:(UIBarButtonItem*)barButtonItem inView:(UIView*)inView animated:(BOOL)animated;
37
38 - (void)presentModalFromBarButtonItem:(UIBarButtonItem*)barButtonItem inView:(UIView*)inView;
39 - (void)presentModalFromBarButtonItem:(UIBarButtonItem*)barButtonItem inView:(UIView*)inView animated:(BOOL)animated;
40
41 @end
Something went wrong with that request. Please try again.