This repository has been archived by the owner on Nov 3, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 355
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix binding for iOS Google Analytics 2 beta 3
It seems that you need to handle the return of the object as a IntPtr and then create a GAITracker from that. I made the GAITracker not abstract… not too sure what the ramifications will be of this though.
- Loading branch information
Showing
3 changed files
with
27 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
using System; | ||
|
||
namespace GoogleAnalytics { | ||
|
||
public partial class GAI | ||
{ | ||
public GAITracker DefaultTracker { | ||
get { | ||
return new GAITracker (InternalDefaultTracker); | ||
} | ||
} | ||
|
||
public GAITracker GetTracker(string trackingId) { | ||
return new GAITracker (InternalGetTracker(trackingId)); | ||
} | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters