JuliaInterop / JuliaInterop/ObjectiveC.jl

Add Cocoa wrappers

Open
#4 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Julia
Stars
44
Forks
11
PR merge metrics
No merged PRs in 30d

Description

This commented out line is breaking the Cocoa functionality of the package.

Was it because nsrect isn't working? I had to definition to this to get it to work:

nsrect(x, y, w, h) =
  ccall((:nsmakerect, "cocoa"), Ptr{Void}, (Cfloat, Cfloat, Cfloat, Cfloat),
        x, y, w, h)

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

Inspect the commented-out line at src/ObjectiveC.jl#L31 and compare it with the provided nsrect definition and its Cocoa ccall signature. Determine why nsrect is not working there and verify that Cocoa functionality works without the workaround.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia, objective-c
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.