iphone

Cocoa-Touch. What Exactly is the Difference Between These NSMutableData Methods?

One thing I'm a bit unclear on is the difference between these NSMutableArray Methods: // Class Method Style NSMutableData *myMutableDataInstance = [NSMutableData dataWithLength:WholeLottaData]; and // Instance Method Style NSMutableData *myMutableDataInstance = nil; myMutableDataInstance = [[[NSMutableData alloc] initWithLength:...

How to display UIActivityIndicator in the center of the NavigationBar?

Hey all, i want to display my Activity Indicator in the center of the Navigation Bar. At the Moment its on the rightBarButtonItem. How can this be done? Thanks for help! ...

iphone application using xcode

can xcode be used to develop iphone applications using .net and is it compatible with windows ...

dynamic programming

is it possible to do dynamic programming in monodevelop for developing iphone applications using .net ...

Memory allocation in iphone application

Hi I'm developing a new application for the iphone. I want to understand something - does the memory that my application uses shared with other applications? What if an application causes memory leaks, does it effect the device performances after the user closes the application? thanks. ...

How does the Process Scheduler in iPhone OS really work internally?

I want to know this more in detail. Is it a realtime scheduler? An interactive scheduler? How exactly does the process scheduler in iPhone OS work? Did Apple publish some technical notes or document that describes these things in deep detail? I want to know every detail about it. What strategy is it following? First-Come First-Served? S...

What kind of processes and threads does iPhone OS create when launching an app?

When an app launches, I assume iPhone OS creates exactly one process for that, with exactly one thread (the main thread). Is that correct? Or are there more threads or even more processes that come along automatically with an launched app? ...

What's the real point and benefit of having an Run Loop?

When reading the apple docs about multithreading, they talk a lot about Run Loops. What's the point of creating a Run Loop? Is that for re-using a user thread multiple times? In which exemplary situations is a Run Loop a good idea? How does this Run Loop relate to a thread? Lets take as an example the main run loop of an iPhone OS app. ...

Where can I find high detailed information about the kernel used in iPhone OS?

Does iPhone OS use the Mach kernel? Which one exactly? Are there somewhere interesting informations about the deep internals of iPhone OS? Where should I start? I want to understand the internals of iPhone OS as deep as possible before I start thinking about how to get my app work the right way. Performance sucks so much, and I want to ...

Customized Camera Toolbar on iPhone

Hi, I've created a camera application for iPhone and now I sit and polish the last of it. My application is a collage application where the user can take multiple pictures in a row. As it is today I have a customized camera view that contains one UIButton for taking the pictures and one UIButton for getting back to the main view. The ...

iPhone detecting processor model / NEON support

Hello, I'm looking for a way to differentiate at runtime between devices equipped with the new ARM processor (such as iPhone 3GS and some iPods 3G) and devices equipped with the old ARM processors. I know I can use uname() to determine the device model, but as only some of the iPod touches 3G received a boost in their ARM processor, thi...

HTML element to allow 'copy' function on iPhone

Im trying to allow copying of text in an HTML page on an iPhone. Ive tried putting in some text inside a <p> and it works if the text is static, but when i try to add text dynamically (using jQuery), the 'copy' option never pops up. Any suggestions? ...

countForFetchRequest behavior

Hi, I'm newbie in coredata and still learning. I have an application which need to fetch number of records which fulfill given criteria. Assume I have 3 types of Entity, i.e. Entry, Tag and Attachment. Entry has to-many relationship with Tag and Attachment. Tag has to-one relationship with Entry. Attachment has to-one relationship with...

Is it possible to convert html (uiwebview) on the iphone into pdfs, or pngs?

I'd like to be able to download a web page and then save it as a pdf, or png (or save it locally with all the html, image and css etc files). This is so the page can be viewed without an internet connection. Is there a standard way to do this? ...

read double quotes and single quotes from Sqlite database.

Hi, In my application I am trying to read some data from sqlite database into UITextView. This text has double quotes as well as single quotes, for ex: she said : "Katie's purse has been lost" when I do this, I get strange characters in place of double and single quotes. Please help me with a solution to scrub these characters...

Interface Builder. How do I Replace Programatic ViewControllers with IB ViewControllers?

As I move more and more of my UI construction from XCode to IB there is one remaining hurdle I need to clear. Currently, I create my custom viewControllers in XCode with custom initializers. They typically have a bunch of ivars that are set during initialization via passed params. I would really like to move as much of this as I can to ...

Don't expose symbols from a used library in own static library

I am writing a reusable static library for the iPhone, following the directions provided here. I want to use minizip in my library internally, but don't want to expose it to the user. It should be possible for the user to include minizip themselves, possibly a different version, and not cause clashes with my "inner" minizip version. I...

How to turn on the intelligence for the UITextField in iPhone

Hello all, When you type something in iPhoneSearchBar it shows the text with the help of intelligence. I want to turn on the same for a UITextField. So how to do it. ...

Cross-compile Autotools-based Libraries for Official iPhone SDK

Background I am writing a program that targets several different phones, including the iPhone. The program depends on several thirdparty libraries. I am having difficulty cross-compiling these thirdparty libraries for the iPhone and iPhone simulator. The libraries include the Apache Portable Runtime and GNUTLS, as well as their dependen...

iPhone SDK: How to load a different view?

Suppose that I want to create and application and that application will have two windows and a menu mechanism. How do I accomplish this on iPhone? I know how to create a single view and have that displayed but what I want is this ability: a.) Upon loading app, show a navigation mechanism. The choices are Item A or Item B. b.) If Item A ...