ios

How can i make Twitter's row menu in iOS app?

Anybody can tell me how to make Twitter's row menu in iOS app like img below? This menu appear when i touch down move finger to left (Touch in UITableCell of UITableView). Can i make row menu like it? Thanks :) ...

How to forbid CALayers responding to a hit test?

I'm doing some layer drawing on the iPad and have to provide user interaction. My layer hierarchy is quite complex and deep, I'm drawing some kind of a tree with several interaction possibilities. At the moment I need to draw arrows within this tree which should be drawn on top of all other layers and there the problem comes. These Arro...

Is it reasonable to consider a future Retina / HD iPad when starting a new project?

A few days ago a client asked me if the transition to the iPhone 4s retina display was a difficult one, development-wise. This made me ask myself whether I should have considered iPhones with high resolution dispays even before the iPhone 4 had been announced - creating artwork with higher resolution, preparing codepaths... (while, of c...

Best way of using web services on iOS?

I'd like to build an iOS app which lets you log in to a web service. After that, the app would (when the user chooses) send the login name/pass, together with the requested variable(s), over https. For instance after requesting 'news-update', it would receive the requested info in XML format... something like: <news-update> <title>K...

Refreshing data on iPhone causes the system to become unstable or unresponsive

Hi ,everyone I got problem here I need to update a plist data in a period time and I use Tab Bar to switch 2 views When I select to view1 ,It will load data from an URL But if I switch to view2 , the view1 still update the data If you switch to view2 and switch back ,view2 keep updating the data. and this is the code I'm using to ...

App designer in GUI format

Hi All, My first post here so please be gentle. I have only just started looking to ios programming after working in the automation systems programming world for a while. it strikes me that there are no fast build program interfaces out there. the closest to what i have been looking for comes from CommandFusion but their GUIdesigner sof...

Is there any data binding mechanism available for iOS?

In .NET I just do something like DataForm.Source = Object and then magic happens. Platform routes data changes from ui fileds to object properties, does validation and so on. Can I do something similar with Cocoa Touch and CoreData objects? ...

Location-based features in iOS

Not sure if this is possible, but I wanted to check it out. I want to access the GPS features in iOS, specifically on iPad through my app. Ultimately the goal is to be able to see who else nearby is currently running the app as well. Is this at all possible or practical to implement? ...

iPad + HTML5 Video Tag + External display issue

I am using HTML5 video tags in a UIWebview on the iPad, and positioning them as needed using CSS. The key part of these videos is that they are designed to take up part, but not all, of the visible area on the page. When I'm doing this in the "normal" mode of displaying content only to the primary UIScreen, everything works great. Howe...

Strange UIKit crash

Hi people, my app sometimes crashes when I try to open new view controller, it's looks like if uikit could't load nib file, but in most cases this controller loads fine. I can't determine cause of this problem. Thread 0 Crashed: 0 libSystem.B.dylib 0x00090b2c __kill + 8 1 libSystem.B.dylib 0x00090b1a kill...

Recording Mono on iPhone in IMA4 format

Hi, I'm using the SpeakHear sample app on Apple's developer site to create an audio recording app. I'm attempting to record directly to IMA4 format using the kAudioFormatAppleIMA4 system constant. This is listed as one of the usable formats, but every time I set up my audio format variable and pass and set it, I get a 'fmt?' error. Here ...

How to get text in a CATextLayer to be clear

I've made a CALayer with an added CATextLayer and the text comes out blurry. In the docs, they talk about "sub-pixel antialiasing", but that doesn't mean much to me. Anyone have a code snippet that makes a CATextLayer with a bit of text that is clear? Here's the text from Apple's documentation: Note: CATextLayer disables sub-pixel an...

Condtional Environment Varialbes in Xcode

I would like to create some environment viables in Xcode for heavy debugging such as: NSDebugEnabled NSZombieEnabled MallocStackLogging MallocStackLoggingNoCompact Is it possible to create a new build configuration that is a duplicate of "Debug" where those environmental variables are set to YES, but i can just switch to regul...

When is an IBOutlet UIViewController inited, if set as a property? How to optimize IBOutlet UIViewControllers' loading?

I have my main app view controller (File's Owner), its First Responder, View, and 3 other UIViewControllers in the same nib file. Every one of the 3 UIViewControllers is referenced on the main UIViewController as an IBOutlet. My question is, when does the main UIViewController init those 3 UIViewControllers, in its life cycle (my guess...

Install application without developer certificate?

I am willing to jailbreak my device, but not sure what to do after that. Dev program application will take too long for a demo I hope to do on hardware tomorrow. Thanks! EDITED: It doesn't need to be 4.1 on an iphone4 ...

AdressBook Crash, only with some contacts!

My app crashes, it is a problem that arises from the AddressBook API, it only happens with some contacts. Here is the log: Exception Type: EXC_BREAKPOINT (SIGTRAP) Exception Codes: 0x00000102, 0x316ebd38 Crashed Thread: 0 Thread 0 Crashed: 0 CoreFoundation 0x00001cfe CFRetain + 90 1 AddressBook ...

Position both the safari "touches" from a gesture event?

I want to get the position (relative or otherwise) of the two fingers/touches inside a gesture event (gesturestart, gesturechange, gestureend) on mobile Safari (iOS: iPad/iPhone). I know that the gesture* events don't actually provide this in the event args but i thought there might be a 'trick' to getting this info. It would be great to...

Return only search results that contain inner HTML and not strings also in HTML tags on iOS

I have a native iOS app. It has a UIWebView to read eBooks. I have a search feature in the app that searches for all pages in the eBook that contain the search term. The problem is that the search results also include pages that have the search term within HTML tags. For instance, if someone searches for "Blue" and a document has a c...

Touch events in separate thread?

Hello everyone! I have a little problem. My OpenGL application is heavyweight and touch events comes too late. I read question about it, but I have my own. How can I separate main(drawing) cycle into one thread and touch events to another one? ...

UIModalTransitionStylePartialCurl support for iOS 3.0?

According to the iPhone doc this particular modal transition is available for iOS version 3.2 and up. Yet i know my phone (running 3.1.3 i think) can do this curling transition because of the Google Maps app. Is there another way/trick to get this curling transition for iOS versions < 3.2 ? Thanks! ...