Home User CP Donate Chat Register Today!  
  Get New posts Faq / Help?
   


Go Back   Hackint0sh > Projects and Hacks > iPhone > Applications & Development > iPhone Developer Exchange

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-16-2009, 05:04 AM
raziiq
Status: Offline
Junior Member
 
Join Date: Jan 2009
Posts: 9
Rep Power: 0
raziiq is on a distinguished road
Default Renaming Directories

I am using this code to hide the directories, is this the most efficient one or is there any other better way to do this?

Code:
NSFileManager *fileManger = [NSFileManager defaultManager];
NSString *oldPath;
NSString *newPath;

if ([fileManager moveItemAtPath:oldPath toPath:newPath error:nil])
{
NSLog (@"Renamed");
}
else
{
NSLog (@"Error renaming");
}

[fileManager release];
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need a simple utility developed to move directories into Sandbox $$$ brettb iPhone Developer Exchange 2 02-16-2009 11:58 PM
[SSH] how to change owner of directories and/or apps on 1.1.4 ? fabiopigi Tools 8 05-05-2008 06:39 PM
How to delete files in iphone directories? using iBricker? AMAUS General 2 10-12-2007 01:34 AM
Can't create new directories??? mkdir insists any dir I make already exists! Sonikku General 5 08-05-2007 09:01 AM



All times are GMT +2. The time now is 09:43 AM.



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.2 Ad Management by RedTyger
follow us on Twitter!

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105