ios

Half of UIButton not responding to touch events

I have a UIView - which I am using as a makeshift toolbar. It contains several UIButtons. (Six, I think) in a horizontal row. The fifth button over will only respond to [TouchUpInside] events when I click the left half of it - whereas all the other buttons work correctly. I have gone crazy making sure there weren't any other views over...

Core Data Managed Entity Object Class usage Problem

Hi I have this application which is saving tweet messages from twitters public time line. For that I have created a "Tweet" entity in my model & has generated a managed object class from XCode. I have declared Tweet ivar in my controller class & have synthesized it but when I try to put some value in it like tweet.text = @"Some parse...

iOS - How to add display a string on a UIImageView

How can I show a string on a UIImage View? Ok Ive got this currently: - (void)viewDidLoad { [super viewDidLoad]; playerPositions = [[NSArray alloc] initWithObjects:box1,box2,box3,box4,nil]; [box3 drawRect:box3.frame]; } - (void)drawRect:(CGRect)rect { [super drawRect:rect]; CGContextRef context = UIGraphicsGetCurrentContext...

Within an iOS app how do I detect that the user has pressed one of the arrow keys on their external keyboard?

I have a couple of iOS applications which present inherently linearly organised information, allowing the user to move forward and backward through the data with on-screen controls. I would like to allow users with the keyboard dock or a paired bluetooth keyboard to use the arrow keys to move back and forth as well. Since the apps are ...

Rotate UIView based on UITouch

I'm working on a drawing app. I want the user to be able to "drop" a shape on the screen and then move, resize or rotate it as desired. The problem is with the rotation. I have the moving and resizing working fine. I did this before with a rather complex and memory/processor-intensive process, which I am now trying to improve. I've ...

iPhone/iPad: Labels Displayed in wrong Font, i use the system fonts!

Hello, since i installed newer SDK's the Fonts i've choosen for some Labels are not shown in IB, only in Edit Mode. There ist always a substitute font showing. I know, that I can't use any Font, so i've chosen an iPad System Font "Chalkduster". The Fonts is installed on my Mac. I also installed the SDK again (3.2.4) Is there any *.plis...

NSSortDescriptor can't count numbers at all..

With this NSSortDescriptor *lessonDescriptor = [[NSSortDescriptor alloc] initWithKey:@"lesson" ascending:YES]; [resultArray sortUsingDescriptors:[NSArray arrayWithObject:lessonDescriptor]]; it's sorting the "lesson"-objects to ( { lesson = 9; subject = bg; }, { lesson = 8; subject = bg; }, { lesso...

What programming languages can one use to develop iPhone, iPod Touch and iPad (iOs) applications?

What programming languages can one use to develop iPhone, iPod Touch and iPad (iOs) applications? Also are there plans in the future to expand the amount of programming languages that iOs will support? ...

IPhone RGBA to ARGB

Hi, Im using glReadPixels to grab screen shots of my opengl scene and then turning them into a video using AVAssetWriter on IOS 4. My problem is i need to pass the alpha channel to the video which only accepts kCVPixelFormatType_32ARGB and glReadPixels on retrieves RGBA. So basically i need a way to convert my RGBA to ARGB, in other wor...

Average salary of a Mac/iOS/Web developer in California

Hey, I don't know if this is the right place to ask, but I think it's a cool place to try. I'm a Mac, iOS and web developer and I got plans of moving to California. What's the average salary for this job in CA? ...

Resource bundles in iPhone

How do I create a resource bundle to use in an iPhone/iPad app? Is it simply a folder with the .bundle extension or do I have to do something else to make it work? Are there any special considerations for Universal apps (ie: do I have to create separate bundles for each platform?) and localized resources? I would like to create and use...

Open a PDF document on iPhone

is UIWebView the only way to open a pdf document on the iphone? how can i interact with the document? eg: getting the current page number? ...

Splitting a touch sequence between multiple UIGestureRecognizer instances

I'm developing an iPhone/iPad app that supports dragging items between table views. Since all the tables don't fit on screen, I've written a custom UIScrollView that lays them out horizontally, and supports paging. While I've gotten the primary drag and drop together, there are a few remaining issues I can't get past. After the user h...

iOS 4 Accelerate Cblas with 4x4 matrices

Hello, I’ve been looking into the Accelerate framework that was made available in iOS 4. Specifically, I made some attempts to use the Cblas routines in my linear algebra library in C. Now I can’t get the use of these functions to give me any performance gain over very basic routines. Specifically, the case of 4x4 matrix multiplication....

In wich way can i debug "accessoryDidDisconnect" notification if unplug the external device?(EAAccesory Framework))

Hi, i'm starting with EAAccessory framework and i don't know in wich way can i debug this method if unplug the external device: - (void)_accessoryDidDisconnect:(NSNotification *)notification Obvisouly xcode gave me an error for the disconnection of the iPhone and i can't enter in the method. Thanks ...

iBooks like PDF reader for iPhone

Does anyone know of an open source project or code samples that works like the PDF reader in iBooks? ...

Free bitmaps for iOS custom buttons and sliders?

First, I'm not talking about icon libraries or mockup tools/libraries. I'm familiar with various icon libraries that people have created, but other than the stuff from the example code like UICatalog, I'm wondering if anyone knows of anyone who has created free libraries of custom button bitmaps (stretchable button images), slider handl...

How do you recruit an iPad developer?

I've got a great idea and a lot of money but I am not a coder. How is the best way to find an iPad developer who will partner with me on the project? ...

Recording and editing audio

I have no experience with audio programming at all and have been looking at the AV Foundation Framework thinking this is what I need to use to create an app that allows me to record and do simple editing of a recording. By simple, I mean have the ability to go to a part of my recording and snip out a segment. I've gathered that I shoul...

Device-Specific Resources in iPhone

According to the iOS Reference Library: In iOS 4.0 and later, it is possible to mark individual resource files as usable only on a specific type of device. Does this mean that if you're creating an Universal app for 3.X devices, and the 3.2 iPad in particular, you can't use device-specific resources with the ~ipad and ~iphone...