ios - Accessing Swift variables added by Folder reference -


actually spend around 3 hours in simple problem , googled lot no way. question simple. want add directory "folder reference" swift xcode project. no way access them.

i don't need add using group reference, suggestions?

enter image description here

enter image description here

enter image description here

update: if using folder references, there no way import them , must reference them using full directory path.

ex:

let image = uiimage(named: "images/icons/gopago") 

that way. depending on project requires, suggest using groupings below.

the problem using folders , not grouping. there no import needed. need take in folder , "group" through xcode. able access in code. should yellow folder when group in there. so:

enter image description here

and should this:

enter image description here

if copying on directory, want make sure select create groups follows. :

enter image description here


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -