xcode

Is someone willing to look at my (very small) project on DropBox and give me a hint on my IB connections?

Hello, I am working on a very small (one view) iPhone app (iOS 4.0.2 on Xcode 3.2.3) and I think that I am missing something in how I have made my IBOutlet and IBAction connections in IB. I am hoping that one (or several) of you kind folks out in the ether will be willing to connect to my dropbox and dl the project and give me a hint as...

Somehow my singleton properties are getting released.

I have a singleton object called PoolManager that loads and saves some data in a plist. Throughout my program when something needs to know about my pool, it asks the [PoolManager sharedPoolManager] for it's properties. I have a single view that's responsible for setting these properties and all others just read from it. It was all wor...

"Submit Application to iTunes Connect..." Xcode feature with filename that contain whitespace

Xcode has a nice feature that let you submit your application to iTunes connect without launching Application Loader. The problem appears when you have a whitespace in the application name. I understand the problem, but since Xcode is naming the file automatically, how can I use this feature without changing the name of my app? Than...

Pressing Cancel button doesn't retract

Hi there, i implement an actionsheet, when press "ok" button, do these, press "cancel" go back. the "ok" button is working fine, but when i press the "cancel" button, nothing happens, it doesnt retract or do anything, just hang at the actionsheet view. below is my code: create button at nav bar: UIBarButtonItem *clearButton = [[[UI...

highly customized UIs in Cocoa - Interface Builder or not?

Ive been working with some guys on a highly customized UI for a Cocoa app as well as a few for iPhones. Am I the only one who is starting to see interface builder as a cludge? Its good for standard components and simple apps.. but the moment you get more deep and complex and customized it becomes painful fast. Is it better to for in...

iphone database problem

Iam making a tab-based application where in first tab i have a custom button. and in second tab i have a table view which loading database from sqlite. in that custom button selector i have called viewlo. whose body is like this: info *viewer=[[info alloc]init]; [[self navigationController] pushViewController:viewer animated:YES]; [...

SQLite3 - Library routine called out of sequence

When running the following prepare statement for a SQLite3 db-selecct query I get a SQLLite Error 21 "Library routine called out of sequence": sqlite3 *lDb; sqlite3_stmt *lStmt; NSNumberFormatter *lNbrFmt = [[[NSNumberFormatter alloc] init] autorelease]; // Define SQL statement NSString *lSql = @"SELECT secti...

What is the best way to find localizable strings in an xcode project

So, Now the time has come to go back over an old iPhone project to localise it and I am confronted by ploughing through an entire project looking for user facing strings. Is there any crafty way of doing this short of searching for @" and checking every instance? Looking at the Apple localization documentation there does seem to be ment...

link css,javascript from xcode

First, I created a xcode project and copied and pasted the CSS and javascript files into project folder. Second, I loaded a local .html file to UIWebView.But the css files and javascript files don't fire. <html> <head> <meta charset="UTF-8" /> <title>test</title> <link rel="stylesheet" type="text/css" href="css/mycss.css" ></lin...

How do I print an object's property to the Debugger Console in Xcode?

I have an object that was created with the Core Data code generator: .h file: @interface MyObject : NSManagedObject { } @property (nonatomic, retain) NSString * title; @end .m file: @implementation MyObject @dynamic title; @end I put a breakpoint and now I want to print the title property of one of its instances (myObject) to ...

How do create a sectioned sidebar view?

I want to create a sidebar inspector-type view with collapsable sections, similar to what is seen in the right sidebar in Xcode 4. I have experimented with a combination of button types and views, but nothing seems to behave in the manner I desire. Here is a screenshot of the section for reference. ...

Error when trying to build anything after installing Xcode 3.2.3

I just recently installed the latest verson of Xcode as well as the ios 4.0.2 sdk with the disk image downloaded off of the apple developer site named xcode_3.2.3_andios_4.0.2.dmg. My past version of xcode came off of the snow leopard install disk. After the install I get an error when I try to build anything including a new project that...

How do I send a delete request with ASIHTTPRequest?

Wondering how I can send a DELETE instead of POST/GET etc with ASIHTTPRequest. Thanks! ...

iOS Universal Application: the Minimum OS Version is Different than the Deployment Target

I'm developing a universal iOS application and I set the deployment target to any version before 3.2. However, when it is compiled and I go to install it on an older device, xcode won't install it because version 3.2 is being required. The info.plist generated confirms that the minimum os version is being set 3.2. Why is this? I have a...

XCode to show warnings on new methods not available on older targets?

Is there any way to get XCode to toss a warning out if a method may not be available on an older version? For example, my app might have a deployment target of 3.0, but a supported SDK of up to 4.0. That means that I might use methods that can be used on 4.0, but definitely aren't available when running on a 3.0 device. ...

Deploying iphone apps on device for testing purpose

I want my peers or family friends to test my apps for feedback before I deploy it on appstore. Is there some way that I could install it directly from my machine? Thanks ...

Static libraries or anything else

hello, I am trying to hide my source codes in iphone projects. however I didnt understand the static library concept. Most of the tutorials about static library points out that including the whole .xcodeproj . can anybody point out a direction to me please. thanks ...

How do I build apps to my jailbroken iPad?

I have XCode 3.2.2 and am trying to build an app to my jailbroken iPad. I have followed the tutorial to Fake Code Sign Apps here on Multi-Touch forums. On the iPad, I installed AppSync. Still, when I tried to build my app, I got Error Starting Executable No provisioned iPhone OS device is connected. I think next, I'll try Cydia'...

How to make UniversalIndentGUI handle @interface xxx : yyy {} statement properly?

I'm playing with UniversalIndentGUI to format obj-c code as I want it to be formatted. Since i came from .NET world I want to format @interface declaration like @interface ManagedObjectCell : UITableViewCell { } Not like @interface ManagedObjectCell : UITableViewCell { } But i didnt find the option in UniversalIdentGUI to specify...

How to bundle an XCode project and deploy onto iPhone?

Hello, I have created an iPhone application which i want to deploy it onto iPhone device. please tell me what is the procedure to deploy it onto iPhone?Since its an enterprise application, i've paid the respective amount to apple developers to get teh certificate. but which file to deploy , or how to make my full application as a single...