I'm creating objects which will be sent to a server, and I'm trying to ensure I account for timezone and Daylight Savings issues, so I want my timestamps to be "seconds since 1970" regardless of timezone, etc.
Is [NSDate timeintervalSinceReferenceDate] sufficient for this? In the docs I know it says time since January 1 1970 00:00:00 GM...
Does anyone have any thoughts on how much to charge for release copyright on an iPhone app I'm building for a client? I have a reasonable idea of how much I should charge for the app development, but I never release copyright on anything I do for clients.
Thanks!
...
Hi,
I'm having a bit of trouble trying to delete rows that haven't been loaded (or not visible) from a UITableview.
My setup is as follows -
There are two sections in the tableview and each element in section 1 is associated with multiple elements from section two.
To give you an example (The data isn't really related to what I'm try...
hi, I am working on apllication for iphone in xcode 3.1.
I want similar two images to disappear when touched one after other.
I have succeed in displaying two images on iphone simulator on touching
'PlAY' button.
Now i want that when two same images are 'touched' one after another,they should disappear.
Expect code in Objective C.
...
Which method is called first when an iPhone application loads?
...
i want to set an image to the back button of navigation controller
...
Hi, am being driven crazy trying to obtain how many lines a string will require as entered in a UITextView.
The code below for some reason does not split the string supplied over lines and returns a stringSize = (o, 32) WTF?
I enter a crazy long string that is way past 320 but still no expected result?
NSString *t = @"in my app this s...
hey guys ,
Hope you all doing well, i have a one problem i want upload a small image with some text in front of that image from iphone, but not succeeded yet. I gone through some blogs and post but not find any thing like that . Please suggest me some piece of sample code how to do that..
Thanks in Advance
...
I am writing a facebook app for iphone, however when I send a request to post a comment I get the following error:
failed with error: Error Domain=api.facebook.com Code=210 "User not visible" UserInfo=0x5a986b0 {request_args=(
{
key = text;
value = "Test comment";
},
{
key = format;
value = XML;
},
{
key ...
Hello all, I'm trying to understand the life cycle of an iPhone application. Are there any graphical representations of this life cycle out there?
...
I'm working on an iPhone project. I am getting an HTML fragment from an RSS feed and am attempting to load it into a UIWebView using the loadHTMLString method.
The string I am receiving from the feed is HTML encoded. When I pass it to the webview, it displays the decoded HTML, meaning it shows the tags along with the content of the pag...
The xcode 4 preview just came out today. Has anyone tried it yet? It is safe to use for production release? Would love to use the new compiler.
...
I recently tried to integrate open feint into my app. When my app launches, the 'Welcome back player xxxx' at the bottom works so I know that open feint is working. However, when I press the button that has this linked to it
-(IBAction) leaderboard: (id) sender
{
[OpenFeint launchDashboard];
}
I get this error:
Terminating app du...
JSON As Dictionary
{
headers = (
{
backGroundImageUrl = "";
dataField = Name;
headerText = Name;
id = Name;
itemRenderer = "";
toolTip = "";
width = 60;
},
{
backGroundImageUrl = "";
...
i need to decrease table view cell of navigation controller to 280*35..
i hav tried with cgrect its not working ...
how can i set
...
Hi all, i am adding overlays to a cocos2d layer in preparation for a screenshot...
CGSize winSize = [[CCDirector sharedDirector] winSize];
CCScene* currentScene = [[CCDirector sharedDirector] runningScene];
GameLayer* topLayer = (GameLayer *)[currentScene.children objectAtIndex:0];
CCSprite *middleBackground = [CCSprite spriteWith...
Hey everyone;
I've currently got a button that when selected it sets the selection of a two component pickerview to index zero and then I want it to automatically reload the second column. The code I have is this:
MakeModel.Select(0,0,true); // Select first on left
MakeModel.ReloadComponent(1); // reload right side to available
Unf...
I am a iPhone beginner and i want to know how many parameters the main function takes.
...
Is it a good idea to return thumbnail images in base64 through JSON in a RESTful call for populating UITableViewCell's? Or should one really make n requests for n images (lazy loading)? What's better?
Thanks!
...
Hello All,
I am working with audio in the iPhone OS and am a bit confused.
I am currently getting input from my audio buffer in the form of pcm values ranging from
-32767 to 32768. I am hoping to perform a dbSPL conversion using the formula 20LOG10(p/pref).
I am aware that pRef is .00002 pascals, and would like to convert the pcm va...