I know how to recursively list directory contents. I will be using Snow Leopard's enumeratorAtURL:includingPropertiesForKeys:options:errorHandler: method to do this.
However I want to store my findings into a object hierarchy (of, say, objects of a custom FileOrDirectory class that has isLeaf, children, and count attributes).
I need to...
Hi
I'm trying to implement the ViewTransitions code sample from Apple, but putting all the logic in my viewController instead of my applicationDelegate class.
I'm getting a bizarre error when I try to compile.
_kCATransitionFade", referenced from:
_kCATransitionFade$non_lazy_ptr in ViewTransitionsAsViewControllerViewController.o
(...
I want to make an app that has buttons that when pressed, plays a sound. How would I add the sounds, and then use the Line thing in IB to connect them to a button?
...
What Cocoa view does iTunes use to display the library panel?
Thanks,
helixed
...
I have a list of file paths and a destination path. I need something (AppleScript, Cocoa) that will move the files from one location to an other. I first tried using the following AppleScript, just to see what happens:
set the_folder to (choose folder)
tell application "Finder"
move selection to the_folder
end tell
The problem is t...
(HOBBY) I own a Macbook Pro and iPod Touch so developing iPhone/iPod/iPad apps seems like a logical thing to do in order to get some experience in the programming field. Besides I want to write a new application similar to the Capsuleer (Character skills monitor app for EVE Online MMO) but with more features. It's something I'd love to ...
Hey,
Do you know how to implement SCORM (Sharable Content Object Reference Model) in Objective C for eLearning content? Let me explain you what exactly I am looking for.
I have one MCQ (multiple choice question) application which has 4 questions. On attempting each question I want my application to interact with a SCORM compatible serv...
hi
i am new to iphone development and currently i am working on client server applications but the application run and work good on simulator but when i try it on device then the application crash after some times .Now i dont know why this will happend because i release every object which are decalre with alloc or init.but still cras...
int aNumber;
aNumber = aValue / 2;
aNumber = aValue >> 1;
aNumber = aValue * 2;
aNumber = aValue << 1;
aNumber = aValue / 4;
aNumber = aValue >> 2;
aNumber = aValue * 8;
aNumber = aValue << 3;
// etc.
Whats is the "best" way to do operations? When is better to use bit shifting?
...
Hi, I have a method written in c# to get md5:
public static string encryptPasswordWithMd5(string password)
{
MD5 md5Hasher = MD5.Create();
byte[] data = md5Hasher.ComputeHash(Encoding.Unicode.GetBytes(password));
StringBuilder sb = new StringBuilder();
for (int i = 0; i < data.Length; i++)
...
hello guys..
I have used date picker in alert view. As alert view has default height and width, I want to change that... Any one know that how to do? Please convey..!
...
i have a uibutton. im using two images for UIControlStateNormal and UIControlStateSelected. when i touch down the button it shows the UIControlStateSelected image for a split second. what is the reason?
...
Hi guys,
Here I need a help from ur side that Im using the tableview delegate method commitEditing sytle to get the delete button for every cell when we swipe.But my problem here is I dont want the delete button for the first row in the tableview and swipe should not work and I dnt have any idea how to implemet this.
Anyone's help will...
Is there a way to allow users to select multiple photos at once from the camera roll like the WiFiPhoto app does?
...
How can I solve "cannot find interface declaration 'someEnumeration',
superclass of 'interfaceName'" error?
What steps will reproduce the problem?
Compiling Wsdl2ObjC
Targeting groupwise.wsdl file
Fixing non-valid file names of output csource code like ".h" + ".m" and
objects inside source files
Moving up one of the @interface BEFOR...
I have created a project using Utility Application. It creates 2 views, one main and one flipview. How can i declare a global variable in main so that i can access it in flipview controller too?
...
hi,
i have the corelocation stuff in an uitableview controller. i actually want to get a distance from two locations and print that distance in a tableview cell.
the problem is, that the tableview is filled before all the corelocation stuff happens. how can i make corelocation makes all updates before the table is filled?
heres my cla...
I've this code
- (void)viewDidLoad {
MoMagAppDelegate *delegate = (MoMagAppDelegate *)[[UIApplication sharedApplication] delegate];
self.issueList = delegate.issueList;//Line to error
NSLog(@"IssueList size %d",[self.issueList count]);
[super viewDidLoad];
}
Please suggestion for resolve this problem,Thank you for your kindne...
Hi,
Is it possible to use an image or otherwise change the background color of cells in the "More" navigation controller of a UITabBarController?
...
Hi there,
For an application that I am developing I need to create a grid of squares. The only relevant property they should have is the ability to change to any color (RGB).
1) What kind of object should I use? Custom?
2) Am I overlooking something? Should I, for instance, be using Core Animation?
Thanks in advance.
...