├── Example ├── Podfile ├── assets │ ├── images │ │ └── Icon-60@3x.png │ ├── app.json │ └── view.json ├── IgniteEngineStarterKit │ ├── LaunchScreenLogo.png │ ├── fontawesome-webfont.ttf │ ├── Images.xcassets │ │ └── AppIcon.appiconset │ │ │ ├── Icon-40.png │ │ │ ├── Icon-76.png │ │ │ ├── Icon-40@2x.png │ │ │ ├── Icon-40@3x.png │ │ │ ├── Icon-60@2x.png │ │ │ ├── Icon-60@3x.png │ │ │ ├── Icon-76@2x.png │ │ │ ├── Icon-Small.png │ │ │ ├── Icon-Small@2x.png │ │ │ ├── Icon-Small@3x.png │ │ │ └── Contents.json │ ├── AppDelegate.h │ ├── main.m │ ├── Info.plist │ ├── AppDelegate.m │ └── LaunchScreen.xib ├── IgniteEngineStarterKit.xcodeproj │ └── project.xcworkspace │ │ └── contents.xcworkspacedata └── IgniteEngineStarterKit.xcworkspace │ └── contents.xcworkspacedata ├── IgniteEngine ├── Utilities │ ├── PhoneFormats.dat │ ├── IXFormatter.h │ ├── IXSize.m │ ├── IXAFNetworkActivityLogger.h │ ├── IXSize.h │ ├── IXAssetManager.h │ ├── IXCustomNavPushPopTransition.h │ ├── IXFormatter.m │ ├── IXDeviceInfo.h │ ├── IXWeakTimerTarget.h │ ├── IXLogger.h │ ├── IXPathHandler.h │ ├── IXHTTPResponse.h │ ├── IXLocationManager.h │ ├── IXHTTPResponse.m │ └── IXJSONUtils.h ├── DataProviders │ ├── IXOAuthDataProvider.m │ ├── IXOAuthDataProvider.h │ ├── IXFileDataProvider.h │ ├── IXOAuth2DataProvider.h │ ├── IXSocketDataProvider.h │ ├── IXEntityContainer.h │ └── IXDataRowDataProvider.h ├── Evaluations │ ├── IXStringEvaluation.h │ ├── IXStringEvaluation.m │ ├── IXAppEvaluation.h │ ├── IXGetEvaluation.h │ ├── IXRowEvaluation.h │ ├── IXDeviceEvaluation.h │ ├── IXNetworkEvaluation.h │ ├── IXJavascriptEvaluation.h │ ├── IXEvaluationUtilities.h │ └── IXJavascriptEvaluation.m ├── Categories │ ├── UIImage+ResizeMagick.h │ ├── UIView+IXAdditions.h │ ├── NSURL+IXAdditions.h │ ├── UIButton+IXAdditions.h │ ├── UILabel+IXAdditions.h │ ├── UIFont+IXAdditions.h │ ├── NSObject+IXAdditions.h │ ├── UIViewController+IXAdditions.h │ ├── NSDictionary+IXAdditions.h │ ├── YLMoment+IXAdditions.h │ ├── UIImageView+IXAdditions.h │ ├── UIView+IXAdditions.m │ ├── UIImagePickerController+IXAdditions.h │ ├── UIButton+IXAdditions.m │ ├── UITextField+IXAdditions.h │ ├── MKMapView+IXAdditions.h │ ├── UIViewController+IXAdditions.m │ ├── YLMoment+IXAdditions.m │ ├── UIImage+IXAdditions.h │ ├── UIImageView+IXAdditions.m │ └── NSURL+IXAdditions.m ├── Controls │ ├── IXCamera.h │ ├── IXDial.h │ ├── IXSlider.h │ ├── IXTimer.h │ ├── IXPassKit.h │ ├── IXText.h │ ├── IXAudioPlayer.h │ ├── IXCalendar.h │ ├── IXTouchID.h │ ├── IXActionSheet.h │ ├── IXAddressBook.h │ ├── IXColorPicker.h │ ├── IXMap.h │ ├── IXMessage.h │ ├── IXSocial.h │ ├── IXTextToSpeech.h │ ├── IXToggle.h │ ├── IXAttributedText.h │ ├── IXTextInput.h │ ├── IXAudioRecorder.h │ ├── IXCollection.h │ ├── IXMediaPicker.h │ ├── IXVideoPlayer.h │ ├── IXActivityIndicator.h │ ├── IXImage.h │ ├── IXScanner.h │ ├── IXCircle.h │ ├── IXButton.h │ ├── IXTable.h │ ├── IXBrowser.h │ ├── IXCustom.h │ ├── IXPicker.h │ └── IXLayout.h ├── Core │ ├── IXWindow.h │ ├── IXAppDelegate.h │ ├── IXAFHTTPSessionManager.h │ ├── IXStructs.m │ ├── IXEnums.h │ ├── IXLayoutEngine.h │ ├── IXDataLoader.h │ └── IXStructs.h ├── Actions │ ├── IXLoadAction.h │ ├── IXLogAction.h │ ├── IXAnimateAction.h │ ├── IXCreateAction.h │ ├── IXDeleteAction.h │ ├── IXEventAction.h │ ├── IXModifyAction.h │ ├── IXRefreshAction.h │ ├── IXFunctionAction.h │ ├── IXNavigateAction.h │ ├── IXAlertAction.h │ ├── IXLogAction.m │ └── IXActionContainer.h ├── Controllers │ ├── IXMMDrawerController.h │ ├── IXNavigationViewController.h │ └── IXMMDrawerController.m ├── Views │ ├── IXClickableScrollView.h │ ├── IXGIFImageView.h │ ├── IXUICollectionViewCell.h │ ├── IXUITableViewCell.h │ └── IXClickableScrollView.m └── Attributes │ └── IXAttribute.h ├── .gitignore ├── .pre-commit.sh └── LICENSE /Example/Podfile: -------------------------------------------------------------------------------- 1 | pod 'IgniteEngine' -------------------------------------------------------------------------------- /Example/assets/images/Icon-60@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apigee/IgniteEngine-iOS/HEAD/Example/assets/images/Icon-60@3x.png -------------------------------------------------------------------------------- /IgniteEngine/Utilities/PhoneFormats.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apigee/IgniteEngine-iOS/HEAD/IgniteEngine/Utilities/PhoneFormats.dat -------------------------------------------------------------------------------- /Example/IgniteEngineStarterKit/LaunchScreenLogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apigee/IgniteEngine-iOS/HEAD/Example/IgniteEngineStarterKit/LaunchScreenLogo.png -------------------------------------------------------------------------------- /Example/IgniteEngineStarterKit/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apigee/IgniteEngine-iOS/HEAD/Example/IgniteEngineStarterKit/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /Example/IgniteEngineStarterKit/Images.xcassets/AppIcon.appiconset/Icon-40.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apigee/IgniteEngine-iOS/HEAD/Example/IgniteEngineStarterKit/Images.xcassets/AppIcon.appiconset/Icon-40.png -------------------------------------------------------------------------------- /Example/IgniteEngineStarterKit/Images.xcassets/AppIcon.appiconset/Icon-76.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apigee/IgniteEngine-iOS/HEAD/Example/IgniteEngineStarterKit/Images.xcassets/AppIcon.appiconset/Icon-76.png -------------------------------------------------------------------------------- /Example/IgniteEngineStarterKit/Images.xcassets/AppIcon.appiconset/Icon-40@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apigee/IgniteEngine-iOS/HEAD/Example/IgniteEngineStarterKit/Images.xcassets/AppIcon.appiconset/Icon-40@2x.png -------------------------------------------------------------------------------- /Example/IgniteEngineStarterKit/Images.xcassets/AppIcon.appiconset/Icon-40@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apigee/IgniteEngine-iOS/HEAD/Example/IgniteEngineStarterKit/Images.xcassets/AppIcon.appiconset/Icon-40@3x.png -------------------------------------------------------------------------------- /Example/IgniteEngineStarterKit/Images.xcassets/AppIcon.appiconset/Icon-60@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apigee/IgniteEngine-iOS/HEAD/Example/IgniteEngineStarterKit/Images.xcassets/AppIcon.appiconset/Icon-60@2x.png -------------------------------------------------------------------------------- /Example/IgniteEngineStarterKit/Images.xcassets/AppIcon.appiconset/Icon-60@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apigee/IgniteEngine-iOS/HEAD/Example/IgniteEngineStarterKit/Images.xcassets/AppIcon.appiconset/Icon-60@3x.png -------------------------------------------------------------------------------- /Example/IgniteEngineStarterKit/Images.xcassets/AppIcon.appiconset/Icon-76@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apigee/IgniteEngine-iOS/HEAD/Example/IgniteEngineStarterKit/Images.xcassets/AppIcon.appiconset/Icon-76@2x.png -------------------------------------------------------------------------------- /Example/IgniteEngineStarterKit/Images.xcassets/AppIcon.appiconset/Icon-Small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apigee/IgniteEngine-iOS/HEAD/Example/IgniteEngineStarterKit/Images.xcassets/AppIcon.appiconset/Icon-Small.png -------------------------------------------------------------------------------- /Example/IgniteEngineStarterKit/Images.xcassets/AppIcon.appiconset/Icon-Small@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apigee/IgniteEngine-iOS/HEAD/Example/IgniteEngineStarterKit/Images.xcassets/AppIcon.appiconset/Icon-Small@2x.png -------------------------------------------------------------------------------- /Example/IgniteEngineStarterKit/Images.xcassets/AppIcon.appiconset/Icon-Small@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apigee/IgniteEngine-iOS/HEAD/Example/IgniteEngineStarterKit/Images.xcassets/AppIcon.appiconset/Icon-Small@3x.png -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | *.swp 3 | *~nib 4 | 5 | Example/Pods/** 6 | Example/Podfile.lock 7 | 8 | *.pbxuser 9 | *.perspective 10 | *.persectivev3 11 | 12 | *.mode1v3 13 | *.mode2v3 14 | 15 | xcuserdata 16 | 17 | .hg 18 | .svn 19 | CVS 20 | 21 | xcshareddata 22 | -------------------------------------------------------------------------------- /Example/IgniteEngineStarterKit.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /IgniteEngine/DataProviders/IXOAuthDataProvider.m: -------------------------------------------------------------------------------- 1 | // 2 | // IXOAuthDataProvider.m 3 | // Ignite_iOS_Engine 4 | // 5 | // Created by Robert Walsh on 4/1/14. 6 | // Copyright (c) 2014 Ignite. All rights reserved. 7 | // 8 | 9 | #import "IXOAuthDataProvider.h" 10 | 11 | @implementation IXOAuthDataProvider 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /Example/IgniteEngineStarterKit/AppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.h 3 | // IgniteEngineApp 4 | // 5 | // Created by Jeremy on 5/5/15. 6 | // Copyright (c) 2015 Apigee. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "IXAppDelegate.h" 11 | 12 | @interface AppDelegate : IXAppDelegate 13 | 14 | @end 15 | -------------------------------------------------------------------------------- /IgniteEngine/Evaluations/IXStringEvaluation.h: -------------------------------------------------------------------------------- 1 | // 2 | // IXStringVariable.h 3 | // Ignite Engine 4 | // 5 | // Created by Jeremy Anticouni on 5/1/15. 6 | // Copyright (c) 2015 Apigee Inc. All rights reserved. 7 | // 8 | 9 | #import "IXBaseEvaluation.h" 10 | 11 | @interface IXStringEvaluation : IXBaseEvaluation 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /IgniteEngine/DataProviders/IXOAuthDataProvider.h: -------------------------------------------------------------------------------- 1 | // 2 | // IXOAuthDataProvider.h 3 | // Ignite_iOS_Engine 4 | // 5 | // Created by Robert Walsh on 4/1/14. 6 | // Copyright (c) 2014 Ignite. All rights reserved. 7 | // 8 | 9 | #import "IXBaseDataProvider.h" 10 | 11 | @interface IXOAuthDataProvider : IXBaseDataProvider 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /Example/IgniteEngineStarterKit.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Example/assets/app.json: -------------------------------------------------------------------------------- 1 | { 2 | "$app": { 3 | "actions": [], 4 | "attributes": { 5 | "view.index": "/view.json", 6 | "debug.layout.enabled": false, 7 | "logging.datasource.enabled": true, 8 | "logging.level": "verbose", 9 | "mode": "verbose", 10 | "navigationBar.enabled": false 11 | }, 12 | "datasources": [] 13 | } 14 | } -------------------------------------------------------------------------------- /Example/IgniteEngineStarterKit/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // IgniteEngineApp 4 | // 5 | // Created by Jeremy on 5/5/15. 6 | // Copyright (c) 2015 Apigee. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "IXAppDelegate.h" 11 | 12 | int main(int argc, char * argv[]) { 13 | @autoreleasepool { 14 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([IXAppDelegate class])); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /IgniteEngine/Utilities/IXFormatter.h: -------------------------------------------------------------------------------- 1 | // 2 | // IXFormatter.h 3 | // NegotiatorApp 4 | // 5 | // Created by Michael Atwood on 12/1/11. 6 | // Copyright (c) 2011 Michael Atwood. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface IXFormatter : NSObject 12 | 13 | //data formats 14 | +(NSNumberFormatter*) currencyFormatter; 15 | +(NSNumberFormatter*) currencyFormatterWithNoFraction; 16 | +(NSNumberFormatter*) percentFormatter; 17 | +(NSNumberFormatter*) basicFormatter; 18 | 19 | @end 20 | -------------------------------------------------------------------------------- /.pre-commit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | RED='\033[0;31m' 4 | NC='\033[0m' # No Color 5 | 6 | protected_branch='master' 7 | current_branch=$(git symbolic-ref HEAD | sed -e 's,.*/\(.*\),\1,') 8 | 9 | if [ $protected_branch = $current_branch ] 10 | then 11 | printf "${RED}\nYou're trying to commit directly to master, but that's not allowed.\nPlease use the fork-and-branch workflow and submit a pull request with your changes.\n\n${NC}" 12 | exit 1 > /dev/null # push will not execute 13 | else 14 | exit 0 # push will execute 15 | fi 16 | -------------------------------------------------------------------------------- /IgniteEngine/Categories/UIImage+ResizeMagick.h: -------------------------------------------------------------------------------- 1 | // 2 | // UIImage+ResizeMagick.h 3 | // 4 | // 5 | // Created by Vlad Andersen on 1/5/13. 6 | // https://github.com/mustangostang/UIImage-ResizeMagick 7 | // 8 | 9 | 10 | 11 | @interface UIImage (ResizeMagick) 12 | 13 | - (UIImage *) resizedImageByMagick: (NSString *) spec; 14 | - (UIImage *) resizedImageByWidth: (NSUInteger) width; 15 | - (UIImage *) resizedImageByHeight: (NSUInteger) height; 16 | - (UIImage *) resizedImageWithMaximumSize: (CGSize) size; 17 | - (UIImage *) resizedImageWithMinimumSize: (CGSize) size; 18 | 19 | @end 20 | -------------------------------------------------------------------------------- /IgniteEngine/Evaluations/IXStringEvaluation.m: -------------------------------------------------------------------------------- 1 | // 2 | // IXStringVariable.m 3 | // Ignite Engine 4 | // 5 | // Created by Jeremy Anticouni on 5/1/15. 6 | // Copyright (c) 2015 Apigee Inc. All rights reserved. 7 | // 8 | 9 | #import "IXStringEvaluation.h" 10 | 11 | #import "IXBaseObject.h" 12 | #import "IXAttribute.h" 13 | #import "IXAttributeContainer.h" 14 | #import "IXSandbox.h" 15 | #import "IXViewController.h" 16 | #import "IXAppManager.h" 17 | #import "IXLayout.h" 18 | 19 | @implementation IXStringEvaluation 20 | 21 | -(NSString*)evaluate 22 | { 23 | NSString* returnValue = nil; 24 | 25 | returnValue = [self rawString]; 26 | 27 | return returnValue; 28 | } 29 | 30 | @end 31 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | The MIT License (MIT) 3 | 4 | Copyright (c) 2015 Apigee Corporation 5 | 6 | Permission is hereby granted, free of charge, to any person obtaining a copy 7 | of this software and associated documentation files (the "Software"), to deal 8 | in the Software without restriction, including without limitation the rights 9 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | copies of the Software, and to permit persons to whom the Software is 11 | furnished to do so, subject to the following conditions: 12 | 13 | The above copyright notice and this permission notice shall be included in 14 | all copies or substantial portions of the Software. 15 | 16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | THE SOFTWARE. 23 | ****************************************************************************/ -------------------------------------------------------------------------------- /IgniteEngine/Utilities/IXSize.m: -------------------------------------------------------------------------------- 1 | // 2 | // IXSize.m 3 | // Ignite Engine 4 | // 5 | // Created by Brandon on 3/25/15. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // 27 | 28 | #import "IXSize.h" 29 | 30 | @implementation IXSize 31 | 32 | @end 33 | -------------------------------------------------------------------------------- /IgniteEngine/Controls/IXCamera.h: -------------------------------------------------------------------------------- 1 | // 2 | // IXCamera.h 3 | // Ignite Engine 4 | // 5 | // Created by Brandon on 3/24/14. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // 27 | 28 | #import "IXBaseControl.h" 29 | 30 | @interface IXCamera : IXBaseControl 31 | 32 | @end -------------------------------------------------------------------------------- /IgniteEngine/Core/IXWindow.h: -------------------------------------------------------------------------------- 1 | // 2 | // IXWindow.h 3 | // Ignite Engine 4 | // 5 | // Created by Robert Walsh on 2/4/14. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // 27 | 28 | #import 29 | 30 | @interface IXWindow : UIWindow 31 | 32 | @end 33 | -------------------------------------------------------------------------------- /IgniteEngine/Controls/IXDial.h: -------------------------------------------------------------------------------- 1 | // 2 | // IXDial.h 3 | // Ignite Engine 4 | // 5 | // Created by Robert Walsh on 2/11/14. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // 27 | 28 | #import "IXBaseControl.h" 29 | 30 | @interface IXDial : IXBaseControl 31 | 32 | @end 33 | -------------------------------------------------------------------------------- /IgniteEngine/Controls/IXSlider.h: -------------------------------------------------------------------------------- 1 | // 2 | // IXSlider.h 3 | // Ignite Engine 4 | // 5 | // Created by Robert Walsh on 2/10/14. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // 27 | 28 | #import "IXBaseControl.h" 29 | 30 | @interface IXSlider : IXBaseControl 31 | 32 | @end 33 | -------------------------------------------------------------------------------- /IgniteEngine/Controls/IXTimer.h: -------------------------------------------------------------------------------- 1 | // 2 | // IXTimer.h 3 | // Ignite Engine 4 | // 5 | // Created by Robert Walsh on 2/13/14. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // 27 | 28 | #import "IXBaseControl.h" 29 | 30 | @interface IXTimer : IXBaseControl 31 | 32 | @end 33 | -------------------------------------------------------------------------------- /IgniteEngine/Actions/IXLoadAction.h: -------------------------------------------------------------------------------- 1 | // 2 | // IXLoadAction.h 3 | // Ignite Engine 4 | // 5 | // Created by Brandon on 3/6/14. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // 27 | 28 | #import "IXBaseAction.h" 29 | 30 | @interface IXLoadAction : IXBaseAction 31 | 32 | @end 33 | -------------------------------------------------------------------------------- /IgniteEngine/Actions/IXLogAction.h: -------------------------------------------------------------------------------- 1 | // 2 | // IXLogAction.h 3 | // Ignite Engine 4 | // 5 | // Created by Brandon on 3/23/14. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // 27 | 28 | #import "IXBaseAction.h" 29 | 30 | @interface IXLogAction : IXBaseAction 31 | 32 | @end 33 | -------------------------------------------------------------------------------- /IgniteEngine/Controls/IXPassKit.h: -------------------------------------------------------------------------------- 1 | // 2 | // IXPassKit.h 3 | // Ignite Engine 4 | // 5 | // Created by Robert Walsh on 11/14/14. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // 27 | 28 | #import "IXBaseControl.h" 29 | 30 | @interface IXPassKit : IXBaseControl 31 | 32 | @end 33 | -------------------------------------------------------------------------------- /IgniteEngine/Controls/IXText.h: -------------------------------------------------------------------------------- 1 | // 2 | // IXTextControl.h 3 | // Ignite Engine 4 | // 5 | // Created by Robert Walsh on 10/15/13. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // 27 | 28 | #import "IXBaseControl.h" 29 | 30 | @interface IXText : IXBaseControl 31 | 32 | @end 33 | -------------------------------------------------------------------------------- /IgniteEngine/Controls/IXAudioPlayer.h: -------------------------------------------------------------------------------- 1 | // 2 | // IXSound.h 3 | // Ignite Engine 4 | // 5 | // Created by Robert Walsh on 2/11/14. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // 27 | 28 | #import "IXBaseControl.h" 29 | 30 | @interface IXAudioPlayer : IXBaseControl 31 | 32 | @end 33 | -------------------------------------------------------------------------------- /IgniteEngine/Controls/IXCalendar.h: -------------------------------------------------------------------------------- 1 | // 2 | // IXCalendar.h 3 | // Ignite Engine 4 | // 5 | // Created by Robert Walsh on 7/18/14. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // 27 | 28 | #import "IXBaseControl.h" 29 | 30 | @interface IXCalendar : IXBaseControl 31 | 32 | @end 33 | -------------------------------------------------------------------------------- /IgniteEngine/Controls/IXTouchID.h: -------------------------------------------------------------------------------- 1 | // 2 | // IXTouchID.h 3 | // Ignite Engine 4 | // 5 | // Created by Jeremy Anticouni on 9/18/14. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // 27 | 28 | #import "IXBaseControl.h" 29 | 30 | @interface IXTouchID : IXBaseControl 31 | 32 | @end 33 | -------------------------------------------------------------------------------- /IgniteEngine/Actions/IXAnimateAction.h: -------------------------------------------------------------------------------- 1 | // 2 | // IXAnimateAction.h 3 | // Ignite Engine 4 | // 5 | // Created by Brandon on 3/26/14. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // 27 | 28 | #import "IXBaseAction.h" 29 | 30 | @interface IXAnimateAction : IXBaseAction 31 | 32 | @end 33 | -------------------------------------------------------------------------------- /IgniteEngine/Actions/IXCreateAction.h: -------------------------------------------------------------------------------- 1 | // 2 | // IXCreateAction.h 3 | // Ignite Engine 4 | // 5 | // Created by Robert Walsh on 1/27/14. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // 27 | 28 | #import "IXBaseAction.h" 29 | 30 | @interface IXCreateAction : IXBaseAction 31 | 32 | @end 33 | -------------------------------------------------------------------------------- /IgniteEngine/Actions/IXDeleteAction.h: -------------------------------------------------------------------------------- 1 | // 2 | // IXDeleteAction.h 3 | // Ignite Engine 4 | // 5 | // Created by Robert Walsh on 1/27/14. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // 27 | 28 | #import "IXBaseAction.h" 29 | 30 | @interface IXDeleteAction : IXBaseAction 31 | 32 | @end 33 | -------------------------------------------------------------------------------- /IgniteEngine/Actions/IXEventAction.h: -------------------------------------------------------------------------------- 1 | // 2 | // IXEventAction.h 3 | // Ignite Engine 4 | // 5 | // Created by Robert Walsh on 1/25/14. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // 27 | 28 | #import "IXBaseAction.h" 29 | 30 | @interface IXEventAction : IXBaseAction 31 | 32 | @end 33 | -------------------------------------------------------------------------------- /IgniteEngine/Controls/IXActionSheet.h: -------------------------------------------------------------------------------- 1 | // 2 | // IXActionSheet.h 3 | // Ignite Engine 4 | // 5 | // Created by Robert Walsh on 7/18/14. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // 27 | 28 | #import "IXBaseControl.h" 29 | 30 | @interface IXActionSheet : IXBaseControl 31 | 32 | @end 33 | -------------------------------------------------------------------------------- /IgniteEngine/Controls/IXAddressBook.h: -------------------------------------------------------------------------------- 1 | // 2 | // IXAddressBook.h 3 | // Ignite Engine 4 | // 5 | // Created by Robert Walsh on 7/18/14. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // 27 | 28 | #import "IXBaseControl.h" 29 | 30 | @interface IXAddressBook : IXBaseControl 31 | 32 | @end 33 | -------------------------------------------------------------------------------- /IgniteEngine/Controls/IXColorPicker.h: -------------------------------------------------------------------------------- 1 | // 2 | // IXColorPicker.h 3 | // Ignite Engine 4 | // 5 | // Created by Robert Walsh on 2/24/15. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // 27 | 28 | #import "IXBaseControl.h" 29 | 30 | @interface IXColorPicker : IXBaseControl 31 | 32 | @end 33 | -------------------------------------------------------------------------------- /IgniteEngine/Controls/IXMap.h: -------------------------------------------------------------------------------- 1 | // 2 | // IXImageControl.h 3 | // Ignite Engine 4 | // 5 | // Created by Jeremy Anticouni on 11/15/13. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // 27 | 28 | #import "IXBaseControl.h" 29 | 30 | @interface IXMap : IXBaseControl 31 | 32 | @end 33 | 34 | -------------------------------------------------------------------------------- /IgniteEngine/Controls/IXMessage.h: -------------------------------------------------------------------------------- 1 | // 2 | // IXImageControl.h 3 | // Ignite Engine 4 | // 5 | // Created by Jeremy Anticouni on 11/15/13. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // 27 | 28 | #import "IXBaseControl.h" 29 | 30 | @interface IXMessage : IXBaseControl 31 | 32 | @end 33 | -------------------------------------------------------------------------------- /IgniteEngine/Controls/IXSocial.h: -------------------------------------------------------------------------------- 1 | // 2 | // IXImageControl.h 3 | // Ignite Engine 4 | // 5 | // Created by Jeremy Anticouni on 11/15/13. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // 27 | 28 | #import "IXBaseControl.h" 29 | 30 | @interface IXSocial : IXBaseControl 31 | 32 | @end 33 | -------------------------------------------------------------------------------- /IgniteEngine/Controls/IXTextToSpeech.h: -------------------------------------------------------------------------------- 1 | // 2 | // IXSpeech.h 3 | // Ignite Engine 4 | // 5 | // Created by Robert Walsh on 7/25/14. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // 27 | 28 | #import "IXBaseControl.h" 29 | 30 | @interface IXTextToSpeech : IXBaseControl 31 | 32 | @end 33 | -------------------------------------------------------------------------------- /IgniteEngine/Controls/IXToggle.h: -------------------------------------------------------------------------------- 1 | // 2 | // IXImageControl.h 3 | // Ignite Engine 4 | // 5 | // Created by Jeremy Anticouni on 11/15/13. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // 27 | 28 | #import "IXBaseControl.h" 29 | 30 | @interface IXToggle : IXBaseControl 31 | 32 | @end 33 | -------------------------------------------------------------------------------- /IgniteEngine/Actions/IXModifyAction.h: -------------------------------------------------------------------------------- 1 | // 2 | // IXModifyAction.h 3 | // Ignite Engine 4 | // 5 | // Created by Robert Walsh on 10/15/13. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // 27 | 28 | #import "IXBaseAction.h" 29 | 30 | @interface IXModifyAction : IXBaseAction 31 | 32 | @end 33 | -------------------------------------------------------------------------------- /IgniteEngine/Actions/IXRefreshAction.h: -------------------------------------------------------------------------------- 1 | // 2 | // IXRefreshAction.h 3 | // Ignite Engine 4 | // 5 | // Created by Robert Walsh on 12/3/13. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // 27 | 28 | #import "IXBaseAction.h" 29 | 30 | @interface IXRefreshAction : IXBaseAction 31 | 32 | @end 33 | -------------------------------------------------------------------------------- /IgniteEngine/Controls/IXAttributedText.h: -------------------------------------------------------------------------------- 1 | // 2 | // IXAttributedText.h 3 | // Ignite Engine 4 | // 5 | // Created by Brandon on 3/13/14. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // 27 | 28 | #import "IXBaseControl.h" 29 | 30 | @interface IXAttributedText : IXBaseControl 31 | 32 | @end 33 | -------------------------------------------------------------------------------- /IgniteEngine/Controls/IXTextInput.h: -------------------------------------------------------------------------------- 1 | // 2 | // IXTextInputControl.h 3 | // Ignite Engine 4 | // 5 | // Created by Robert Walsh on 10/15/13. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // 27 | 28 | #import "IXBaseControl.h" 29 | 30 | @interface IXTextInput : IXBaseControl 31 | 32 | @end 33 | -------------------------------------------------------------------------------- /IgniteEngine/Actions/IXFunctionAction.h: -------------------------------------------------------------------------------- 1 | // 2 | // IXFunctionAction.h 3 | // IXgee_iOS_Engine 4 | // 5 | // Created by Robert Walsh on 11/17/13. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // 27 | 28 | #import "IXBaseAction.h" 29 | 30 | @interface IXFunctionAction : IXBaseAction 31 | 32 | @end 33 | -------------------------------------------------------------------------------- /IgniteEngine/Controls/IXAudioRecorder.h: -------------------------------------------------------------------------------- 1 | // 2 | // IXSoundRecorder.h 3 | // Ignite Engine 4 | // 5 | // Created by Robert Walsh on 2/24/14. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // 27 | 28 | #import "IXBaseControl.h" 29 | 30 | @interface IXAudioRecorder : IXBaseControl 31 | 32 | @end 33 | -------------------------------------------------------------------------------- /IgniteEngine/Controls/IXCollection.h: -------------------------------------------------------------------------------- 1 | // 2 | // IXCollection.h 3 | // Ignite Engine 4 | // 5 | // Created by Robert Walsh on 12/31/13. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // 27 | 28 | #import "IXCellBasedControl.h" 29 | 30 | @interface IXCollection : IXCellBasedControl 31 | 32 | @end 33 | -------------------------------------------------------------------------------- /IgniteEngine/Controls/IXMediaPicker.h: -------------------------------------------------------------------------------- 1 | // 2 | // IXControl.h 3 | // Ignite Engine 4 | // 5 | // Created by Jeremy Anticouni on 11/16/2013/13. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // 27 | 28 | #import "IXBaseControl.h" 29 | 30 | @interface IXMediaPicker : IXBaseControl 31 | 32 | @end 33 | -------------------------------------------------------------------------------- /IgniteEngine/Controls/IXVideoPlayer.h: -------------------------------------------------------------------------------- 1 | // 2 | // IXVideoControl.h 3 | // Ignite Engine 4 | // 5 | // Created by Jeremy Anticouni on 11/16/2013/13. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // 27 | 28 | #import "IXBaseControl.h" 29 | 30 | @interface IXVideoPlayer : IXBaseControl 31 | 32 | @end 33 | -------------------------------------------------------------------------------- /IgniteEngine/Evaluations/IXAppEvaluation.h: -------------------------------------------------------------------------------- 1 | // 2 | // IXAppVariable.h 3 | // Ignite Engine 4 | // 5 | // Created by Robert Walsh on 10/7/13. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // 27 | 28 | #import "IXBaseEvaluation.h" 29 | 30 | @interface IXAppEvaluation : IXBaseEvaluation 31 | 32 | @end 33 | -------------------------------------------------------------------------------- /IgniteEngine/Evaluations/IXGetEvaluation.h: -------------------------------------------------------------------------------- 1 | // 2 | // IXGetVariable.h 3 | // Ignite Engine 4 | // 5 | // Created by Robert Walsh on 11/21/13. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // 27 | 28 | #import "IXBaseEvaluation.h" 29 | 30 | @interface IXGetEvaluation : IXBaseEvaluation 31 | 32 | @end 33 | -------------------------------------------------------------------------------- /IgniteEngine/Evaluations/IXRowEvaluation.h: -------------------------------------------------------------------------------- 1 | // 2 | // IXRowVariable.h 3 | // Ignite Engine 4 | // 5 | // Created by Robert Walsh on 12/17/13. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // 27 | 28 | #import "IXBaseEvaluation.h" 29 | 30 | @interface IXRowEvaluation : IXBaseEvaluation 31 | 32 | @end 33 | -------------------------------------------------------------------------------- /IgniteEngine/Controls/IXActivityIndicator.h: -------------------------------------------------------------------------------- 1 | // 2 | // IXImageControl.h 3 | // Ignite Engine 4 | // 5 | // Created by Jeremy Anticouni on 11/14/13. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // 27 | 28 | #import "IXBaseControl.h" 29 | 30 | @interface IXActivityIndicator : IXBaseControl 31 | 32 | @end 33 | -------------------------------------------------------------------------------- /IgniteEngine/Controls/IXImage.h: -------------------------------------------------------------------------------- 1 | // 2 | // IXImageControl.h 3 | // Ignite Engine 4 | // 5 | // Created by Robert Walsh on 10/15/13. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // 27 | 28 | #import 29 | #import "IXBaseControl.h" 30 | 31 | @interface IXImage : IXBaseControl 32 | 33 | @end 34 | -------------------------------------------------------------------------------- /IgniteEngine/Controls/IXScanner.h: -------------------------------------------------------------------------------- 1 | // 2 | // IXScannerControl.h 3 | // Ignite Engine 4 | // 5 | // Created by Robert Walsh on 11/14/14. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // 27 | 28 | #import "IXBaseControl.h" 29 | #import 30 | 31 | @interface IXScanner : IXBaseControl 32 | 33 | @end -------------------------------------------------------------------------------- /IgniteEngine/Evaluations/IXDeviceEvaluation.h: -------------------------------------------------------------------------------- 1 | // 2 | // IXDeviceVariable.h 3 | // Ignite Engine 4 | // 5 | // Created by Robert Walsh on 3/11/14. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // 27 | 28 | #import "IXBaseEvaluation.h" 29 | 30 | @interface IXDeviceEvaluation : IXBaseEvaluation 31 | 32 | @end 33 | -------------------------------------------------------------------------------- /IgniteEngine/Evaluations/IXNetworkEvaluation.h: -------------------------------------------------------------------------------- 1 | // 2 | // IXNetworkVariable.h 3 | // Ignite Engine 4 | // 5 | // Created by Robert Walsh on 3/11/14. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // 27 | 28 | #import "IXBaseEvaluation.h" 29 | 30 | @interface IXNetworkEvaluation : IXBaseEvaluation 31 | 32 | @end 33 | -------------------------------------------------------------------------------- /IgniteEngine/DataProviders/IXFileDataProvider.h: -------------------------------------------------------------------------------- 1 | // 2 | // IXFileDataProvider.h 3 | // Ignite Engine 4 | // 5 | // Created by Robert Walsh on 6/11/14. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // 27 | 28 | #import "IXHTTPDataProvider.h" 29 | 30 | @interface IXFileDataProvider : IXHTTPDataProvider 31 | 32 | @end 33 | -------------------------------------------------------------------------------- /IgniteEngine/Evaluations/IXJavascriptEvaluation.h: -------------------------------------------------------------------------------- 1 | // 2 | // IXEvalVariable.h 3 | // Ignite Engine 4 | // 5 | // Created by Robert Walsh on 1/24/14. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // 27 | 28 | #import "IXBaseEvaluation.h" 29 | 30 | @interface IXJavascriptEvaluation : IXBaseEvaluation 31 | 32 | @end 33 | -------------------------------------------------------------------------------- /IgniteEngine/Controllers/IXMMDrawerController.h: -------------------------------------------------------------------------------- 1 | // 2 | // IXMMDrawerController.h 3 | // Ignite Engine 4 | // 5 | // Created by Robert Walsh on 9/10/14. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // 27 | 28 | #import "MMDrawerController.h" 29 | 30 | @interface IXMMDrawerController : MMDrawerController 31 | 32 | @end 33 | -------------------------------------------------------------------------------- /IgniteEngine/Categories/UIView+IXAdditions.h: -------------------------------------------------------------------------------- 1 | // 2 | // UIView+IXAdditions.h 3 | // Ignite Engine 4 | // 5 | // Created by Robert Walsh on 12/17/13. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // 27 | 28 | #import 29 | 30 | @interface UIView (IXAdditions) 31 | 32 | -(void)removeAllSubviews; 33 | 34 | @end 35 | -------------------------------------------------------------------------------- /IgniteEngine/Controls/IXCircle.h: -------------------------------------------------------------------------------- 1 | // 2 | // IXCircle.h 3 | // Ignite Engine 4 | // 5 | // Created by Brandon on 3/16/14. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // 27 | 28 | #import "IXBaseControl.h" 29 | 30 | @interface IXCircle : IXBaseControl 31 | 32 | @property (nonatomic,strong) UIView* circleView; 33 | 34 | @end 35 | -------------------------------------------------------------------------------- /IgniteEngine/DataProviders/IXOAuth2DataProvider.h: -------------------------------------------------------------------------------- 1 | // 2 | // IXOAuth2DataProvider.h 3 | // Ignite Engine 4 | // 5 | // Created by Robert Walsh on 6/12/14. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // 27 | 28 | #import "IXHTTPDataProvider.h" 29 | 30 | @interface IXOAuth2DataProvider : IXHTTPDataProvider 31 | 32 | @end 33 | -------------------------------------------------------------------------------- /IgniteEngine/DataProviders/IXSocketDataProvider.h: -------------------------------------------------------------------------------- 1 | // 2 | // IXSocketDataProvider.h 3 | // Ignite Engine 4 | // 5 | // Created by Robert Walsh on 2/24/15. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // 27 | 28 | #import "IXHTTPDataProvider.h" 29 | 30 | @interface IXSocketDataProvider : IXHTTPDataProvider 31 | 32 | @end 33 | -------------------------------------------------------------------------------- /IgniteEngine/Controls/IXButton.h: -------------------------------------------------------------------------------- 1 | // 2 | // IXButton.h 3 | // Ignite Engine 4 | // 5 | // Created by Robert Walsh on 2/3/14. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // 27 | 28 | #import "IXBaseControl.h" 29 | 30 | @interface IXButton : IXBaseControl 31 | { 32 | BOOL shouldHighlightImageOnTouch; 33 | } 34 | 35 | @end 36 | -------------------------------------------------------------------------------- /IgniteEngine/Actions/IXNavigateAction.h: -------------------------------------------------------------------------------- 1 | // 2 | // IXNavigateAction.h 3 | // Ignite Engine 4 | // 5 | // Created by Robert Walsh on 11/27/13. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // 27 | 28 | #import "IXBaseAction.h" 29 | 30 | @interface IXNavigateAction : IXBaseAction 31 | 32 | +(BOOL)isAttemptingNavigation; 33 | 34 | @end 35 | -------------------------------------------------------------------------------- /IgniteEngine/Utilities/IXAFNetworkActivityLogger.h: -------------------------------------------------------------------------------- 1 | // 2 | // IXAFNetworkActivityLogger.h 3 | // Ignite Engine 4 | // 5 | // Created by Robert Walsh on 9/30/14. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // 27 | 28 | #import "AFNetworkActivityLogger.h" 29 | 30 | @interface IXAFNetworkActivityLogger : AFNetworkActivityLogger 31 | 32 | @end 33 | -------------------------------------------------------------------------------- /IgniteEngine/Controls/IXTable.h: -------------------------------------------------------------------------------- 1 | // 2 | // IXTableViewControl.h 3 | // IXgee_iOS_Engine 4 | // 5 | // Created by Robert Walsh on 11/18/13. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // 27 | 28 | #import "IXCellBasedControl.h" 29 | 30 | @interface IXTable : IXCellBasedControl 31 | 32 | @end 33 | 34 | @interface IXTableView : IXTable 35 | 36 | @end -------------------------------------------------------------------------------- /IgniteEngine/Actions/IXAlertAction.h: -------------------------------------------------------------------------------- 1 | // 2 | // IXAlertAction.h 3 | // Ignite Engine 4 | // 5 | // Created by Robert Walsh on 10/9/13. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // 27 | 28 | #import "IXBaseAction.h" 29 | 30 | @interface IXAlertAction : IXBaseAction 31 | 32 | @end 33 | 34 | @interface IXDevalertAction : IXAlertAction 35 | 36 | @end 37 | -------------------------------------------------------------------------------- /IgniteEngine/Categories/NSURL+IXAdditions.h: -------------------------------------------------------------------------------- 1 | // 2 | // NSURL+IXAdditions.h 3 | // Ignite Engine 4 | // 5 | // Created by Robert Walsh on 11/23/14. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // 27 | 28 | #import 29 | 30 | @interface NSURL (IXAdditions) 31 | 32 | -(NSDictionary*)ix_parseQueryStringToParamsDict; 33 | 34 | @end 35 | -------------------------------------------------------------------------------- /IgniteEngine/Categories/UIButton+IXAdditions.h: -------------------------------------------------------------------------------- 1 | // 2 | // UIButton+IXAdditions.h 3 | // Ignite Engine 4 | // 5 | // Created by Brandon on 3/15/14. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // 27 | 28 | #import 29 | 30 | @interface UIButton (IXAdditions) 31 | 32 | @property (nonatomic) BOOL shouldHighlightImageOnTouch; 33 | 34 | @end 35 | -------------------------------------------------------------------------------- /IgniteEngine/Controls/IXBrowser.h: -------------------------------------------------------------------------------- 1 | // 2 | // IXBrowserControl.h 3 | // Ignite Engine 4 | // 5 | // Created by Jeremy Anticouni on 11/16/2013/13. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // 27 | 28 | #import "IXBaseControl.h" 29 | #import "IXPathHandler.h" 30 | 31 | @interface IXBrowser : IXBaseControl 32 | 33 | @property (nonatomic,strong) NSString* url; 34 | 35 | @end -------------------------------------------------------------------------------- /IgniteEngine/Utilities/IXSize.h: -------------------------------------------------------------------------------- 1 | // 2 | // IXSize.h 3 | // Ignite Engine 4 | // 5 | // Created by Brandon on 3/25/15. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // 27 | 28 | #import 29 | 30 | @interface IXSize : NSObject 31 | 32 | @property (nonatomic, strong) NSString* width; 33 | @property (nonatomic, strong) NSString* height; 34 | 35 | @end 36 | -------------------------------------------------------------------------------- /IgniteEngine/Views/IXClickableScrollView.h: -------------------------------------------------------------------------------- 1 | // 2 | // IXClickableScrollView.h 3 | // Ignite Engine 4 | // 5 | // Created by Robert Walsh on 10/21/13. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // 27 | 28 | #import 29 | 30 | @class IXBaseControl; 31 | 32 | @interface IXClickableScrollView : UIScrollView 33 | 34 | @property (nonatomic,weak) IXBaseControl* parentControl; 35 | 36 | @end 37 | -------------------------------------------------------------------------------- /IgniteEngine/Categories/UILabel+IXAdditions.h: -------------------------------------------------------------------------------- 1 | // 2 | // UILabel+IXAdditions.h 3 | // Ignite Engine 4 | // 5 | // Created by Robert Walsh on 12/19/13. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // 27 | 28 | #import 29 | 30 | @interface UILabel (IXAdditions) 31 | 32 | -(CGSize)sizeForFixedWidth:(float)fixedWidth; 33 | +(NSTextAlignment)ix_textAlignmentFromString:(NSString*)textAlignmentString; 34 | 35 | @end 36 | -------------------------------------------------------------------------------- /IgniteEngine/Categories/UIFont+IXAdditions.h: -------------------------------------------------------------------------------- 1 | // 2 | // UIFont+IXAdditions.h 3 | // Ignite Engine 4 | // 5 | // Created by Brandon on 2/9/15. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // 27 | 28 | #import 29 | 30 | @interface UIFont (IXAdditions) 31 | 32 | + (UIFont*)ix_fontFromString:(NSString*)string; 33 | + (UIFont*)ix_fontForString:(NSString*)string toFitInRect:(CGRect)rect seedFont:(UIFont*)seedFont; 34 | @end 35 | -------------------------------------------------------------------------------- /IgniteEngine/Core/IXAppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // IXAppDelegate.h 3 | // Ignite Engine 4 | // 5 | // Created by Robert Walsh on 10/3/13. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // 27 | 28 | #import 29 | 30 | @class IXWindow; 31 | 32 | @interface IXAppDelegate : UIResponder 33 | 34 | @property (strong, nonatomic) IXWindow *ixWindow; 35 | 36 | - (void)registerForPushNotifications; 37 | 38 | @end 39 | -------------------------------------------------------------------------------- /IgniteEngine/Controls/IXCustom.h: -------------------------------------------------------------------------------- 1 | // 2 | // IXCustom.h 3 | // Ignite Engine 4 | // 5 | // Created by Robert Walsh on 2/4/14. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // 27 | 28 | #import "IXLayout.h" 29 | 30 | @interface IXCustom : IXLayout 31 | 32 | @property (nonatomic,assign,getter = isFirstLoad) BOOL firstLoad; 33 | @property (nonatomic,strong) NSString* pathToJSON; 34 | @property (nonatomic,strong) NSArray* dataProviders; 35 | 36 | @end 37 | -------------------------------------------------------------------------------- /IgniteEngine/Controls/IXPicker.h: -------------------------------------------------------------------------------- 1 | // 2 | // IXPicker.h 3 | // Ignite Engine 4 | // 5 | // Created by Jeremy on 4/2/15. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // 27 | 28 | #import "IXBaseControl.h" 29 | #import "ActionSheetPicker.h" 30 | 31 | @interface IXPicker : IXBaseControl 32 | 33 | @property (nonatomic,strong) ActionSheetDatePicker* datePicker; 34 | @property (nonatomic,strong) ActionSheetStringPicker* stringPicker; 35 | 36 | @end 37 | -------------------------------------------------------------------------------- /IgniteEngine/Categories/NSObject+IXAdditions.h: -------------------------------------------------------------------------------- 1 | // 2 | // NSObject+IXAdditions.h 3 | // IgniteEngine 4 | // 5 | // Created by Brandon on 4/13/15. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // 27 | 28 | #import 29 | 30 | @interface NSObject (IXAdditions) 31 | 32 | -(NSString*)jsonStringWithPrettyPrint:(BOOL)prettyPrint; 33 | +(id)ix_objectFromJSONString:(NSString*)string; 34 | +(id)ix_objectWithParsedValuesFromObject:(id)object; 35 | 36 | @end 37 | -------------------------------------------------------------------------------- /IgniteEngine/Categories/UIViewController+IXAdditions.h: -------------------------------------------------------------------------------- 1 | // 2 | // UIViewController+IXAdditions.h 3 | // Ignite Engine 4 | // 5 | // Created by Robert Walsh on 11/25/13. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // 27 | 28 | #import 29 | 30 | @interface UIViewController (IXAdditions) 31 | 32 | +(BOOL)isOkToPresentViewController:(UIViewController*)viewController; 33 | +(BOOL)isOkToDismissViewController:(UIViewController*)viewController; 34 | 35 | @end 36 | -------------------------------------------------------------------------------- /IgniteEngine/Categories/NSDictionary+IXAdditions.h: -------------------------------------------------------------------------------- 1 | // 2 | // NSDictionary+IXAdditions.h 3 | // IgniteEngine 4 | // 5 | // Created by Brandon on 4/9/15. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // 27 | 28 | #import 29 | 30 | @interface NSDictionary (IXAdditions) 31 | 32 | +(NSDictionary*)ix_dictionaryFromQueryParamsString:(NSString*)string; 33 | +(NSString*)ix_urlEncodedQueryParamsStringFromDictionary:(NSDictionary*)dictionary; 34 | 35 | @end 36 | -------------------------------------------------------------------------------- /IgniteEngine/Categories/YLMoment+IXAdditions.h: -------------------------------------------------------------------------------- 1 | // 2 | // YLMoment+IXAdditions.h 3 | // Ignite Engine 4 | // 5 | // Created by Brandon on 4/1/14. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // 27 | 28 | #import "YLMoment.h" 29 | 30 | @interface YLMoment (IXAdditions) 31 | 32 | +(CGFloat)momentToUnix:(YLMoment*)moment; 33 | +(CGFloat)momentToJS:(YLMoment*)moment; 34 | +(YLMoment*)momentFromUnix:(NSString*)date; 35 | +(YLMoment*)momentFromJS:(NSString*)date; 36 | 37 | @end 38 | -------------------------------------------------------------------------------- /IgniteEngine/Utilities/IXAssetManager.h: -------------------------------------------------------------------------------- 1 | // 2 | // IXAssetManager.h 3 | // IgniteEngine 4 | // 5 | // Created by Brandon on 4/15/15. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // 27 | 28 | #import 29 | 30 | @interface IXAssetManager : NSObject 31 | 32 | +(void)dataFromAssetLibraryAsset:(NSURL*)assetLibraryURL resultBlock:(void(^)(NSData* data, NSString* mimeType))block; 33 | +(NSDictionary*)dataForAttachmentsDict:(NSDictionary*)dict; 34 | 35 | @end 36 | -------------------------------------------------------------------------------- /IgniteEngine/Categories/UIImageView+IXAdditions.h: -------------------------------------------------------------------------------- 1 | // 2 | // UIImageView+IXAdditions.h 3 | // Ignite Engine 4 | // 5 | // Created by Robert Walsh on 2/12/14. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // 27 | 28 | #import 29 | 30 | @interface UIImageView (IXAdditions) 31 | 32 | // Both pause and resume animation are based off of https://developer.apple.com/library/ios/qa/qa1673/_index.html 33 | 34 | -(void)pauseAnimation; 35 | 36 | -(void)resumeAnimation; 37 | 38 | @end 39 | -------------------------------------------------------------------------------- /IgniteEngine/Utilities/IXCustomNavPushPopTransition.h: -------------------------------------------------------------------------------- 1 | // 2 | // IXCustomNavPushPopTransition.h 3 | // Ignite Engine 4 | // 5 | // Created by Robert Walsh on 5/2/14. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // 27 | 28 | #import 29 | 30 | @interface IXCustomNavPushPopTransition : NSObject 31 | 32 | @property (nonatomic,assign) BOOL isPushNavigation; 33 | @property (nonatomic,assign) NSTimeInterval duration; 34 | 35 | @end 36 | -------------------------------------------------------------------------------- /IgniteEngine/Evaluations/IXEvaluationUtilities.h: -------------------------------------------------------------------------------- 1 | // 2 | // IXVariableFunction.h 3 | // Ignite Engine 4 | // 5 | // Created by Robert Walsh on 4/9/14. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // 27 | 28 | #import 29 | 30 | typedef NSString*(^IXBaseEvaluationUtility)(NSString* stringToModify,NSArray* parameters); 31 | 32 | @interface IXEvaluationUtilities : NSObject 33 | 34 | +(IXBaseEvaluationUtility)evaluationUtilityWithName:(NSString*)utilityName; 35 | 36 | @end 37 | -------------------------------------------------------------------------------- /IgniteEngine/Categories/UIView+IXAdditions.m: -------------------------------------------------------------------------------- 1 | // 2 | // UIView+IXAdditions.m 3 | // Ignite Engine 4 | // 5 | // Created by Robert Walsh on 12/17/13. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // 27 | 28 | #import "UIView+IXAdditions.h" 29 | 30 | @implementation UIView (IXAdditions) 31 | 32 | -(void)removeAllSubviews 33 | { 34 | while( [[self subviews] count] ) 35 | { 36 | UIView* subView = [[self subviews] lastObject]; 37 | [subView removeFromSuperview]; 38 | } 39 | } 40 | 41 | @end 42 | -------------------------------------------------------------------------------- /IgniteEngine/Core/IXAFHTTPSessionManager.h: -------------------------------------------------------------------------------- 1 | // 2 | // IXAFHTTPSessionManager.h 3 | // Ignite Engine 4 | // 5 | // Created by Brandon Shelley on 4/9/15 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // Source: http://www.splinter.com.au/2014/09/10/afnetworking-error-bodies/ 27 | // 28 | 29 | #import "AFHTTPSessionManager.h" 30 | 31 | //#define kErrorResponseObjectKey @"kErrorResponseObjectKey" 32 | 33 | @interface IXAFHTTPSessionManager : AFHTTPSessionManager 34 | 35 | + (instancetype)sharedManager; 36 | 37 | @end 38 | -------------------------------------------------------------------------------- /IgniteEngine/Core/IXStructs.m: -------------------------------------------------------------------------------- 1 | // 2 | // IXStructs.m 3 | // Ignite Engine 4 | // 5 | // Created by Robert Walsh on 2/10/15. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // 27 | 28 | #import "IXStructs.h" 29 | 30 | const IXSizeAndPosition IXSizeAndPositionZero = { 31 | 32 | .size = { .width = 0.0f, .height = 0.0f }, 33 | .position = { .x = 0.0f, .y = 0.0f } 34 | }; 35 | 36 | const IXFrameAndOffset IXFrameAndOffsetZero = { 37 | 38 | .frame = { {0.0f,0.0f},{0.0f,0.0f} }, 39 | .offset = 0.0f 40 | }; -------------------------------------------------------------------------------- /IgniteEngine/Categories/UIImagePickerController+IXAdditions.h: -------------------------------------------------------------------------------- 1 | // 2 | // UIImagePickerController+IXAdditions.h 3 | // Ignite Engine 4 | // 5 | // Created by Robert Walsh on 11/25/13. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // 27 | 28 | #import 29 | 30 | @interface UIImagePickerController (IXAdditions) 31 | 32 | +(UIImagePickerControllerSourceType)stringToSourceType:(NSString*)sourceTypeString; 33 | +(UIImagePickerControllerCameraDevice)stringToCameraDevice:(NSString*)cameraDeviceString; 34 | 35 | @end 36 | -------------------------------------------------------------------------------- /IgniteEngine/Utilities/IXFormatter.m: -------------------------------------------------------------------------------- 1 | // 2 | // IXFormatter.m 3 | // NegotiatorApp 4 | // 5 | // Created by Michael Atwood on 12/1/11. 6 | // Copyright (c) 2011 Michael Atwood. All rights reserved. 7 | // 8 | 9 | #import "IXFormatter.h" 10 | 11 | @implementation IXFormatter 12 | 13 | // MARK: - 14 | // MARK: Formatters 15 | +(NSNumberFormatter*) currencyFormatter{ 16 | NSNumberFormatter* currencyFormatter = [[NSNumberFormatter alloc] init]; 17 | [currencyFormatter setFormatterBehavior:NSNumberFormatterBehavior10_4]; 18 | [currencyFormatter setNumberStyle:NSNumberFormatterCurrencyStyle]; 19 | [currencyFormatter setLocale:[NSLocale currentLocale]]; 20 | 21 | return currencyFormatter; 22 | } 23 | 24 | +(NSNumberFormatter*) currencyFormatterWithNoFraction{ 25 | NSNumberFormatter* currencyFormatter = [[NSNumberFormatter alloc] init]; 26 | [currencyFormatter setFormatterBehavior:NSNumberFormatterBehavior10_4]; 27 | [currencyFormatter setNumberStyle:NSNumberFormatterCurrencyStyle]; 28 | [currencyFormatter setLocale:[NSLocale currentLocale]]; 29 | [currencyFormatter setMaximumFractionDigits:0]; 30 | 31 | return currencyFormatter; 32 | } 33 | 34 | +(NSNumberFormatter*) percentFormatter{ 35 | NSNumberFormatter* percentFormatter = [[NSNumberFormatter alloc] init]; 36 | [percentFormatter setFormatterBehavior:NSNumberFormatterBehavior10_4]; 37 | [percentFormatter setNumberStyle:NSNumberFormatterPercentStyle]; 38 | [percentFormatter setLocale:[NSLocale currentLocale]]; 39 | [percentFormatter setMinimumFractionDigits:2]; 40 | 41 | return percentFormatter; 42 | } 43 | 44 | +(NSNumberFormatter*) basicFormatter{ 45 | NSNumberFormatter* basicFormatter = [[NSNumberFormatter alloc] init]; 46 | [basicFormatter setFormatterBehavior:NSNumberFormatterBehavior10_4]; 47 | 48 | return basicFormatter; 49 | } 50 | 51 | @end -------------------------------------------------------------------------------- /IgniteEngine/Core/IXEnums.h: -------------------------------------------------------------------------------- 1 | // 2 | // IXEnums.h 3 | // Ignite Engine 4 | // 5 | // Created by Robert Walsh on 10/21/13. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // 27 | 28 | typedef NS_ENUM(NSUInteger, IXLayoutVerticalAlignment) { 29 | IXLayoutVerticalAlignmentTop, 30 | IXLayoutVerticalAlignmentMiddle, 31 | IXLayoutVerticalAlignmentBottom 32 | }; 33 | 34 | typedef NS_ENUM(NSUInteger, IXLayoutHorizontalAlignment) { 35 | IXLayoutHorizontalAlignmentRight, 36 | IXLayoutHorizontalAlignmentCenter, 37 | IXLayoutHorizontalAlignmentLeft 38 | }; -------------------------------------------------------------------------------- /IgniteEngine/Views/IXGIFImageView.h: -------------------------------------------------------------------------------- 1 | // 2 | // IXGIFImageView.h 3 | // Ignite Engine 4 | // 5 | // Created by Robert Walsh on 2/24/14. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // 27 | 28 | #import 29 | 30 | @interface IXGIFImageView : UIImageView 31 | 32 | @property (nonatomic,copy) NSURL* animatedGIFURL; 33 | @property (nonatomic,assign) NSTimeInterval animatedGIFDuration; 34 | 35 | -(BOOL)isGIFAnimating; 36 | -(void)startGIFAnimation:(BOOL)restartFromFirstFrame; 37 | -(void)stopGIFAnimation:(BOOL)removeImageFromView; 38 | 39 | @end 40 | -------------------------------------------------------------------------------- /IgniteEngine/DataProviders/IXEntityContainer.h: -------------------------------------------------------------------------------- 1 | // 2 | // IXEntityContainer.h 3 | // IXgee_iOS_Engine 4 | // 5 | // Created by Robert Walsh on 11/19/13. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // 27 | 28 | #import 29 | 30 | @class IXAttributeContainer; 31 | 32 | @interface IXEntityContainer : NSObject 33 | 34 | @property (nonatomic,strong) IXAttributeContainer* entityAttributes; 35 | @property (nonatomic,strong) NSMutableArray* subEntities; 36 | 37 | +(instancetype)entityContainerWithJSONEntityDict:(NSDictionary*)entityDict; 38 | 39 | @end 40 | -------------------------------------------------------------------------------- /Example/IgniteEngineStarterKit/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "29x29", 6 | "scale" : "2x", 7 | "filename" : "Icon-Small@2x.png" 8 | }, 9 | { 10 | "idiom" : "iphone", 11 | "size" : "29x29", 12 | "scale" : "3x", 13 | "filename" : "Icon-Small@3x.png" 14 | }, 15 | { 16 | "idiom" : "iphone", 17 | "size" : "40x40", 18 | "scale" : "2x", 19 | "filename" : "Icon-40@2x.png" 20 | }, 21 | { 22 | "idiom" : "iphone", 23 | "size" : "40x40", 24 | "scale" : "3x", 25 | "filename" : "Icon-40@3x.png" 26 | }, 27 | { 28 | "idiom" : "iphone", 29 | "size" : "60x60", 30 | "scale" : "2x", 31 | "filename" : "Icon-60@2x.png" 32 | }, 33 | { 34 | "idiom" : "iphone", 35 | "size" : "60x60", 36 | "scale" : "3x", 37 | "filename" : "Icon-60@3x.png" 38 | }, 39 | { 40 | "idiom" : "ipad", 41 | "size" : "29x29", 42 | "scale" : "1x", 43 | "filename" : "Icon-Small.png" 44 | }, 45 | { 46 | "idiom" : "ipad", 47 | "size" : "29x29", 48 | "scale" : "2x", 49 | "filename" : "Icon-Small@2x.png" 50 | }, 51 | { 52 | "idiom" : "ipad", 53 | "size" : "40x40", 54 | "scale" : "1x", 55 | "filename" : "Icon-40.png" 56 | }, 57 | { 58 | "idiom" : "ipad", 59 | "size" : "40x40", 60 | "scale" : "2x", 61 | "filename" : "Icon-40@2x.png" 62 | }, 63 | { 64 | "idiom" : "ipad", 65 | "size" : "76x76", 66 | "scale" : "1x", 67 | "filename" : "Icon-76.png" 68 | }, 69 | { 70 | "idiom" : "ipad", 71 | "size" : "76x76", 72 | "scale" : "2x", 73 | "filename" : "Icon-76@2x.png" 74 | } 75 | ], 76 | "info" : { 77 | "version" : 1, 78 | "author" : "makeappicon" 79 | } 80 | } -------------------------------------------------------------------------------- /IgniteEngine/Controllers/IXNavigationViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // IXNavigationViewController.h 3 | // Ignite Engine 4 | // 5 | // Created by Robert Walsh on 10/15/13. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // 27 | 28 | #import 29 | 30 | @class IXViewController; 31 | 32 | @interface IXNavigationViewController : UINavigationController 33 | 34 | @property (nonatomic,strong,readonly) UIScreenEdgePanGestureRecognizer* rightScreenPanGestureRecognizer; 35 | @property (nonatomic,strong,readonly) UIScreenEdgePanGestureRecognizer* leftScreenPanGestureRecognizer; 36 | 37 | -(IXViewController*)viewControllerWithID:(NSString*)viewControllerID; 38 | 39 | @end 40 | -------------------------------------------------------------------------------- /IgniteEngine/Utilities/IXDeviceInfo.h: -------------------------------------------------------------------------------- 1 | // 2 | // IXDeviceHardware.h 3 | // Ignite Engine 4 | // 5 | // Created by Brandon on 2/28/14. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // Derived from http://stackoverflow.com/questions/448162/determine-device-iphone-ipod-touch-with-iphone-sdk 27 | 28 | #import 29 | 30 | @interface IXDeviceInfo : NSObject 31 | 32 | + (NSString *) deviceModel; 33 | + (NSString *) deviceType; 34 | + (NSString *) interfaceOrientation; 35 | + (NSString *) screenHeight; 36 | + (NSString *) screenWidth; 37 | + (NSString *) screenScale; 38 | + (NSString *) osVersion; 39 | + (NSString *) osVersionAsInteger; 40 | + (NSString *) osMajorVersion; 41 | 42 | 43 | @end 44 | -------------------------------------------------------------------------------- /IgniteEngine/Categories/UIButton+IXAdditions.m: -------------------------------------------------------------------------------- 1 | // 2 | // UIButton+IXAdditions.m 3 | // Ignite Engine 4 | // 5 | // Created by Brandon on 3/15/14. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // 27 | 28 | #import 29 | #import "UIButton+IXAdditions.h" 30 | 31 | @implementation UIButton (IXAdditions) 32 | 33 | static char highlightKey; 34 | 35 | - (void) setShouldHighlightImageOnTouch:(BOOL)shouldHighlightImageOnTouch { 36 | objc_setAssociatedObject( self, &highlightKey, [NSNumber numberWithBool:shouldHighlightImageOnTouch], OBJC_ASSOCIATION_RETAIN ); 37 | } 38 | 39 | - (BOOL) shouldHighlightImageOnTouch { 40 | return [objc_getAssociatedObject( self, &highlightKey ) boolValue]; 41 | } 42 | @end 43 | -------------------------------------------------------------------------------- /IgniteEngine/Categories/UITextField+IXAdditions.h: -------------------------------------------------------------------------------- 1 | // 2 | // UITextField+IXAdditions.h 3 | // Ignite Engine 4 | // 5 | // Created by Robert Walsh on 11/25/13. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // 27 | 28 | #import 29 | 30 | @interface UITextField (IXAdditions) 31 | 32 | +(UITextAutocorrectionType)ix_booleanToTextAutocorrectionType:(BOOL)autoCorrect; 33 | +(UIKeyboardAppearance)ix_stringToKeyboardAppearance:(NSString*)keyboardAppearanceString; 34 | +(UIKeyboardType)ix_stringToKeyboardType:(NSString*)keyboardTypeString; 35 | +(UIReturnKeyType)ix_stringToReturnKeyType:(NSString*)returnKeyTypeString; 36 | +(NSTextAlignment)ix_textAlignmentFromString:(NSString*)textAlignmentString; 37 | 38 | @end 39 | -------------------------------------------------------------------------------- /IgniteEngine/Utilities/IXWeakTimerTarget.h: -------------------------------------------------------------------------------- 1 | // 2 | // IXWeakTimerTarget.h 3 | // Ignite Engine 4 | // 5 | // Created by Robert Walsh on 2/24/14. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // 27 | 28 | #import 29 | 30 | @class IXWeakTimerTarget; 31 | 32 | @protocol IXWeakTimerTargetDelegate 33 | @required 34 | -(void)timerFired:(IXWeakTimerTarget*)timerTarget; 35 | @end 36 | 37 | @interface IXWeakTimerTarget : NSObject 38 | 39 | @property (nonatomic,weak) id delegate; 40 | 41 | -(instancetype)initWithDelegate:(id)delegate; 42 | -(NSTimer*)createTimerWithInterval:(NSTimeInterval)timeInterval repeats:(BOOL)repeats; 43 | 44 | @end 45 | -------------------------------------------------------------------------------- /IgniteEngine/Core/IXLayoutEngine.h: -------------------------------------------------------------------------------- 1 | // 2 | // IXLayoutEngine.h 3 | // Ignite iOS Engine (IX) 4 | // 5 | // Created by Robert Walsh on 10/21/13. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // 27 | 28 | #import 29 | 30 | @class IXBaseControl; 31 | @class IXLayout; 32 | 33 | @interface IXLayoutEngine : NSObject 34 | 35 | +(void)layoutControl:(IXLayout*)layoutControl inRect:(CGRect)layoutRect; 36 | +(CGSize)getControlSize:(IXBaseControl*)control forLayoutSize:(CGSize)layoutSize; 37 | +(CGSize)getPreferredSizeForLayoutControl:(IXLayout*)layoutControl forSuggestedSize:(CGSize)suggestedSize; 38 | +(CGRect)getInternalLayoutRectForControl:(IXBaseControl*)control forOuterLayoutRect:(CGRect)outerLayoutRect; 39 | 40 | @end 41 | -------------------------------------------------------------------------------- /IgniteEngine/Controllers/IXMMDrawerController.m: -------------------------------------------------------------------------------- 1 | // 2 | // IXMMDrawerController.m 3 | // Ignite Engine 4 | // 5 | // Created by Robert Walsh on 9/10/14. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // 27 | 28 | #import "IXMMDrawerController.h" 29 | 30 | #import "MHRotaryKnob.h" 31 | 32 | @interface MMDrawerController () 33 | @end 34 | 35 | @implementation IXMMDrawerController 36 | 37 | -(BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer shouldReceiveTouch:(UITouch *)touch 38 | { 39 | if( [touch.view isKindOfClass:[MHRotaryKnob class]] ) { 40 | return NO; 41 | } else { 42 | return [super gestureRecognizer:gestureRecognizer shouldReceiveTouch:touch]; 43 | } 44 | } 45 | @end 46 | -------------------------------------------------------------------------------- /IgniteEngine/Evaluations/IXJavascriptEvaluation.m: -------------------------------------------------------------------------------- 1 | // 2 | // IXEvalVariable.m 3 | // Ignite Engine 4 | // 5 | // Created by Robert Walsh on 1/24/14. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // 27 | 28 | #import "IXJavascriptEvaluation.h" 29 | 30 | #import "IXAppManager.h" 31 | #import "IXAttribute.h" 32 | 33 | @implementation IXJavascriptEvaluation 34 | 35 | -(NSString*)evaluate 36 | { 37 | NSString* stringToEval = nil; 38 | if( [[self parameters] count] ) 39 | { 40 | IXAttribute* parameterProperty = (IXAttribute*)[[self parameters] firstObject]; 41 | stringToEval = [parameterProperty attributeStringValue]; 42 | } 43 | return [[IXAppManager sharedAppManager] evaluateJavascript:stringToEval]; 44 | } 45 | 46 | @end 47 | -------------------------------------------------------------------------------- /IgniteEngine/Categories/MKMapView+IXAdditions.h: -------------------------------------------------------------------------------- 1 | // 2 | // MKMapView+IXAdditions.h 3 | // Ignite Engine 4 | // 5 | // Created by Robert Walsh on 6/4/14. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // 27 | 28 | #import 29 | 30 | @interface MKMapView (IXAdditions) 31 | 32 | -(NSUInteger)ix_zoomLevel; 33 | 34 | - (void)ix_setCenterCoordinate:(CLLocationCoordinate2D)centerCoordinate 35 | zoomLevel:(NSUInteger)zoomLevel 36 | animated:(BOOL)animated; 37 | 38 | -(MKCoordinateRegion)ix_coordinateRegionWithMapView:(MKMapView *)mapView 39 | centerCoordinate:(CLLocationCoordinate2D)centerCoordinate 40 | andZoomLevel:(NSUInteger)zoomLevel; 41 | @end 42 | -------------------------------------------------------------------------------- /IgniteEngine/Core/IXDataLoader.h: -------------------------------------------------------------------------------- 1 | // 2 | // IXDataLoader.h 3 | // Ignite Engine 4 | // 5 | // Created by Robert Walsh on 11/26/13. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // 27 | 28 | #import 29 | 30 | @class RXMLElement; 31 | 32 | typedef void(^IXJSONGrabCompletedBlock)(id jsonObject, NSString* stringValue, NSError *error); 33 | typedef void(^IXXMLGrabCompletedBlock)(RXMLElement* rXMLElement, NSString* stringValue, NSError *error); 34 | 35 | @interface IXDataLoader : NSObject 36 | 37 | +(IXDataLoader*)sharedDataLoader; 38 | +(void)clearCache; 39 | 40 | -(void)loadJSONFromPath:(NSString*)path 41 | async:(BOOL)async 42 | shouldCache:(BOOL)shouldCache 43 | completion:(IXJSONGrabCompletedBlock)completion; 44 | 45 | @end 46 | -------------------------------------------------------------------------------- /IgniteEngine/Actions/IXLogAction.m: -------------------------------------------------------------------------------- 1 | // 2 | // IXLogAction.m 3 | // Ignite Engine 4 | // 5 | // Created by Brandon on 3/23/14. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // 27 | 28 | #import "IXLogAction.h" 29 | 30 | #import "IXAppManager.h" 31 | #import "IXActionContainer.h" 32 | #import "IXAttributeContainer.h" 33 | #import "IXLogger.h" 34 | 35 | static NSString* const kIXText = @"text"; 36 | static NSString* const kIXDelay = @"delay"; 37 | 38 | @implementation IXLogAction 39 | 40 | -(void)execute 41 | { 42 | [super execute]; 43 | 44 | IXAttributeContainer* actionProperties = [self actionProperties]; 45 | 46 | NSString* text = [actionProperties getStringValueForAttribute:kIXText defaultValue:nil]; 47 | 48 | IX_LOG_DEBUG(@"Log action: %@", text); 49 | } 50 | 51 | @end -------------------------------------------------------------------------------- /IgniteEngine/Categories/UIViewController+IXAdditions.m: -------------------------------------------------------------------------------- 1 | // 2 | // UIViewController+IXAdditions.m 3 | // Ignite Engine 4 | // 5 | // Created by Robert Walsh on 11/25/13. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // 27 | 28 | #import "UIViewController+IXAdditions.h" 29 | 30 | @implementation UIViewController (IXAdditions) 31 | 32 | +(BOOL)isOkToPresentViewController:(UIViewController*)viewController 33 | { 34 | return ( ![viewController presentingViewController] && ![viewController isBeingDismissed] && ![viewController isBeingPresented] ); 35 | } 36 | 37 | +(BOOL)isOkToDismissViewController:(UIViewController*)viewController 38 | { 39 | return ( [viewController presentingViewController] && ![viewController isBeingDismissed] && ![viewController isBeingPresented] ); 40 | } 41 | 42 | @end 43 | -------------------------------------------------------------------------------- /IgniteEngine/Utilities/IXLogger.h: -------------------------------------------------------------------------------- 1 | // 2 | // IXLogger.h 3 | // Ignite Engine 4 | // 5 | // Created by Robert Walsh on 2/26/14. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // 27 | 28 | #import 29 | #define LOG_LEVEL_DEF ddLogLevel 30 | #import 31 | 32 | #import "IXConstants.h" 33 | 34 | extern DDLogLevel ddLogLevel; 35 | extern BOOL ixShouldLogUsingApigeeLogging; 36 | 37 | @interface IXLogger : NSObject 38 | 39 | @property (nonatomic,copy) NSString* appLogLevel; 40 | @property (nonatomic,assign,getter = isRequestLoggingEnabled) BOOL requestLoggingEnabled; 41 | @property (nonatomic,assign,getter = isApigeeClientAvailable) BOOL apigeeClientAvailable; 42 | @property (nonatomic,assign,getter = isRemoteLoggingEnabled) BOOL remoteLoggingEnabled; 43 | 44 | +(instancetype)sharedLogger; 45 | 46 | @end 47 | -------------------------------------------------------------------------------- /IgniteEngine/Categories/YLMoment+IXAdditions.m: -------------------------------------------------------------------------------- 1 | // 2 | // YLMoment+IXAdditions.m 3 | // Ignite Engine 4 | // 5 | // Created by Brandon on 4/1/14. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // 27 | 28 | #import "YLMoment+IXAdditions.h" 29 | 30 | @implementation YLMoment (IXAdditions) 31 | 32 | +(CGFloat)momentToUnix:(YLMoment*)moment 33 | { 34 | return [moment.date timeIntervalSince1970]; 35 | } 36 | 37 | +(CGFloat)momentToJS:(YLMoment*)moment 38 | { 39 | return [moment.date timeIntervalSince1970] * 1000; 40 | } 41 | 42 | +(YLMoment*)momentFromUnix:(NSString*)date 43 | { 44 | return [YLMoment momentWithDate:[NSDate dateWithTimeIntervalSince1970:[date longLongValue]]]; 45 | } 46 | 47 | +(YLMoment*)momentFromJS:(NSString*)date 48 | { 49 | return [YLMoment momentWithDate:[NSDate dateWithTimeIntervalSince1970:[date longLongValue] / 1000]]; 50 | } 51 | 52 | @end 53 | -------------------------------------------------------------------------------- /IgniteEngine/Utilities/IXPathHandler.h: -------------------------------------------------------------------------------- 1 | // 2 | // IXPathHandler.h 3 | // Ignite Engine 4 | // 5 | // Created by Robert Walsh on 2/25/14. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // 27 | 28 | #import 29 | 30 | @interface IXPathHandler : NSObject 31 | 32 | +(BOOL)pathIsLocal:(NSString*)path; 33 | +(BOOL)pathIsAssetsLibrary:(NSString*)path; 34 | +(BOOL)pathIsDocs:(NSString*)path; 35 | +(BOOL)pathIsCache:(NSString*)path; 36 | 37 | +(NSString *)normalizedPath:(NSString *)pathToNormalize 38 | basePath:(NSString *)basePath 39 | rootPath:(NSString *)rootPath; 40 | 41 | +(NSURL *)normalizedURLPath:(NSString *)pathToNormalize 42 | basePath:(NSString *)basePath 43 | rootPath:(NSString *)rootPath; 44 | 45 | +(NSString*)localPathWithRelativeFilePath:(NSString *)filePath; 46 | 47 | @end 48 | -------------------------------------------------------------------------------- /IgniteEngine/Utilities/IXHTTPResponse.h: -------------------------------------------------------------------------------- 1 | // 2 | // IXResponseObject.h 3 | // IgniteEngine 4 | // 5 | // Created by Brandon on 4/13/15. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // 27 | 28 | #import 29 | #import "IXBaseObject.h" 30 | 31 | @interface IXHTTPResponse : IXBaseObject 32 | 33 | @property (nonatomic,strong) id responseObject; 34 | @property (nonatomic,strong) NSString* responseString; 35 | @property (nonatomic,assign) NSInteger statusCode; 36 | @property (nonatomic,strong) NSDictionary* headers; 37 | @property (nonatomic,strong) NSString* errorMessage; 38 | @property (nonatomic,strong) NSString* paginationNextValue; 39 | @property (nonatomic,strong) NSString* paginationPreviousValue; 40 | @property (nonatomic) CGFloat responseTime; 41 | @property (nonatomic) CFAbsoluteTime requestStartTime; // = CFAbsoluteTimeGetCurrent(); 42 | @property (nonatomic) CFAbsoluteTime requestEndTime; 43 | 44 | @end 45 | -------------------------------------------------------------------------------- /IgniteEngine/Categories/UIImage+IXAdditions.h: -------------------------------------------------------------------------------- 1 | // 2 | // UIImage+IXAdditions.h 3 | // Ignite Engine 4 | // 5 | // Created by Robert Walsh on 2/5/14. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // 27 | 28 | #import 29 | 30 | @interface UIImage (IXAdditions) 31 | 32 | -(UIImage*)tintedImageUsingColor:(UIColor*)tintColor; 33 | +(UIImage *)ix_animatedGIFWithData:(NSData *)data withDuration:(NSUInteger)duration; 34 | 35 | //all 4 of these are broken? possibly need self.contentView.autoresizesSubviews = NO; as workaround 36 | -(UIImage *)imageRotatedByDegrees:(CGFloat)degrees; 37 | -(UIImage *)imageRotatedByRadians:(CGFloat)radians; 38 | +(CGFloat)degreesToRadians:(CGFloat)degrees; 39 | +(CGFloat)radiansToDegrees:(CGFloat)radians; 40 | +(NSString *)contentTypeForImageData:(NSData *)data; 41 | +(UIImage *)setImage:(UIImage *)image withAlpha:(CGFloat)alpha; 42 | -(UIImage*)fixRotation; 43 | -(UIImage*)adjustedForRetina; 44 | 45 | @end 46 | -------------------------------------------------------------------------------- /Example/IgniteEngineStarterKit/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | com.apigee.$(PRODUCT_NAME:rfc1034identifier) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ignite engine 15 | CFBundlePackageType 16 | APPL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | IXApp 24 | app.json 25 | IXAssets 26 | assets 27 | LSRequiresIPhoneOS 28 | 29 | NSLocationAlwaysUsageDescription 30 | Edit this description in your Info.plist 31 | NSLocationUsageDescription 32 | BackgroundLocation 33 | UIAppFonts 34 | 35 | fontawesome-webfont.ttf 36 | 37 | UIInterfaceOrientation 38 | UIInterfaceOrientationLandscapeLeft 39 | UILaunchStoryboardName 40 | LaunchScreen 41 | UIRequiredDeviceCapabilities 42 | 43 | armv7 44 | 45 | UISupportedInterfaceOrientations 46 | 47 | UIInterfaceOrientationPortrait 48 | UIInterfaceOrientationLandscapeLeft 49 | UIInterfaceOrientationLandscapeRight 50 | UIInterfaceOrientationPortraitUpsideDown 51 | 52 | UISupportedInterfaceOrientations~ipad 53 | 54 | UIInterfaceOrientationPortrait 55 | UIInterfaceOrientationPortraitUpsideDown 56 | UIInterfaceOrientationLandscapeLeft 57 | UIInterfaceOrientationLandscapeRight 58 | 59 | 60 | 61 | -------------------------------------------------------------------------------- /IgniteEngine/Utilities/IXLocationManager.h: -------------------------------------------------------------------------------- 1 | // 2 | // IXLocationManager.h 3 | // Ignite Engine 4 | // 5 | // Created by Robert Walsh on 2/5/15. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // 27 | 28 | @import Foundation; 29 | @import CoreLocation; 30 | 31 | @protocol IXLocationManagerDelegate 32 | 33 | @required 34 | -(void)locationManagerAuthStatusChanged:(CLAuthorizationStatus)status; 35 | -(void)locationManagerDidUpdateLocation:(CLLocation*)location; 36 | 37 | @end 38 | 39 | @interface IXLocationManager : NSObject 40 | 41 | @property (nonatomic,weak) id delegate; 42 | @property (nonatomic,assign) CLLocationAccuracy desiredAccuracy; 43 | 44 | @property (nonatomic,assign,readonly) BOOL isAuthorized; 45 | @property (nonatomic,strong,readonly) CLLocation* lastKnownLocation; 46 | 47 | +(instancetype)sharedLocationManager; 48 | 49 | -(BOOL)requestAccessToLocation; 50 | -(void)beginLocationTracking; 51 | -(void)stopTrackingLocation; 52 | 53 | @end 54 | -------------------------------------------------------------------------------- /IgniteEngine/Controls/IXLayout.h: -------------------------------------------------------------------------------- 1 | // 2 | // IXLayoutControl.h 3 | // Ignite Engine 4 | // 5 | // Created by Robert Walsh on 10/15/13. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // 27 | 28 | #import "IXBaseControl.h" 29 | 30 | @class IXClickableScrollView; 31 | 32 | @interface IXLayout : IXBaseControl 33 | 34 | @property (nonatomic,assign,getter = isTopLevelViewControllerLayout) BOOL topLevelViewControllerLayout; 35 | 36 | @property (nonatomic,strong,readonly) IXClickableScrollView* scrollView; 37 | @property (nonatomic,strong,readonly) UIView* scrollViewContentView; 38 | 39 | @property (nonatomic,assign,readonly,getter = isZoomEnabled) BOOL zoomEnabled; 40 | @property (nonatomic,assign,readonly,getter = isLayoutFlowVertical) BOOL layoutFlowVertical; 41 | @property (nonatomic,assign,readonly,getter = isVerticalScrollEnabled) BOOL verticalScrollEnabled; 42 | @property (nonatomic,assign,readonly,getter = isHorizontalScrollEnabled) BOOL horizontalScrollEnabled; 43 | 44 | @end 45 | -------------------------------------------------------------------------------- /Example/IgniteEngineStarterKit/AppDelegate.m: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.m 3 | // IgniteEngineApp 4 | // 5 | // Created by Jeremy on 5/5/15. 6 | // Copyright (c) 2015 Apigee. All rights reserved. 7 | // 8 | 9 | #import "AppDelegate.h" 10 | 11 | @interface AppDelegate () 12 | 13 | @end 14 | 15 | @implementation AppDelegate 16 | 17 | 18 | //- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { 19 | // // Override point for customization after application launch. 20 | // return YES; 21 | //} 22 | // 23 | //- (void)applicationWillResignActive:(UIApplication *)application { 24 | // // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. 25 | // // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game. 26 | //} 27 | // 28 | //- (void)applicationDidEnterBackground:(UIApplication *)application { 29 | // // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. 30 | // // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. 31 | //} 32 | // 33 | //- (void)applicationWillEnterForeground:(UIApplication *)application { 34 | // // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background. 35 | //} 36 | // 37 | //- (void)applicationDidBecomeActive:(UIApplication *)application { 38 | // // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. 39 | //} 40 | // 41 | //- (void)applicationWillTerminate:(UIApplication *)application { 42 | // // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. 43 | //} 44 | 45 | @end 46 | -------------------------------------------------------------------------------- /IgniteEngine/Views/IXUICollectionViewCell.h: -------------------------------------------------------------------------------- 1 | // 2 | // IXUICollectionViewCell.h 3 | // Ignite Engine 4 | // 5 | // Created by Robert Walsh on 1/21/14. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // 27 | 28 | #import 29 | 30 | #import "IXCellBasedControl.h" 31 | 32 | @class IXLayout; 33 | @class IXSandbox; 34 | @class IXCellBackgroundSwipeController; 35 | 36 | @interface IXUICollectionViewCell : UICollectionViewCell 37 | 38 | @property (nonatomic,strong,readonly) IXCellBackgroundSwipeController* cellBackgroundSwipeController; 39 | @property (nonatomic,strong) IXSandbox* cellSandbox; 40 | @property (nonatomic,strong) IXLayout* layoutControl; 41 | @property (nonatomic,strong) IXLayout* backgroundLayoutControl; 42 | @property (nonatomic,assign) BOOL backgroundSlidesInFromSide; 43 | @property (nonatomic,assign) BOOL adjustsBackgroundAlphaWithSwipe; 44 | 45 | -(void)enableBackgroundSwipe:(BOOL)enableBackgroundSwipe swipeWidth:(CGFloat)swipeWidth; 46 | 47 | @end 48 | -------------------------------------------------------------------------------- /IgniteEngine/Core/IXStructs.h: -------------------------------------------------------------------------------- 1 | // 2 | // IXStructs.h 3 | // Ignite Engine 4 | // 5 | // Created by Robert Walsh on 10/21/13. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // 27 | 28 | #import "IXEnums.h" 29 | 30 | typedef struct IXFrameAndOffset 31 | { 32 | CGRect frame; 33 | CGFloat offset; 34 | 35 | } IXFrameAndOffset; 36 | 37 | extern const IXFrameAndOffset IXFrameAndOffsetZero; 38 | 39 | typedef struct IXSizeAndPosition 40 | { 41 | CGSize size; 42 | CGPoint position; 43 | 44 | } IXSizeAndPosition; 45 | 46 | extern const IXSizeAndPosition IXSizeAndPositionZero; 47 | 48 | typedef struct IXSizeValuePercentage 49 | { 50 | BOOL propertyWasDefined; 51 | BOOL isPercentage; 52 | float value; 53 | 54 | } IXSizeValuePercentage; 55 | 56 | typedef struct IXEdgeInsets 57 | { 58 | IXSizeValuePercentage defaultInset; 59 | IXSizeValuePercentage top; 60 | IXSizeValuePercentage left; 61 | IXSizeValuePercentage bottom; 62 | IXSizeValuePercentage right; 63 | 64 | } IXEdgeInsets; 65 | 66 | -------------------------------------------------------------------------------- /IgniteEngine/Categories/UIImageView+IXAdditions.m: -------------------------------------------------------------------------------- 1 | // 2 | // UIImageView+IXAdditions.m 3 | // Ignite Engine 4 | // 5 | // Created by Robert Walsh on 2/12/14. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // 27 | 28 | #import "UIImageView+IXAdditions.h" 29 | 30 | @implementation UIImageView (IXAdditions) 31 | 32 | -(void)pauseAnimation 33 | { 34 | CALayer* imageViewLayer = [self layer]; 35 | CFTimeInterval pausedTime = [imageViewLayer convertTime:CACurrentMediaTime() fromLayer:nil]; 36 | imageViewLayer.speed = 0.0f; 37 | imageViewLayer.timeOffset = pausedTime; 38 | } 39 | 40 | -(void)resumeAnimation 41 | { 42 | CALayer* imageViewLayer = [self layer]; 43 | CFTimeInterval pausedTime = [imageViewLayer timeOffset]; 44 | imageViewLayer.speed = 1.0f; 45 | imageViewLayer.timeOffset = 0.0f; 46 | imageViewLayer.beginTime = 0.0f; 47 | CFTimeInterval timeSincePause = [imageViewLayer convertTime:CACurrentMediaTime() fromLayer:nil] - pausedTime; 48 | imageViewLayer.beginTime = timeSincePause; 49 | } 50 | 51 | @end 52 | -------------------------------------------------------------------------------- /IgniteEngine/Views/IXUITableViewCell.h: -------------------------------------------------------------------------------- 1 | // 2 | // IXUITableViewCell.h 3 | // Ignite Engine 4 | // 5 | // Created by Robert Walsh on 12/17/13. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // 27 | 28 | #import 29 | 30 | #import "IXCellBasedControl.h" 31 | 32 | @class IXLayout; 33 | @class IXSandbox; 34 | 35 | @interface IXUITableViewCell : UITableViewCell 36 | 37 | @property (nonatomic,assign) BOOL forceSize; 38 | @property (nonatomic,assign) CGSize forcedSize; 39 | 40 | @property (nonatomic,strong,readonly) IXCellBackgroundSwipeController* cellBackgroundSwipeController; 41 | @property (nonatomic,strong) IXSandbox* cellSandbox; 42 | @property (nonatomic,strong) IXLayout* layoutControl; 43 | @property (nonatomic,strong) IXLayout* backgroundLayoutControl; 44 | @property (nonatomic,assign) BOOL backgroundSlidesInFromSide; 45 | @property (nonatomic,assign) BOOL adjustsBackgroundAlphaWithSwipe; 46 | 47 | -(void)enableBackgroundSwipe:(BOOL)enableBackgroundSwipe swipeWidth:(CGFloat)swipeWidth; 48 | 49 | @end 50 | -------------------------------------------------------------------------------- /IgniteEngine/Actions/IXActionContainer.h: -------------------------------------------------------------------------------- 1 | // 2 | // IXActionContainer.h 3 | // Ignite Engine 4 | // 5 | // Created by Robert Walsh on 10/9/13. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // 27 | 28 | #import 29 | 30 | @class IXSandbox; 31 | @class IXBaseObject; 32 | @class IXBaseAction; 33 | 34 | @interface IXActionContainer : NSObject 35 | 36 | @property (nonatomic,weak) IXBaseObject* ownerObject; 37 | 38 | +(instancetype)actionContainerWithJSONActionsArray:(NSArray*)actionsArray; 39 | 40 | -(void)addAction:(IXBaseAction*)action; 41 | -(void)addActions:(NSArray*)actions; 42 | -(void)addActionsFromActionContainer:(IXActionContainer*)actionContainer; 43 | 44 | -(BOOL)hasActionsForEvent:(NSString*)eventName; 45 | -(BOOL)hasActionsWithEventNamePrefix:(NSString*)eventNamePrefix; 46 | -(NSMutableArray*)actionsForEvent:(NSString*)eventName; 47 | 48 | -(void)executeActionsForEventNamed:(NSString*)eventName; 49 | -(void)executeActionsForEventNamed:(NSString*)eventName propertyWithName:(NSString*)propertyName mustHaveValue:(NSString*)value; 50 | 51 | @end 52 | -------------------------------------------------------------------------------- /Example/assets/view.json: -------------------------------------------------------------------------------- 1 | { 2 | "$view": { 3 | "attributes": { 4 | "_id": "myMainView", 5 | "statusBar.style": "hidden", 6 | "bg.color": "#cdcdcd" 7 | }, 8 | "actions": [], 9 | "controls": [ 10 | { 11 | "_id": "layoutMain", 12 | "_type": "Layout", 13 | "attributes": { 14 | "size.w": "100%", 15 | "size.h": "100%", 16 | "visible": true, 17 | "bg.color": "ffffff", 18 | "layoutType": "float" 19 | }, 20 | "controls": [ 21 | { 22 | "_id": "myLayout", 23 | "_type": "Layout", 24 | "attributes": { 25 | "color": "#ffffff", 26 | "size.w": "100%", 27 | "layoutType": "absolute", 28 | "align.v": "middle", 29 | "align.h": "center" 30 | }, 31 | "controls": [ 32 | { 33 | "_id": "textHello", 34 | "_type": "Text", 35 | "attributes": { 36 | "color": "#000000", 37 | "size.w": "100%", 38 | "font": "HelveticaNeue-Light:20", 39 | "text": "hello,", 40 | "text.align": "center", 41 | "margin.bottom": 20 42 | } 43 | }, 44 | { 45 | "_id": "imageLogo", 46 | "_type": "Image", 47 | "attributes": { 48 | "visible": true, 49 | "size.w": 60, 50 | "size.h": 60, 51 | "align.h": "center", 52 | "image": "/images/Icon-60@3x.png", 53 | "text.align": "center", 54 | "margin.bottom": 20 55 | } 56 | }, 57 | { 58 | "_id": "textIgniteEngine", 59 | "_type": "Text", 60 | "attributes": { 61 | "color": "#000000", 62 | "visible": true, 63 | "size.w": "100%", 64 | "font": "HelveticaNeue-Medium:20", 65 | "text": "ignite engine", 66 | "text.align": "center" 67 | } 68 | } 69 | ] 70 | } 71 | ] 72 | } 73 | ], 74 | "datasources": [] 75 | } 76 | } -------------------------------------------------------------------------------- /IgniteEngine/DataProviders/IXDataRowDataProvider.h: -------------------------------------------------------------------------------- 1 | // 2 | // IXDataRowDataProvider.h 3 | // Ignite Engine 4 | // 5 | // Created by Robert Walsh on 6/12/14. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // 27 | 28 | #import "IXBaseDataProvider.h" 29 | 30 | // Internal Properties 31 | IX_STATIC_CONST_STRING kIXRowDataEmptyBasepathKey = @"kIXDataRowEmptyBasepathKey"; 32 | 33 | @interface IXDataRowDataProvider : IXBaseDataProvider 34 | 35 | @property (nonatomic,copy,readonly) NSString* dataRowBasePath; 36 | @property (nonatomic,readonly) NSPredicate* predicate; 37 | @property (nonatomic,readonly) NSSortDescriptor* sortDescriptor; 38 | 39 | -(NSUInteger)rowCount:(NSString*)dataRowBasePath usingPredicate:(NSPredicate*)predicate; 40 | -(NSString*)rowDataForIndexPath:(NSIndexPath*)rowIndexPath keyPath:(NSString*)keyPath dataRowBasePath:(NSString*)dataRowBasePath usingPredicate:(NSPredicate*)predicate sortDescriptor:(NSSortDescriptor*)sortDescriptor; 41 | -(NSString*)rowDataTotalForKeyPath:(NSString*)keyPath usingPredicate:(NSPredicate*)predicate sortDescriptor:(NSSortDescriptor*)sortDescriptor; 42 | 43 | @end 44 | -------------------------------------------------------------------------------- /Example/IgniteEngineStarterKit/LaunchScreen.xib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | -------------------------------------------------------------------------------- /IgniteEngine/Utilities/IXHTTPResponse.m: -------------------------------------------------------------------------------- 1 | // 2 | // IXResponseObject.m 3 | // IgniteEngine 4 | // 5 | // Created by Brandon on 4/13/15. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // 27 | 28 | #import "IXHTTPResponse.h" 29 | #import "IXConstants.h" 30 | #import "NSObject+IXAdditions.h" 31 | #import "IXAttributeContainer.h" 32 | #import "IXAppManager.h" 33 | #import "IXJSONUtils.h" 34 | 35 | @implementation IXHTTPResponse 36 | 37 | -(id)init 38 | { 39 | self = [super init]; 40 | if (self != nil) 41 | { 42 | [self setRequestStartTime:CFAbsoluteTimeGetCurrent()]; 43 | } 44 | return self; 45 | } 46 | 47 | -(void)setResponseObject:(id)responseObject 48 | { 49 | _responseObject = responseObject; 50 | [self setResponseString:[IXJSONUtils responseStringFromObject:responseObject]]; 51 | } 52 | 53 | -(void)setRequestEndTime:(CFAbsoluteTime)requestEndTime 54 | { 55 | _requestEndTime = requestEndTime; 56 | [self setResponseTime]; 57 | } 58 | 59 | -(void)setResponseTime 60 | { 61 | CFTimeInterval elapsedTime = (_requestEndTime - _requestStartTime) * 1000; 62 | _responseTime = elapsedTime; 63 | } 64 | 65 | @end 66 | -------------------------------------------------------------------------------- /IgniteEngine/Utilities/IXJSONUtils.h: -------------------------------------------------------------------------------- 1 | // 2 | // IXJSONUtils.h 3 | // IgniteEngine 4 | // 5 | // Created by Brandon on 4/16/15. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // 27 | 28 | #import "IXBaseObject.h" 29 | #import "NSObject+IXAdditions.h" 30 | #import "NSString+IXAdditions.h" 31 | 32 | @interface IXJSONUtils : IXBaseObject 33 | 34 | +(NSObject*)setValue:(NSObject*)value forKeyPath:(NSString *)path inContainer:(NSObject*)container; 35 | +(NSObject*)objectForPath:(NSString *)jsonXPath container:(NSObject*)currentNode sandox:(IXSandbox*)sandbox baseObject:(IXBaseObject*)baseObject; 36 | +(NSString*)stringForPath:(NSString *)jsonXPath container:(NSObject*)currentNode sandox:(IXSandbox*)sandbox baseObject:(IXBaseObject*)baseObject; 37 | +(NSString*)getQueryValueOutOfValue:(NSString*)value sandbox:(IXSandbox*)sandbox baseObject:(IXBaseObject*)baseObject; 38 | +(NSObject*)appendNewResponseObject:(NSObject *)newObject toPreviousResponseObject:(NSObject *)previousObject forDataPath:(NSString *)dataPath sandox:(IXSandbox*)sandbox baseObject:(IXBaseObject*)baseObject; 39 | +(NSString*)responseStringFromObject:(NSObject*)responseObject; 40 | 41 | @end 42 | -------------------------------------------------------------------------------- /IgniteEngine/Views/IXClickableScrollView.m: -------------------------------------------------------------------------------- 1 | // 2 | // IXClickableScrollView.m 3 | // Ignite Engine 4 | // 5 | // Created by Robert Walsh on 10/21/13. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // 27 | 28 | #import "IXClickableScrollView.h" 29 | 30 | #import "IXBaseControl.h" 31 | #import "IXActionContainer.h" 32 | 33 | @implementation IXClickableScrollView 34 | 35 | - (id)initWithFrame:(CGRect)frame 36 | { 37 | self = [super initWithFrame:frame]; 38 | if (self) 39 | { 40 | _parentControl = nil; 41 | [self setCanCancelContentTouches:NO]; 42 | } 43 | return self; 44 | } 45 | 46 | -(UIView*)hitTest:(CGPoint)point withEvent:(UIEvent *)event 47 | { 48 | IXBaseControl* parentControl = [self parentControl]; 49 | UIControl* parentContentView = [parentControl contentView]; 50 | if( parentContentView != nil && ![parentContentView isHidden] && [parentContentView isEnabled] ) 51 | { 52 | if( [[parentControl actionContainer] hasActionsWithEventNamePrefix:@"touch"] ) 53 | { 54 | return parentContentView; 55 | } 56 | } 57 | return [super hitTest:point withEvent:event]; 58 | } 59 | 60 | @end 61 | -------------------------------------------------------------------------------- /IgniteEngine/Attributes/IXAttribute.h: -------------------------------------------------------------------------------- 1 | // 2 | // IXAttribute.h 3 | // Ignite Engine 4 | // 5 | // Created by Robert Walsh on 10/7/13. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // 27 | 28 | #import "IXBaseConditionalObject.h" 29 | 30 | @class IXBaseObject; 31 | @class IXAttributeContainer; 32 | 33 | @interface IXAttribute : IXBaseConditionalObject 34 | 35 | @property (nonatomic,weak) IXAttributeContainer* attributeContainer; 36 | @property (nonatomic,assign) BOOL wasAnArray; 37 | @property (nonatomic,copy) NSString* attributeName; 38 | @property (nonatomic,copy) NSString* originalString; 39 | @property (nonatomic,copy) NSString* staticText; 40 | @property (nonatomic,strong) NSArray* evaluations; 41 | 42 | -(instancetype)initWithAttributeName:(NSString*)attributeName rawValue:(NSString*)rawValue; 43 | +(instancetype)attributeWithAttributeName:(NSString*)attributeName rawValue:(NSString*)rawValue; 44 | +(instancetype)attributeWithAttributeName:(NSString*)attributeName jsonObject:(id)jsonObject; 45 | +(NSArray*)attributeWithAttributeName:(NSString*)attributeName attributeValueJSONArray:(NSArray*)attributeValueJSONArray; 46 | 47 | -(NSString*)attributeStringValue; 48 | 49 | @end 50 | -------------------------------------------------------------------------------- /IgniteEngine/Categories/NSURL+IXAdditions.m: -------------------------------------------------------------------------------- 1 | // 2 | // NSURL+IXAdditions.m 3 | // Ignite Engine 4 | // 5 | // Created by Robert Walsh on 11/23/14. 6 | // 7 | /**************************************************************************** 8 | The MIT License (MIT) 9 | Copyright (c) 2015 Apigee Corporation 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | // 27 | 28 | #import "NSURL+IXAdditions.h" 29 | 30 | @implementation NSURL (IXAdditions) 31 | 32 | -(NSDictionary*)ix_parseQueryStringToParamsDict 33 | { 34 | NSMutableDictionary* queryParmasDict = nil; 35 | if( [[self query] length] > 0 ) { 36 | queryParmasDict = [NSMutableDictionary dictionary]; 37 | NSArray *pairs = [[self query] componentsSeparatedByString:@"&"]; 38 | for (NSString *pair in pairs) { 39 | NSArray *elements = [pair componentsSeparatedByString:@"="]; 40 | if( [elements count] > 1 ) 41 | { 42 | NSString *key = [[elements objectAtIndex:0] stringByReplacingPercentEscapesUsingEncoding:NSUTF8StringEncoding]; 43 | NSString *val = [[elements objectAtIndex:1] stringByReplacingPercentEscapesUsingEncoding:NSUTF8StringEncoding]; 44 | [queryParmasDict setObject:val forKey:key]; 45 | } 46 | } 47 | } 48 | return queryParmasDict; 49 | } 50 | 51 | @end 52 | --------------------------------------------------------------------------------