Latest | 1.0.9 |
---|---|
Homepage | https://github.com/adurbalo/JiraConnector |
License | MIT |
Platforms | ios 7.0, requires ARC |
Dependencies | Mantle |
JiraConnector for iOS
Demo
Installation with CocoaPods
platform :ios, '7.0'
pod 'JiraConnector', '~> 1.0'
Usage
-
Add JiraConnector to your AppDelegate
#import "JiraConnector.h"
- Configurate JiraConnector with server URL and project key (optionaly)
[[JiraConnector sharedManager] configurateWithBaseURL:@"http://localhost:8080"
andPredefinedProjectKey:@"KEY"];
-
Shake device to show dialog
[[JiraConnector sharedManager] setEnableDetectMotion:YES]; [[JiraConnector sharedManager] setMotionSensitivity:5]; //Default value: 10
- Manually show/hide
[[JiraConnector sharedManager] showWithCompletionBlock:^{ //your code }];
[[JiraConnector sharedManager] hideWithCompletionBlock:^{
//your code
}];
* Enable Screen Capturer
```objective-c
[[JiraConnector sharedManager] setEnableScreenCapturer:YES];
-
Add your custom attachments
[[JiraConnector sharedManager] setCustomAttachmentsBlock:^ NSArray* (){ JiraAttachment *jiraAttachment = [JiraAttachment new]; jiraAttachment.fileName = @"callStackSymbols.txt"; jiraAttachment.mimeType = kAttachmentMimeTypePlaneTxt; jiraAttachment.attachmentData = [[[NSThread callStackSymbols] componentsJoinedByString:@"n"] dataUsingEncoding:NSUTF8StringEncoding]; return @[jiraAttachment]; }];
License
JiraConnector is available under the MIT license. See the LICENSE file for more info.
Latest podspec
{ "name": "JiraConnector", "version": "1.0.9", "license": "MIT", "summary": "JiraConnector for iOS", "description": "Integrate JiraConnector in your project and give ability to testers create JIRA issues from you app just by shaking device.", "homepage": "https://github.com/adurbalo/JiraConnector", "authors": "Andrey Durbalo", "source": { "git": "https://github.com/adurbalo/JiraConnector.git", "tag": "1.0.9", "submodules": true }, "requires_arc": true, "platforms": { "ios": "7.0" }, "source_files": "JiraConnector/JiraConnectorSource/**/*.{h,m}", "resources": "JiraConnector/JiraConnectorSource/**/*.{xib}", "dependencies": { "Mantle": [] } }
Sun, 06 Mar 2016 19:07:03 +0000