WhirlyGlobe  1.1
A 3D interactive globe toolkit for ios
/Users/sjg/iPhone/WhirlyGlobe/WhirlyGlobeSrc/WhirlyGlobeLib/include/NSDictionary+Stuff.h
00001 /*
00002  *  NSDictionary+Stuff.h
00003  *  WhirlyGlobeLib
00004  *
00005  *  Created by Steve Gifford on 3/15/11.
00006  *  Copyright 2011 mousebird consulting
00007  *
00008  *  Licensed under the Apache License, Version 2.0 (the "License");
00009  *  you may not use this file except in compliance with the License.
00010  *  You may obtain a copy of the License at
00011  *  http://www.apache.org/licenses/LICENSE-2.0
00012  *
00013  *  Unless required by applicable law or agreed to in writing, software
00014  *  distributed under the License is distributed on an "AS IS" BASIS,
00015  *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00016  *  See the License for the specific language governing permissions and
00017  *  limitations under the License.
00018  *
00019  */
00020 
00021 #import <Foundation/Foundation.h>
00022 
00023 
00024 @interface NSDictionary(Stuff)
00025 
00028 - (id)objectForKey:(NSString *)name checkType:(id)theType default:(id)theDefault;
00029 
00032 - (float)floatForKey:(NSString *)name default:(float)theDefault;
00033 
00036 - (int)intForKey:(NSString *)name default:(int)theDefault;
00037 
00040 - (BOOL)boolForKey:(NSString *)name default:(BOOL)theDefault;
00041 
00044 - (NSString *)stringForKey:(NSString *)name default:(NSString *)theDefault;
00045 
00046 @end