NimbleKit - fast iOS app development

Relative path?

Problem discussions

Re: Relative path?

Postby d0csp33d » Mon Jul 20, 2009 5:08 pm

Can it work with html files?
User avatar
d0csp33d
 
Posts: 175
Joined: Mon Jul 13, 2009 2:23 pm

Re: Relative path?

Postby d0csp33d » Mon Jul 20, 2009 6:40 pm

I tried your method (selected "Create Folder References for any added folders") with my html files and didn't work. We (or I) will have to wait for Nimblekit update. Sunny posted that we was going to work this out.
User avatar
d0csp33d
 
Posts: 175
Joined: Mon Jul 13, 2009 2:23 pm

Re: Relative path?

Postby jbardi » Thu Jul 23, 2009 11:35 pm

I don't get the big deal, honestly, seems kind of nit picking. Personally, for development purposes, I believe all files compiled into the same folder is the best route. You can use the virtual folders in the Xcode environment for grouping and organizational purposes while coding, but not having to worry about the correct path is a GOD SEND... I love that I just have to reference the name of the file and not have to remember where it is "located" in sub folders. Virtual Folders with a single root folder is the best development environment.

I don't see it as a flaw but a feature!
User avatar
jbardi
 
Posts: 141
Joined: Fri Jul 17, 2009 8:01 am

Re: Relative path?

Postby d0csp33d » Thu Jul 23, 2009 11:43 pm

Hi jbardi:

I know what you mean, but the fun is over when you have more than 600 html files in the same folder; so I would prefer a more organized project. I am very close for doing it but will wait a little more. I have been searching the web to see if I find the answer.
User avatar
d0csp33d
 
Posts: 175
Joined: Mon Jul 13, 2009 2:23 pm

Re: Relative path?

Postby d0csp33d » Fri Jul 24, 2009 3:01 am

Hi jbardi:

I followed your suggestion and I was desperate; so I transfered all files from folders into the main folder and my app is 100% completed. I will do try it for few days before I submit my app. Doing some testing in my iphone. :D
User avatar
d0csp33d
 
Posts: 175
Joined: Mon Jul 13, 2009 2:23 pm

Re: Relative path?

Postby jbardi » Fri Jul 24, 2009 1:52 pm

I don't get the big deal, honestly. From a real development standpoint, I believe all files compiled into the same folder is the best route. You can use the virtual folders in the Xcode environment for grouping and organizational purposes while coding, but not having to worry about the correct path is a GOD SEND... I love that I just have to reference the name of the file and not have to remember where it is "located" in sub folders. Virtual Folders with a single root folder is the best development environment. It is not like you ever have to SEE all of the files in the same folder, that is only when compiled or when pathing and Xcode takes care of that for you. In the dev environment, you can see all the virtual folders you want, so unless you are naming your files the same name in different folders, which is not the best development practice in any situation, I do not see where your problem lies. You are not having to see all of these hundreds of html files.

Some people here are new to development and this is their first step into writing web or standalone applications, so they haven't had the hours of frustration with a bug in their code that ended up being a pathing issue... if a coders problem isn't a missing semicolon, coma or unmatched open/close objects, it ends up being a pathing issue... From a developers stand point, not having to EVER worry about pathing is the best... I have been a developer/coder for over 20 years, so from a newbie standpoint who simply looks at it in the same way they browser around their computer, I can understand their frustration as well, but after they have been coding for any period of time, they will realize what an awesome feeling it is not to keep checking what folders your files are located in.

I don't see it as a flaw but as a feature!
User avatar
jbardi
 
Posts: 141
Joined: Fri Jul 17, 2009 8:01 am

Re: Relative path?

Postby inveni0 » Thu Jul 30, 2009 7:57 pm

I'm having a problem with this. It works find for one image only. I even attempted removing and readding the folder to XCode, but I still can only show one of the images. I've checked and double-checked the path, and everything is right. Any ideas?

EDIT: For some reason it just started magically working...

EDIT 2: It's not working again! Argh... I'm trying to read an XML file that is stored in a folder like was recommended here, but it won't recognize the file when the project is launched. Any help on how to fix this would be great!
Last edited by inveni0 on Thu Jul 30, 2009 9:27 pm, edited 1 time in total.
inveni0
 
Posts: 213
Joined: Thu Jul 30, 2009 3:01 pm

Re: Relative path?

Postby d0csp33d » Thu Jul 30, 2009 8:23 pm

This feature will be available in version 1.5
I hope ;)
I have more than 600 HTML files in the HTML folder, so I will use subfolders later on.
User avatar
d0csp33d
 
Posts: 175
Joined: Mon Jul 13, 2009 2:23 pm

Re: Relative path?

Postby ChrisA » Sat Apr 09, 2011 4:17 pm

Does anyone have an update on this thread?

For the record, I have been programming for 25 years and I would strongly suggest using directories to segment the code up in groups. :ugeek:
ChrisA
 
Posts: 1
Joined: Sat Apr 09, 2011 4:09 pm

Re: Relative path?

Postby HughJohnson » Sat Apr 09, 2011 5:45 pm

ChrisA wrote:Does anyone have an update on this thread?

For the record, I have been programming for 25 years and I would strongly suggest using directories to segment the code up in groups. :ugeek:


I have about ten less years experience I'd suggest putting data in a database and not spread through 600 files.
Image
User avatar
HughJohnson
NimbleKit Expert
 
Posts: 286
Joined: Thu Jun 18, 2009 4:44 pm

Previous

Return to Troubleshooting

Who is online

Users browsing this forum: No registered users and 2 guests