Hi
As the title says, I am looking for source code that shows how to read(write) MS Excel files in pure C (OS agnostic). I have seen some Java code (e.g. JExcel) and would use that if I can't find some existing C code with similar functionality.
What I need is to read an Excel file and convert it to XML (or some other more manageable f...
There are many Cocoa methods that require an NSError object as a parameter to a method, but are really a means of returning an error object to the calling method if errors exist. Is this returned object retained? That is, in the calling object code (the method to which the error is returned), does there need to be some code like:
NSEr...
I want to know that does apple's Push Notification Server generate new device token every time when requesting from a same device?
...
I am developing an application in which i want to use push notification service.i have a sever.now i want to know that how do i handle multiple devices? is there a unique device id/name for every iphone? suppose i want to delete request for a specific device token,so how do i handle multiple users? is there a way i can generate unique na...
What does this error mean?
initializer is not constant
Thank you for your help
...
i want to save current date+time into database and also want to retrieve it. i know that in objective-C we cannot save date+time directly.
i have double as a field into database and currently I'm saving date by converting it into double.
here is the method for converting date into double-
currentDate=[NSDate date];
startDate=(double)...
i want to know that when we want to use push notification service.From where we send json payload, from our app or it may be generated on server? if it has to be sent from our app then how do we send json payload+device token to our own web server?
...
Hi there,
I have an NSOperationQueue which contains 2 NSOperations and is set to perform them one after another by setting setMaxConcurrentOperationCount to 1.
One of the operations is a standard non-concurrent operation (just a main method) which synchronously retrieves some data from the web (on the separate operation thread of cours...
I am just setting up a simple library application, basically a collection of "Members" and a collection of "Books". My idea was to implement both of these as NSMutableArrays so that I could easily add and remove objects. What I would like to ask is what is the best way to implement the link between a "Member" and a "Book" when they take ...
I'm considering writing a cross-platform desktop app, initially for Mac/Windows, but eventually for Linux as well.
Currently, I plan to structure it like so:
Mac UI using Cocoa/Objective C/Interface Builder
Windows UI using WPF
In future, Linux UI using GTK#
Business/data access layers in C# - i.e. .NET on Windows, Mono on Mac/Linux
...
What is the purpose of using IBAction and IBOutlet in Objective-C coding for the iPhone, does it make any difference if I don't use them?
...
I am new to Objective C with a background primarily in database programming. I am developing an iPhone medical application that involves multiple formulas for calculations, using many variables. Essentially each formula will have its own screen, but numeric entries and calculations from each screen should appear on the screens for other ...
I want retain value of label in view after existing the view, so that it shows the old value when reopening the view. How can I do this?
...
Is there a way using the command line console to read a user typed value as an NSNumber, or do I have to read the input as a c-type integer and convert to a NSNumber object?
(e.g.)
NSLog(@"Enter Age:");
scanf("%d", &userAge);
gary
...
I have a UIActionSheet that pops up as soon as the initial view in my iPhone app loads if there is data that can be sync'd back to a web service. The trouble is that the UIActionSheet is popping up too high - exactly half the tab bar is exposed beneath the action sheet. I'm not aware that this is caused by styling? Can anyone offer an...
Hi,
Memory management is a very important issue in iPhone. So I am asking a very general question.
There are two ways to call a the viewController of another class.
Way 1:
AnotherClassViewController *viewController = [[[AnotherClassViewController alloc] initWithNibName:@"AnotherClassView" bundle:nil] autorelease];
[self.navigationCo...
Initially I thought this was going to work, but now I understand it won't because artistCollection is an NSMutableArray of "Artist" objects.
@interface Artist : NSObject {
NSString *firName;
NSString *surName;
}
My question is what is the best way of recording to disk my NSMutableArray of "Artist" objects so that I can load th...
Ok this one drives me crazy...
I make a connection with some url, parsing the xml and returning a url for some image...
The thing is that when I try to set the image for display (both with bindings and object messaging) through connectionDidFinishLoading method... nothing happens!!!
Please note that when I try to set the image through...
Hey guys,
I'm developing an iPhone OpenGL application, and I need to use some textures with transparency. I have saved the images as PNGs. I already have all the code to load PNGs as OpenGL textures and render them. This is working fine for all images that don't have transparency (all alpha values are 1.0). However, now that I'm try...
I'm trying to switch a currently loaded view with a new one.
I have 3 xib files and 3 sets of ViewControllerFiles.
RootViewController loads correctly, and correctly loads HomeViewController.
The line that errors currently is this
[self.rootViewController.view insertSubview:gameController.view atIndex:1];
error: request for member 'v...