objectbox / objectbox/objectbox-swift

Kotlin Multiplatform support via objective annotations

Open
#106 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Swift
Stars
619
Forks
37
PR merge metrics
No merged PRs in 30d

Description

I'm trying to use objectbox in ios and apple desktop via cocoapods.
I see lots of functions are not visible.
Reason is KMP supports objective c.
object box is written swift.
There are couple of library which are available in cocoapods and we are able to use in kotlin multiplatform without any issues. example: https://github.com/microsoft/clarity-apps. There is not official or separate requirement from MS Clarity apps.

There are annotations which can be used to expose the swift code and make it compatible with KMP via objective c interfaces and annotations.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the Swift APIs exposed through CocoaPods and comparing them with the functions missing when ObjectBox is used from Kotlin Multiplatform on iOS and Apple desktop. The issue mentions Objective-C interfaces and annotations; done should mean the required ObjectBox functions are visible and usable from those Kotlin Multiplatform targets.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin, objective-c, swift
Domain
databases, mobile-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.