Adding Simple ImageView - Problems

DeG


Joined
Aug 22, 2018
Messages
2
Reaction score
0
Points
1
Hello world!....

So I am quite new to coding in. I am starting out by trying to put an image properly into my storyboard...I learned how to code it in my swift file and imageview.

However, every time i use an image in my assets it says that it is not configured and a class error.

I just put the PNGs into the project Navigator and it is supported...it's just that I have the x2, and x3 larger images incase of other versions...and would like to use assets for that reason.

Any idea how to configured or support the image assets?
 

IWT


Joined
Jan 23, 2009
Messages
10,218
Reaction score
2,175
Points
113
Location
Born Scotland. Worked all over UK. Live in Wales
Your Mac's Specs
M2 Max Studio Extra, 32GB memory, 4TB, Sonoma 14.4 Apple 5K Retina Studio Monitor
A warm welcome to Mac-Forums. Thank you for your post.

Be patient, please. We have several members here who fully understand coding, are developers and the like. They are scattered around the world, different time zones etc. Wait, and help will be forthcoming.

Ian
 
OP
D

DeG


Joined
Aug 22, 2018
Messages
2
Reaction score
0
Points
1
I am also trying to make a View Controller connect, it is successful but i am getting this in the debugger...2018-08-22 19:10:45.798642-0400 TransTimer[24349:14431110] Unknown class TimerViewController in Interface Builder file.
 

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