Today's Menu
Portugal
journal and plan nutrition
TodaysMenu
starrate
UIView+Subviews.m
Go to the documentation of this file.
1
/*
2
3
DLStarRating
4
Copyright (C) 2011 David Linsin <dlinsin@gmail.com>
5
6
All rights reserved. This program and the accompanying materials
7
are made available under the terms of the Eclipse Public License v1.0
8
which accompanies this distribution, and is available at
9
http://www.eclipse.org/legal/epl-v10.html
10
11
*/
12
13
#import "
UIView+Subviews.h
"
14
15
16
@implementation
UIView (Subviews)
17
18
- (UIView*)subViewWithTag:(
int
)tag {
19
for
(UIView *v in
self
.subviews) {
20
if
(v.tag == tag) {
21
return
v;
22
}
23
}
24
return
nil;
25
}
26
27
@end
UIView+Subviews.h
UIView(Subviews)
Definition:
UIView+Subviews.h:16
Generated on Wed Mar 20 2019 20:57:36 for Today's Menu by
1.8.14