Hello everyone,
I am using MacBook Pro Mac OS 10.5 with related version of XCode. I am new to this development environment. I am developing C++ console/terminal applications (File->New project, then from the list on the left "Command line utility", and on the right "C++ tool".).
When statement like std::cout executes, I think the outpu...
Hey,
I would like to know how you can disable UIActionSheets, specifically the Action Sheets being displayed after tapping and holding hyperlinks in a UIWebView. These seem to be enabled by default in UIWebViews containing the link address of the respective link in the title of the alert. They are also enabled in Safari.
(How) is it po...
Were dealing with some pretty custom UI elements while building our OSX / Cocoa and iPhone / IPad apps. I was wondering if anyone has good recommendations or tricks for getting a better workflow between UI designers and coders while using Xcode / Interface Builder?
It seems that many things require programmatic settings with UI editing...
Hello everyone,
I am using MacBook Pro Mac OS 10.5 with related version of XCode. I am new to this development environment. I am developing C++ console/terminal applications (File->New project, then from the list on the left "Command line utility", and on the right "C++ tool".).
For C++ source code file, I want to print source file con...
i have an application which takes "live bytes" up to 3mb. The application showing memory warnings and it will crash continously. when i use object allocation tool i can see the live bytes.im using imageWithContentsOfFile in many places. i can see NSConcreteData object is taking more momory.what is the reson for that? may i know how much ...
my attempt to init an array with a number of bool values using:
[myArray initWithObjects:[NSNumber numberWithBool:YES],
[NSNumber numberWithBool:YES],
[NSNumber numberWithBool:YES],
nil];
seems to fail since the debugger shows an empty array after this statem...
Hi,
I am trying to navigate to a different view in the detailview of the splitviewcontroller. I dont want the new view to display in the split view.
I am using this code to change views. This works ok in portrait orientation, but in landscape the split view table view still appears. Can anyone help with this?
Next *any = [[Next al...
Is there a tool with which I can click on a window and the tool will tell me which process that window belongs to ?
Explanation:
I was working in Xcode 3.2.3 for iPhone OS 4.0beta3.
Wanted to install old Xcode (all old SDKs got removed with beta3).
Didn't want to waste time so I kept working in new Xcode for iPhone OS 4.0beta3 while d...
In MSVC++ #include files are searched for differently depending on whether the file is enclosed in "" or <>. The quoted form searches first in the local folder, then in /I specified locations, The angle bracket form avoids the local folder.
This means, in MSVC++, its possible to have header files with the same name as runtime and SDK he...
I am editing SQLite SQL statements of substantial length.
How can I break these into several lines to allow comfortablt editing?
const char *sql = "SELECT arguments arguments arguments arguments arguments arguments arguments arguments arguments arguments FROM a, b, WHERE condition condition condition condition condition condition condi...
I'm new to iPhone development and I am writing an iPhone app that needs two different table views, which are selectable using a button bar or tab bar. These table views are both the same size, but only cover about two thirds of the screen from the bottom up. The top portion of the screen remains the same when either of these tables is ...
Hello!
I'm going crazy! I'm trying to upload the binary of my first application but I have always the same error!
"The binary you uploaded was invalid. The signature was invalid, or it was not signed with an Apple submission certificate."
I did everything, EVERYTHING!!
I created the request for the certificate, used it for both develop...
The Compiler claims an error saying: "initializer element is not constant", when I try to initialize a static variable inside a method with a call to a static method (with + in its definition).
Anyway I can tell him that this method always returns the same value. I know this is not the same as static method, but there seems to be no cons...
hellow all i am using svn for version control for an iphone application .
i have created it from xcode repositories by giving url ,user name and password
its authenticated .After that i have created a directory from there itself and have imported my project there. Then i have checked out to the local directory and have updated somethi...
I subclassed NSObject:
#import <Foundation/Foundation.h>
@interface STObject : NSObject {
NSString *message_type;
NSString *twitter_in_reply_to_screen_name;
}
@property(nonatomic, copy) NSString *message_type;
@property(nonatomic, copy) NSString *twitter_in_reply_to_screen_name;
@end
My implementation looks like:
#import ...
I have a subclass of TTMessageController that shows ... BUT it is not animated even though it should be. The code that displays the modal view looks like this (where PostToWebMessageController is the subclass of TTMessageController:
if (self.toWebMsgController == nil) {
self.toWebMsgController = [[PostToWebMessageController alloc] ...
Hi all,
I'm working on an iPad app that downloads a CSV file from the web and parses the file into a NSMutableArray. (I'm using the code from http://www.macresearch.org/cocoa-scientists-part-xxvi-parsing-csv-data suggested in another post).
When I run in the simulator, everything works perfectly, but when I run on the device, I get the...
Hi there..
Im new im making in making iPhone apps so i have no idea what this error means ?
I saw another post with this error but i couldn't figure out how to get it right..
i get this error:
Terminating app due to uncaught exception
'NSUnknownKeyException', reason: '[
setValue:forUndefinedKey:]: this class is not key value coding-c...
I am saving Images in NSCachesDirectory in a App. At the end of app execution i would like to clear all temporary cache. Is there a way to force clear all cache on application exit. I do realise the local folder keeps cache for 3 days..but my requirement is to force clear the Cache. Thx
...
I've been trying for hours and I cannot solve this problem.
I'm making an app that saves unfinished Chess Games, so I'm trying to write an array to a file.
This is what the array is, if it makes sense:
-NSMutableArray savedGames
--GameSave a
---NSMutableArray board;
----Piece a, b, c, etc.
-----some ints
---NSString whitePlayer, black...