iphone

presentModalViewController not working properly

I have 3 views. I want to do the following: A presents B modally A dismisses B A presents C modally I have setup a delegate pattern where A is B's delegate. This is how I am presenting and dismissing in B: [delegate dismissB]; //this is just [self dismissModalViewControllerAnimated:NO] [delegate presentC]; //this is just [self prese...

Automate Spreadsheet Transformations

Hello, Every month I process a vendor's MS Excel spreadsheet for my work. I have to remove columns, rename columns, re-format columns, and then email the resulting spreadsheet to colleagues. Is there a way, in Excel or Numbers or programmatically, to automate this extremely repetitive process? Thanks, Sergio ...

MonoTouch, the future of MonoTouch and whether I should use it for iPhone apps (instead of objective-C)

Hi friends, I've decided to start writing an iPhone app and coming from a c# background, I thought I'd start developing it with mono. Though this question may be subjective, I'd love some guidance from you. Is it safe to develop my app using this technology, or should I buy some books and start learning objective C? I know Adobe were...

Generating a CSR with Security framework on iPhone app?

Anyone know how to generate a CSR from within an iPhone app to send to the CA? If its not part of the security framework, then how is iPhone suppose to get certificate that authenticate it against a CA? Thanks much! ...

How to access files within my bundle?

I have a simple question, but don't seem to see the answer in a previous thread, so here goes. I want to access image files within my bundle, and the paste this string into html in various UIWebViews. The code below seems to return a garbage string. It does not return nil, so I assume my found. NSString *imageString = [[NSBundle ...

ASIHTTPRequest issues for the iPHone

I have a buddy who is building the web server side of things and he needs my iphone app to send him a request. I don't have any experience in this type of programming so it is proving to be a bit difficult. I am trying to do a simple request that looks like this: ASIFormDataRequest *request = [ASIFormDataRequest requestWithURL...

Efficient undo/redo for Photoshop-like mobile app

I'm trying to write a painting app for a mobile device (Android) that will have a bit more functionality than MS Paint (e.g. various brushes and brush settings, selections, layers) but won't be as complex as Photoshop. I need my app to have a decent undo/redo feature. Unlimited undo/redo is probably not possible. I'd be happy with being...

Is PhoneGap on iPhone pointed to local proxy possible and allowed?

Hi all, We are looking on building a project that would run on Android, iPhone and other platforms with Phonegap. The app would be fairly simply, making use of the camera and basic UI features. The first versions would simply point to a web service and load information from there. Over time, however, we want to improve the speed by: 1....

Scrolling speed during UITableView re-ordering mode (not performance related)

Is there a way to increase the speed that you can drag a cell up/down during a table's movable row mode of a UITableView? For instance, there seems to be a standard speed that the table will allow you to drag the cell when you are moving it around and the scroll speed seems to increase if you hold it near the top/bottom edge of the devi...

container for image on iphone

i want to pop up a circular ring whenever user press base button and that ciruclar ring should have 6 buttons on corner and each button should have its own function upon click. but i dont know how to put those 6 buttons. so on screen there will be 4 base button and user can click any of the 4 to pop that circular ring (with 6 buttons) ...

detect if iPhone/iPad is password protected

I am fairly sure that this would not be possible, but just want to check. Is it possible to work out if a user has their iPhone/iPad password protection turned on. We are working on an application that contains very sensitive corporate information, we would like to avoid having to ask the user their password every time they open the iP...

UIButton, how to prevent double actions taking place

I'm not quite sure how UIButton works. For example, if I have a timer that goes off when I hit the start button, how do I make it so that if the button gets pressed again, it doesn't start another timer. Cause then my timer is going twice as fast. It seems like I'd want to invalidate my original timer if the button gets pressed twice ...

Calling an instance of a class by its tag.

I have several instances of a UIControl class Foo being instantiated, one instance corresponding to each cell in a UITableView. Each foo toggles the image on the left side of the cell via a selector when the image is touched (checkmark, no checkmark). I've also assigned each instance a tag: foo.tag = indexPath.row; The center of the ...

NSTimer allocation as a property

If I wanted to create a simple class that has three instance variables and methods like NSInteger seconds; NSInteger minutes; NSTimer *timer; - (void)setMinutes:(NSInteger)m; - (void)setSeconds:(NSInteger)s; - (NSInteger)minutes; - (NSInteger)seconds; What I want is to initialize a NSTimer object and have it countdown wi...

iphone, if possible to selecte mulit files from Photos gallary via UIImagePickerController

I want user can selected many photos ? if possible ??? thanks... ...

UISlider, thumb do not move

I have slider in my table's cell, here is my slider initialization code: UISlider* slider = [[UISlider alloc] init]; slider.continuous = NO; slider.maximumValue = 2; slider.minimumValue = 0.5f; slider.value = 0.5f; ... //put slider into cell And I can not move this slider's thumb. Why? Please, tell me what I do wrong? UPDATE: if se...

iphone NSLog when displaying an array

Hello - Two part question: First when I am using nslog to log the contents of an array, why is it that some of the objects in the array (all strings) have quotation marks around them and some dont? The log will look like: "Item 1", "item 2", item3, "item4" This leads to my second part of the question... The array in question is bei...

How to add Button to userLocation callout?

How can I display a DisclosureButton in the userLocation (the blue dot) callout like the Apple Maps app does? Now I just can change its title and subtitle, but I hope to provide custom callout views. Therefore, if I click the blue dot, it can display a button besides only title and subtitle. In this way, when I click the button, it can...

storing adressbook contacts into a nsdictionary

hi, i'm still trying to wrap my head around using NSDictionaries, and have come into a situation where i believe i need to use one. essentially, i would like to store all the phone numbers associated with each contact into a dictionary. so far i have this: ABAddressBookRef addressBook = ABAddressBookCreate(); NSArray *thePeople = (NSA...

Calling a C++ class from within a view controller crashes

I have a C++ object that I'm getting the reference to in my view controller like this: m_applicationEngine = (ApplicationEngine *)[(GLView *)[self.parentViewController view] m_applicationEngine]; In my location delegate I call a methid in the class like this: - (void)locationManager:(CLLocationManager *)manager didUpdateToLocation:(C...