I have available an array of dictionary that contains NSDate and NSNumber values. I wanted to plot date on X axis.
for plotting I need to supply xRanges to plot with some decimal values.I don't understand how can i supply NSdate values to xRange (low and length).
And what should be there in this method:
-(NSNumber *)numberForPlot:(CPP...
Hi - this is quite a basic OSX/cocoa question.
I come from an iPhone OS development background. I'm now trying to write apps for OSX, but I don't understand where cocoa on OSX decides where the program gets control.
I can see the main function, but where does program control go from there? Say for example I want to programatically cr...
i want to add the menu button in the document file to open it in the other app ,how to add the button in the menubar to open it in the other app.
how can i use this method for that-
(BOOL)presentOpenInMenuFromBarButtonItem:(UIBarButtonItem *)item animated:(BOOL)animated
if anyone know pls answer the question.
...
Hi,
I need your advice. We have an already working web resource management application, we use the usal tools html, css, php, mysql, the users logs in, create a new issue and data is saved/retrieved in/from a sever, everything ok.
The thing is that they ask me to develop an iPhone app using objective-c to emulate the functionality. No...
I have been hired to develop an iphone app. My customer is non-technical and wants me to take care of everything. So, I want to develop and manage the app within my existing account, but have his bank information so he gets paid automatically.
But itunes connect seems to only allow a single bank account for all my apps.
Is there a way...
Hey there,
I just wanted to build my App for submitting it to the AppStore - it includes the widely used three20 framework.
As the Debug Versions on the Dev-Devices worked great, i'm having trouble compiling the project for distribution.
XCode says:
No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=armv6, VALID_AR...
I'm making a particle system for my game, which basically is smoke coming out from rockets in my game. All particles are in a ccArray called smoke.
ccArray *smoke = ccArrayNew(0);
I have a class called Smoke, which is a subclass of CCSprite, with the addition of an ivar called __opacity.
When I add a new smoke to the ccArray I do lik...
Is that true? Or could I fetch multiple entities at once? If so, how would that look like?
(Guess: No. NSFetchRequest asks for one and only one entity)
...
How can i trace memory consumed by an object in its life time when i am testing my application on device? [e.g.: without any instruments if possible]
...
Hi,
I have a problem with creation to NSString.
The error is: "error: expected ']' before numeric constant".
The code is below.
Can you help me to find a solution for create these?
NSString *titleXML = [NSString stringWithFormat:@"<?xml version="1.0" encoding="UTF-8"?>"];
...
Is there a way to disable accessory indicators from rows individually? I have a table that uses
- (UITableViewCellAccessoryType)tableView:(UITableView *)tableView accessoryTypeForRowWithIndexPath:(NSIndexPath *)indexPath
{
return UITableViewCellAccessoryDetailDisclosureButton;
}
I need to disable it (remove icon and no...
Say I want to send email to my server, but I want the user to not see my address, or perhaps I want the subject to be preset. What if I want to email the value of a UISlider or other UI element without the user seeing the whole email view. How can I do that?
Must I use an Apple class, or can I use my own UITextFields?
...
Is it possible to open a URL
https://domain.com
with my application without it going to safari?
...
I'm having strange issues with text on a canvas when using an iPhone or iPad.
Either the text gets drawn properly (rarely), or it gets drawn upside down, or it doens't get drawn at all.
When the text does manage to get drawn, it is wiped when the iPhone/Pad is rotated.
I have the following code. It seems that I can only get the text to ...
Is it possible to avoid the black overlay when clicking links on Safari on iPhone?
there is something like this for the web version of Safari
:focus {
outline: 0;
}
so can I avoid to see a black box when i click anything on a web page on for safari on iPhone?
...
I have a TTLauncherView with some TTLauncherItems. These show badges, representing messages from the network. I set the badges in viewWillAppear:, so if I switch to another view and then return, the correct badges are shown. But I want to update the badges as soon a message comes in.
Calling setNeedsDisplay on TTLauncherView doesn't hel...
I am seeking advice on how to start my project.
I need to use a combination of the navigation controller and tabbar controller but on the second screen, I need the tabbar controller not to be there. Here is a brief description of the two main screens
Screen 1 will have a tabbar controller with two tabs. The first tab is a tableview and...
hey guys,
I use NSUserDefaults to store some stuff.
It works fine but only after i restart the app.
I use:
[prefs synchronize];
I thought it would immediately save the data but instead preferences stay null.
If you have any idea or already deal with it let me know.
Thanks for any help.
Wallou
...
I have an Objective-C iPad app I want to build an opaque static library from so I can give it to testers using X-code to test without giving them the source code. How can I do this?
...
I'm working with someone else's code, and there is a float with some unusual qualities.
If I output the float using:
NSLog(@"theFloat: %f", record.theFloat);
I get:
theFloat: 0.000000
However, if I use:
NSLog(@"(int)theFloat = %i", (int) record.theFloat);
I get:
(int)theFloat: 71411232
How do I discover the real format and v...