Hello, I apologize for my recent silence due to exams. Thank you for your understanding. I am now able to be more active.
Here's the updates so far with the Graph Demos Swift support: -studied the code in grx11.c -studied the code in ftgamma.c -studied how they built by makefiles -developed a demo using cocoa and swiftui https://github.com/goeksu/GraphDemo This demo opens a window, displays a test bitmap, and logs keyboard strikes. while the development process has been easy and basic so far, I am now facing the challenge of figuring out how to integrate this into the existing codebase. I would greatly appreciate any guidance or assistance you can provide in this matter.. Best, Goksu goksu.in On May 30, 2024 at 12:46 +0300, Ahmet Göksu <ah...@goksu.in>, wrote: > Hello Alexei, > First, sorry for delay, I am also challenging with my final exams. > > Thank you for your suggestion, it was much more easier to follow. > > Here is my plan to do: > > *Create bridging-header.h to expose Swift functions to C: > *Develop the code GraphicsInterface.swift with creating, resizing the window, > showing bitmaps and read keystrokes. > *Edit the makefiles to compile the apps with swift_objs > > I am still researching about how could I interact the ftgamma-like apps and > my swift code without editing them. > > Best, > Goksu > goksu.in > On May 23, 2024 at 15:45 +0300, Alexei Podtelezhnikov <apodt...@gmail.com>, > wrote: > > Hi Ahmet > > > > Actually, src/ftgamma.c is the easiest app to follow with the least > > complicated code. Let me know if you have questions. > > > > Alexei