![]() What follows are my attempts at drawing some kind of something. Then, load it using a window controller object and ask that for its window. Instead, make a separate NIB for the window. I open the constructing function with: - (void)applicationDidFinishLaunching:(NSNotification *)aNotificationįor a more complex app, it's probably better to not put a window into the Main Menu NIB. This is what's happening in my AppDelegate. I ended up going through more StackOverflow and Apple Kit articles than God can count.ġ) access my blank application window’s “content”Ģ) specify my pixel of interest within that contentģ) access that pixel with its colorspace valuesĤ) rewrite the values directly if possible I really did not want to deal with images and image buffers or draw the smallest visible lines and rectangles, but I was willing to give all that a try. I want to do this economically, with as few lines of code as humanly possible, because looking at large chunks of code is a real eyesore. My current objective is pretty simple (at least in the abstract): I want to (re-)color a pixel in my blank Mac OS X application window. Moving forward from phase 1 of my project here: How do I re-define size/origin of app window in code, overriding nib/xib file parameters, with Obj-C, Xcode 11.3.1 on Mac OS X 10.15.2 (Catalina)?
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |