Why isn't there NSArrayController for the iPhone?
Why isn't there NSArrayController for the iPhone? Will there ever be an NSArrayController for the iPhone? ...
Why isn't there NSArrayController for the iPhone? Will there ever be an NSArrayController for the iPhone? ...
I've been using uiLabels to put text in the cells of tableviews. I want to now use paragraph text that carriage returns to the next line instead of going out of the boundaries of the table cell. Would I do this by manipulating a uiLabel or would I use a different control all together like a text view. Also is there any project example...
Is there a way to prevent the user from moving the cursor in a UITextField? I'd like it to stay at the end of the string. ...
After trying and failing to get my hands on a temporary Mac to develop an iPhone app for a client, I've started to look into VMware Workstation to virtualize OS X. I was wondering if there are any gotchas that people have found, or if the whole thing is unworkable. For the record, I have an old stripey-Apple logo I pried off my old A...
I have an UIWebView that loads a HTML form. When I select a text field the keyboard appears. When I type and hit "Go" the form is submitted and the next page loads, but the keyboard does not go away, it stays on the screen. The only way to get rid of the keyboard is to press the 'done' button on the keyboard or press the HTML submit ...
I have been told that UIWebView are big and expensive (memory and computationally) to create and retain. Is this true? and how expensive are they? ...
I want to add a text box and a button beside it. They will be at the bottom of the window. Then, when I touch the textbox (to type something), keyboard will appear and the whole row (with textbox and button) scrolls up and the keyboard will be right below them. Could you please let me know how can I do that? Is there any sample program?...
So I'm a Flash guy and I'm trying to convert the following code to Object C: var slot:Object = new Object(); slot.id = i; slot.xPos = 25*i; slot.yPos = 25*i; slot.isEmpty = False; // push object to array arrGrid.push(slot); Later I can override like: arrGrid[0].isEmpty = True; I can't ...
I'm using xcodebuild to compile my iPhone app from the command line. Is there a way to pass in some sort of option to set the provisioning profile? There seems to be not very much information about xcodebuild in general. ...
Am I missing something, or is there no direct way in AVAudioPlayer to get the actual power of an AVAudioPlayer object sample? There's clearly some way to get it, since the various metering apps (a la avTouch) show a meter with actual power levels along with (usually) the average power levels. So how do I access the current level when the...
I'm using a few sqlite3_bind routines (in the iPhone SDK) as shown below to make a single update (INSERT or UPDATE) to a table: sqlite3_bind_text(update_statement, 1, aString, -1, SQLITE_TRANSIENT); sqlite3_bind_int(update_statement, 2, anInteger); sqlite3_bind_int(update_statement, 3, pk); However, upon checki...
i have a custom cell i want to delete it when a button is clicked situated on the custom cell itself.how do i achieve this. someone help i am stuck at this from many days ...
i trying to download the picture from URL, and use a activity indicator animating to present the file is downloading, however, it is not working as my indicator wont animating when i call this download function,can somebody tell me why? -(void)download{ [indicator startAnimating]; NSString *downloadPath=@"http://www.xyz....
Here's the code I use to load a texture. image is a CGImageRef. After loading the image with this code, I eventually draw the image with glDrawArrays(). size_t imageW = CGImageGetWidth(image); size_t imageH = CGImageGetHeight(image); size_t picSize = pow2roundup((imageW > imageH) ? imageW : imageH); GLubyte *textureData = (GLubyte ...
When running on the device: Program received signal: “EXC_BAD_ACCESS”. Debugger: #0 0x31e11158 in CALayerCollectLayers_ #1 0x31e11180 in CALayerCollectLayers_ #2 0x31e11180 in CALayerCollectLayers_ #3 0x31dd7428 in CALayerDisplayIfNeeded #4 0x31dd5780 in CAContextCommitTransaction #5 0x31dd543c in CATransactionCommit #6 0x302...
Sorry if this is mentioned somewhere, couldn't find any info about it. Post a comment if you find a duplicate. This is not about whether it's possible at all to compile a C++ program for the iPhone (which I suppose is possible). Basically the question is, can you bridge between Objective C and C++?, and if it is possible, would it be f...
I want to add a loading bar at the initial of the game which is customized loading bar. for that i need to calculate the loading percentage to show loading progress. Is there any way to calculate the loading time of the application? please help me. If i add Default.png in my resources folder, it will seen at the time of application load...
Coming from a non-SQL background, I've been having a hard time absorbing SQLite3 for the past few days. Has anyone had any good results using any of the SQLite3 wrapper APIs out there? Do they work reliably? Which is best? I am also hearing buzz about Core Data coming to the iPhone. Not sure whether that info is trustworthy or not but ma...
I have a view xib that contains an info button. I'm doing animation on the UIView by adding CALayer objects to the view's layer and animating these layers. I'm careful to place these layers behind the info button by moving their zPosition. The problem is that on a real iPod touch the info button does not show in the view, even though it'...