I have a UITableView that is editable. I am commiting changes via:
- (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath
While in edit mode, I would like the user to be able to select a row, which will push a new view. I am not sure how to do ...
I'm working on an iPhone app, and I'm having some compiler trouble. Here's the low-down:
I am compiling using Xcode 3.2.3, targeting iOS 4.0: my device is a 2nd Gen. iPod touch running iOS 4.0.
Compiling with GCC 4.2: works on both the simulator and the device
Compiling with LLVM compiler 1.5: works on simulator, but not on device.
Com...
Hi, everyone,
I want to ask a question about the objective C. I used to ask how to declare a 2D array in the objective in the past and I get the 2D array. However, I modify some of the code and try to display the content of the array. I found that the input is wrong. Can anyone help me to point out the mistake.
// Program: conven...
Hi all,
In my application, I need to return the "Class" as a return type like:
Application.m:
+ (Class)getParserClass {
return [NCCurrencyParser class];
}
NCCurrencyParser.m:
@interface NCCurrencyParser NSObject <NCParser>
@protocol NCParser
+(NSNumber *)parserNumber:(NSNumber *)number;
in the caller method:
Class parserClas...
I can't seem to really think of a way to solve this one, can't get my brain around it for some reason. The problem I'm trying to solve is this:
For a puzzle-solver type algorithm, I'm pulling the duplicate letters as a substring of an NSString. Let's say the user enters "RBEEEIOOUUU"
I'm pulling just the duplicates from their string, ...
I want to develop an application for the iPhone that creates a custom memory buffer and plays a pure tone of a sine wave (like beep beeep beeeep).
I saw this code in the forum:
http://www.omnigroup.com/mailman/archive/macosx-dev/2000-May/014070.html
and I find it very close to what I'm looking for, but it is for the Mac, and that cau...
Hi,
can anyone give me an idea about how to pass parameter from objective c to javascript using
NimbleKit??
Thanks
Rony
...
HI,
Can any one help me solving this error...
When I am building my project it is showing the following error this is the first time im facing this error...
"Argument list too long: recursive header expansion failed at /Applications/iWork '09/Pages.app/Contents/Resources/Templates/Modern Business Cards.template/Contents/Resources."
~Ra...
Update! I've created a sanitized test program that illustrates the issue.
Here you can view a PDF of exactly what I've done, and download a .zip of the project
Update2! See the comment thread of Conceited Code below to understand more about this problem.
Update: Added bounty, I'm looking for an explanation of what's actual...
I have an app that switches around to about 10 different view controllers with methods like this:
-(IBAction)pg2button{
pg2 *pg2view = [[pg2 alloc] initWithNibName: nil bundle: nil];
pg2view.modalTransitionStyle = UIModalTransitionStyleCrossDissolve;
[self presentModalViewController:pg2view animated:YES];
[pg2vi...
Is there a constant retain callback I can use for generic id / NSObjects ? There is kCFTypeDictionaryValueCallBacks but they're only for "CFType-derived objects." I don't believe NSObjects are CFTypes, so I wrote these:
const void *valueRetainCallBack(CFAllocatorRef allocator, const void *ptr)
{
id o = (id)ptr;
[o retain];
...
how to link my application to iphone calendar
...
Hello,
I am working on a project which can edit any document file whether it is doc, rtf, txt, pdf file.
After editing user can save or you can say update that file.
Please advise .. how can anyone edit pdf or doc and re save it ?
Thanks
...
if i set up a runloop like that:
NSRunloop* loop = [NSRunloop currentRunLoop];
[runLoop addTimer:anyTimer forMode:NSDefaultRunLoopMode];
can i stop it again ?
or is the only way to ignore the notification i use to trigger the further action ?
ok, i give an example for the problem:
-(void)blinkeffekt:(double)pollingTime{
NSRunLoop* ...
Hi,
I am trying to develop an ipad application to read ePub files.please provide any sample code
...
Hi everyone,
i just created a subclass of uitableviewcell and used it in my cellforrowatindexpath.
after adding a simple uilabel my cell looks currently something like this:
my aim is to style the cell like
but how to do that? first i thougt about simply adding a uiimageview and sending it to back with the rounded corners and the...
How to draw a text in MKCircleview? i have to print a text on the overlay of MKMapview. is it possible?
...
Hi Folks,
I have an application which loads a view in it. I want to position the loaded view in 450pt of y cordinate. How to do that.
Regards
Ranjan
...
I'm having a really hard time trying to figure this out and would really appreciate any help.
I'm trying to parse a utf 8 string with NSXMLParser but it won't work.
here is my string
<?xml version="1.0" encoding="UTF-8"?><host><type>mac</type><port>62181</port><address>192.168.1.159</address><hostname>Samuel’s%20Mac%20Book</hostname><...
Hi Folks,
I have an iPad application which has portrait and landscape mode. The default behavior of the application is portrait.
I am capturing the orientation thru device orientation. I have a variable to catch the x,y,height and width of the application on rotation. But it prints the same value all the time. Same value on each rotat...