xcode

view based vs windows based iphone application

REF: XCode what is the differences between view based vs windows based iphone application? Where are you going to use view based and windows based application? Example? what does facebook use? ...

Is it possible to hide the uiwebview keyboard toolbar?

Is it possible to hide the uiwebview keyboard toolbar?(previous/next/done bar) or make the uiwebview use a keyboard that does not have it? ...

UIScrollView scroll detection

I have a UIScrollView in a UIViewController view that scrolls horizontally. How can I detect whether the scroll is at the left end or right end or somewhere in the middle? ...

iPhone: How to send httprequest via button?

There is 1 button on a view screen, when the user clicks the button a httprequest is sent to http://domain.com/buttoninput.php?id=1 Thats it! Nothing is loaded on the screen! the page is only loaded in the background. ...

iPhone: How can I add a currency symbol, decimal point and decimal places in shouldChangeCharactersInRange

I've found the code below, which I'm trying to make work in the UITableView shouldChangeCharactersInRange event. Without the currency symbol it works fine. When I try to add the currency symbol, it just allows me to enter one number. What it should do is this, say I enter 7536, it should appear in the following steps £0.07, £0.75, £7.53...

Reloading UITableViewCell when changing orientation

Hi all, In my iphone app, im using a UITableView with each row containing 3 photos, and they are separated by a space = 50.0 pixels. When I change t landscape mode, I want this space to increase to 100.0 , but I cant achieve this. In the orientationChanged method, I specified that I want the space to be 50 in portrait and 100 in Landsc...

Terminal Command or Apple Script to run XCode?

Is is possible to make XCode run by executing an AppleScript or some sort of terminal command? Can you pass XCode startup arguments, like a project to open, or to build a project on startup? Edit: Please excuse my laziness, but Apple Script samples are appreciated. ...

Difference between code signing target and project

I noticed that in Xcode I can set the Entitlements and Code signing settings both on: the Project (double click on the top item in Groups & File, which has the name of the project) the Target (under Targets, double click on your project name). What's the difference between these two? I know that with header paths, one tends to overr...

Inserting a Background Image using Quartz2d and Context ?

Hi all, I have written a game using Quartz2d. I would like a insert a background image to the game. I have tried doing this using the view.insertSubView method however the background image is always placed on top of the other sprites. Even using sendSubviewToBack does not solve this. I assume I need to somehow draw the background image ...

is it possible to use more than one SQLite files in CoreData?

Hello fellow stackoverflow family members? I know it is un-efficient to create one extra sqlite table in iPhone CoreData system. (X) Currently, My app has one sqlite table but there are preset data to users to no need to waste parse time. But if I adding new entity in current structure of SQLite table, it wipes up the whole preset data...

Creating an OS X Address Book Plugin

I'm taking my first steps toward learning to write desktop code for the Mac and, thinking it would be a baby step, I decided to write an Address Book plugin to "fix" something that's annoyed me for a long time. Embarrassingly, I can't even get the boilerplate plugin to work the way I think it's supposed to work. My understanding from th...

iphone simulator stops working even after bug been fixed

This has happened quite a few times. Application working fine. Then I chose a wrong delegate for a view Application did not work (expected) So I chose the right delegate for the view Application still not work / load (should have worked though) Quiting Xcode and returning still doesn't fix it. Only thing to do is delete the project and ...

Can't Build a simple Cuda Program using Xcode !!!

I'm using Xcode 3.2 on Mac OS 10.6 to build a very simple HelloWorld program for CUDA but it fails to build .. any ideas !!! this is the code : #include <iostream> #include <stdio.h> #include <stdlib.h> #include <assert.h> #include <CUDA/CUDA.h> __device__ char napis_device[14]; __global__ void helloWorldOnDevice(void){ napis_d...

split string from string

I have a string that contains <name>James Jones</endofname> how would i get the name from the centre pragmatically. Thanks James ...

iPhone: How do I add a 'next 25' like at the bottom of the screen in the app store app?

I've got a UITableView and I want to have a 'next 25' feature like in the app store app. However, I've no idea what control they use and how to develop it. Can someone shed light on it and give me as much info a possible ? ...

iPhone: how do I add the discolsure and delete icons to a UITableView ?

I need to have a disclosure and delete icon on my UITableView how do I add them ? I think the delete doesn't show all the time ? although I'm not sure about this, can someone advise? ...

Help with XCode

I am totally new to XCode, and I need a little bit of help... I've created a cocoa project, and then opened the main.xib file in "Interface Builder". From Interface Builder, I added an NSImageView object, and set the image to a gif file inside my resources folder in the project. I need to know how exactly I can program the application...

Two iPhone Apps with same code base

I want to create two iphone apps with very similar code base. The only differences will be some settings and the UI skin. Instead of creating two xcode project and copy the all the code over. Is there a better way to set this up? for better maintainability? 95% of the code are the same. ...

How to hide navigational bars according to cursor positons to use full screen?

I am trying to hide the navigational bars according to the cursor positons.so, that i can use the full screen of the iPhone.But i donno how to start it.Please help me. ...

How to copy a XIB to another project?

Simple. I have two projects in Xcode. In one of them I made a .xib file and I want to copy it to another project, so as to save some time redoing it. I can't drag it to the other project, nor do copy/paste by command, nor copy/paste by the Edit menu. Any suggestions? ...