Граф коммитов

12 Коммитов

Автор SHA1 Сообщение Дата
absaroj 9fd2e2720c
adding comment about using the typealised enums in swift (#1241)
Co-authored-by: Matthew Koscumb <49213788+mkoscumb@users.noreply.github.com>
2024-02-02 09:55:18 -08:00
absaroj bad56a0b93
adding setters and getters for properties in eventprops for swift wrappers (#1239) 2024-01-30 18:54:52 -08:00
absaroj 15e18554a0
Adding example Xcode project to showcase swift wrapper package import (#1178)
* adding example app for swift wrappers

* linking required libs and setting build dependencies to build the project

* adding a readme file with details

* removing box specific files

* remove assets

* applying pr suggestions

* fixing a bug and correcting sample app projectclear

* correcting heading signature
2023-06-28 15:13:51 -07:00
absaroj cc955ac269
Hiding all ObjC types behind Swift wrappers (#1176)
* adding swift wrapper

* moving files to sources

* moving files to proper places

* adding module for header expose and importing it in swift wrapper

* correcting files for build errors and other changes

* adding module for objc

* swift build passing'

* adding readme

* changing the package name to 1dsswiftwrapper

* changing target name

* adding pr suggestions

* adding build.sh changes

* cmake list file changes

* creating static lib

* adding swift wrappers build and linking

* adding more logic for building and producing sample app

* adding code for swiftc invoking

* adding comments

* adding change to create the sample app

* linking and includding modules in swiftc to build the sample exe: being created

* adding comments

* compiling all files frrom sample

* removing extraline

* correcting the output folder of swift build

* correcting build output folder paths

* adding typealias file to stop importing the objcmodule in clients (#1171)

* adding typealias file to stop importing the objcmodule in clients

* giving better names

* adding call to create logger

* adding changes for framework include

* adding fwks

* linking libs and fwks

* adding getter and setters for swift as computed properties

* adding sample app changes

* adding app changes

* adding commondatacontext

* swift build passing

* correcting common context init

* adding get set in event properties list

* adding getter to eventprops

* removing useless methods

* adding getter and setter for eventprops

* adding getter

* fixing type bug

* fixing main app issues

* adding semantic context variable to the logger

* modifying the access level for the objc types in swift to make sure they are not exposed to the lcient

* adding default constructor

* keeping main.swift clean
'

* correcting comment

* adding computed property for objc variable

---------

Co-authored-by: Lalit Kumar Bhasin <labhas@microsoft.com>
2023-06-23 15:40:02 -07:00
absaroj 42dae872d6
adding sample app changes for the swift wrappers (#1175) 2023-06-23 14:56:42 -07:00
absaroj ada085eb18
Adding changes for local build script and cmakelist to create exe using swift package (#1166)
* adding swift wrapper

* moving files to sources

* moving files to proper places

* adding module for header expose and importing it in swift wrapper

* correcting files for build errors and other changes

* adding module for objc

* swift build passing'

* adding readme

* changing the package name to 1dsswiftwrapper

* changing target name

* adding pr suggestions

* adding build.sh changes

* cmake list file changes

* creating static lib

* adding swift wrappers build and linking

* adding more logic for building and producing sample app

* adding code for swiftc invoking

* adding comments

* adding change to create the sample app

* linking and includding modules in swiftc to build the sample exe: being created

* adding comments

* compiling all files frrom sample

* removing extraline

* correcting the output folder of swift build

* correcting build output folder paths

* adding typealias file to stop importing the objcmodule in clients (#1171)

* adding typealias file to stop importing the objcmodule in clients

* giving better names

---------

Co-authored-by: Lalit Kumar Bhasin <labhas@microsoft.com>
2023-06-21 12:17:44 -07:00
absaroj 061386741c
Configuring wrappers as Swift Package (#1160) 2023-06-09 13:37:12 -07:00
absaroj 8032b1aef1
adding swift wrapper for DiagnosticDataViewer (#1148)
* adding diagnostic wrapper for swift

* adding suggestions from pr

* making it final

* adding vars instead of methods

* correcting var

* fixing build issues

---------

Co-authored-by: Lalit Kumar Bhasin <labhas@microsoft.com>
2023-05-23 19:31:33 -07:00
absaroj 90020d5148
Adding swift wrapper for logmanager and logger classes over Objc (#1143)
* adding mgr and logger classes

* adding comment

* adding line at end

* adding pr suggestions

* adding pr suggestions

* changing file names

* adding suggestions from the pr comments

* adding suggestions from PR

* adding pr suggestions

* removing self from the instance references

* adding final to the logger class
2023-05-23 19:29:07 -07:00
absaroj 25bc0806f2
adding config class to swift wrappers (#1141)
* adding config class

* adding comment

* correcting the cmake min version

* adding checks for libs being linked in cmake

* correcting comments and args

* changing filename

* removing comment

* correcting the use of optional in swift wrapper

* marking class final

---------
2023-05-19 19:54:59 -07:00
absaroj 63f28337ae
adding privacy and semantic wrappers (#1144)
* adding privacy and semantic wrappers

* adding comment to constructor

* changing file names

* correcting argument optionals

* adding suggestions from pr

* removing self from the instance references
2023-05-19 16:02:49 -07:00
absaroj 0f06e94318
Add Properties class for Swift wrappers (#1138)
* adding local build script file for swift wrappers

* adding main file to test the swift logger classes

* adding build.sh and cmake file for swift wrappers ONLY build

* adding git ignore file

* correcting xcodebuild args

* removing comments

* adding EventProperties class, wrapper for properties in Swift along with other required files

* adding pr suggestions

* adding min version of cmake required to generate for swift
2023-05-01 22:01:51 -07:00