mitchellh

zig-objc

Objective-C runtime bindings for Zig (Zig calling ObjC).

by mitchellh

Zig

Zig97.9%
Nix1.9%
Shell0.2%

Commit activity

Last 12 weeks · 1 commit

Full graph →

Community health

2 of 6 standards met

Community profile →
42
✓README✓License○Contributing○Code of Conduct○Issue Template○PR Template

Recent PRs & issues

Active · 1 in progress · Last activity 3w ago
See all on GitHub →
loftafi

I've been poking around the code and struggling to work out how to read the parameters in a callback function handler. Given I cant find an example, I am not sure where to start. I am at the point where I am able to get the objc bluetooth api to report back discovery of bluetooth devices. But how do I extract the information? (My long term goal is to eventually have a zig cross platform bluetooth api, just working on it on the side when I have time.) For reference, here is how I am setting up this callback handler to be called:

loftafi · 2mo ago
ali-shahwali

As of https://codeberg.org/ziglang/zig/pulls/32130 being merged, array multiplication with syntax is no longer part of the language. This PR replaces the two usages of it in with .

ali-shahwali · 1w ago
loftafi

This patch includes everything needed for 0.17 as of today. Use instead of Update how functions/fields are reflected (i.e. becomes and , etc...) It works at least for the objc calls that my app uses, but it could definitely do with a code review. This is not backwards compatible.** So once it is applied the branch will no longer be compatible with 0.16.

loftafi · 3w ago
loftafi

I have been exploring if I can use to replace my clunky swift side build. I first checked to see if there was sample code that might demonstrate the intent for how we would access enum values (to create an ) and how to provide a Any input would be greatly appreciated. PS: By way of feedback, I wonder if we could get an folder for to demonstrate some more advanced basic patterns like this. Thanks for your work on this cool zig project.

loftafi · 6mo ago
Structured data for AI agents

Repository: mitchellh/zig-objc. Description: Objective-C runtime bindings for Zig (Zig calling ObjC). Stars: 361, Forks: 51. Primary language: Zig. Languages: Zig (97.9%), Nix (1.9%), Shell (0.2%). License: MIT. Open PRs: 1, open issues: 1. Last activity: 3w ago. Community health: 42%. Top contributors: mitchellh, Nirlah, robbielyman, emilazy, francisqureshi, ritalin, amitayas, der-teufel-programming, Uzaaft, cherrythecool and others.