This is the README for TIFF_Help.s.tar.gz [Download] [Browse] [Up]
TIFF_Help.tar.Z This is a tiny collection of IB files for a simple graphics problem that I need help solving. The problem is very simplistic: I have a TIFF image called example.TIFF, an NXImage instance called MyNXImageInstance, a button, and a Window object called TIFF Example. I want to put together an application in InterfaceBuilder in which I can press the button and have the image example.TIFF appear in the TIFF Example window. This problem is very simple, yet I cannot find any good, clean, simple examples in any tutorial or IB Example to explain the concepts behind viewing TIFFs. Everything that I've come accross is cluttered with extraneous code about freeing an image and making NXImageReps and the like. I don't want to see any of this. I just want to know the simple minimal code to accomplish the task described above. Later I'll learn about Image Reps and free images and whatever. So far, I this is the conceptual solution that I have inferred from the vague documentation I've come upon. After you've opened up the IB.Proj and you see the objects that I have laid out, you Control-drag two connections: one from the Button to the NXImage instance, and one from the NXImage instance to the TIFF Example window. The button should send the message [MyNXImageInstance drawSelf:] which tells the NXImage instance to initFromFile: example.TIFF and display: it in the TIFF Example window. Is this right? Can you give me a clear conceptual explanation? I'd appreciate any help anyone can give me. The easiest way is to just email to me the conceptual explanation on how to do this, with no code. The method I'd actually prefer and the one that would help me the most is if you could take a look at the files I've provided, produce a working IB project with the minimal code necessary, re-tar and re-compress it, and email it back to me so that I can examine it closely. I'd also appreciate any pointers to documentation that describes how to do this with a good clear example. Again, Thanks for your help. E r n e s t o F. B. P e n a | "Volite Magis, ................................. | Facite Magis, erno@uiuc.edu NeXTmail accepted | Estote Magis."
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.