bug-williams / nikhedonia Goto Github PK
View Code? Open in Web Editor NEWA turn-based strategy game for iOS based of the board game 'Go.' Written in Swift.
A turn-based strategy game for iOS based of the board game 'Go.' Written in Swift.
use_frameworks!
pod 'Airbrake-iOS'
Then add import Airbrake_iOS
to your app delegate.
To configure the notifier, just add this snippet to your app delegate at the beginning of your func application(application: UIApplication!, didFinishLaunchingWithOptions launchOptions: NSDictionary!) -> Bool {
block:
ABNotifier.start(
withAPIKey: "3b407d792f66fe714b500d26e57a17d9",
projectID: "158686",
environmentName: ABNotifierAutomaticEnvironment,
useSSL: true
)
And that's it! To test the integration, you can send a test error with:
ABNotifier.writeTestNotice()
When you add Airbrake iOS to your Swift project, Xcode will automatically add the bridging header for ABNotifier
class.
When Xcode didn't generate the bridging header for your project, for example, you installed Airbrake iOS from cocoapods, you can create a bridge file manually.
Add a new file to the project and choose Header File as template
Next, Save as [ProjectName]_Bridging_Header.h
and make sure it's at the root of the project.
Open [ProjectName]-Bridging-Header.h
and add ABNotifier, for example
#ifndef [ProjectName]_Bridging_Header
#define [ProjectName]_Bridging_Header
#import "ABNotifier.h"
#endif
Add [ProjectName]_Bridging_Header.h
to your project build settings. In your project build settings, find Swift Compiler โ Code Generation, and next to Objective-C Bridging Header add your bridging header file. Now you should be able to access ABNotifier
class in your swift project.
To configure the notifier, just add this snippet to your app delegate at the beginning of your func application(application: UIApplication!, didFinishLaunchingWithOptions launchOptions: NSDictionary!) -> Bool {
block:
ABNotifier.start(
withAPIKey: "3b407d792f66fe714b500d26e57a17d9",
projectID: "158686",
environmentName: ABNotifierAutomaticEnvironment,
useSSL: true
)
And that's it! To test the integration, you can send a test error with:
ABNotifier.writeTestNotice()
Read our official GitHub repo for more information on how to tweak the notifier for your application.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.