Display and image from path in Xcode with pyobjc

Joined
Jul 9, 2011
Messages
1
Reaction score
0
Points
1
I am currently working on a project for my computer class and i am using it as an opportunity to learn pyobjc.

i have a database file that includes a path to an image, reading this and getting the path to the image is no problem.

my problem is, i cannot for the life of me figure out how to display this image in interface builder. nothing fancy just a static image.

my path looks like this: '/Users/jordan/Desktop/IMG_0448.PNG'

I am able to drop it into the resource folder and select the image in the Image View attributes and it will display, however this is not good because it needs to load the image from the given path, not a pre-loaded image.
if any more clarification is needed id be happy to give it.
thank you in advance
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top