xcode

How to find out where my memory is going

I've got the situation where the cycle of loading and then closing a document eats up a few Mb of RAM. This memory isn't being leaked as something owns it and cleans it up when the app exits (Visual Leak Detector and the Mac Leaks tool show agreement on this). However, I'd like to find out where it's going. I'm assuming it's some sort...

xcode loading the images in background process, it leads to crash the application when i scroll the tableview fast?

Hi, I have developed an application which has retrieved the information from remote location...so i put those in UITableView's Section.In response, i will be getting images also..for this i put the background process(only for images..because the app will take more time to retrieve images than text based information..).It is working fine....

How to insert a WebView into a cocoa app?

I'm rather new with the whole OSX programming, I wanted to stick a WebView into an empty app. Apparently it isn't as simple as sticking a WebView on a window in interface builder and creating an outlet. IBOutlet WebView *webView; It gives me a expected specifier-qualifier-list before 'WebView' and when I don't use an outlet, it te...

Adding libraries to a project in xcode - symbols not found

I am trying to make an iphone app in xcode that uses pjsip. The problem is I don't know how to link the libraries. This is the first time i am using other libraries so probably i am doing something wrong i just don't know what. :( I have the ARM version of the libraries in this folder in mac os x. /Users/kudorgyozo/pjsip_iphone In Xcod...

data loading - app launching on tableview

hi, i encounter an issue with my application. On one hand when my app launches, the first view displayed is a tableview within a tableviewcontroller. On the other hand my app calls a web service to collect data. These methods are in MyAppDelegate\applicationDidFinishLaunching. The thing is that my tableview is made of custom cells th...

xcode user script - Apple Script - Sort selected lines by length

I need to create a user scripts in xcode where I can sort a selection of multiple lines, by their length (number of characters) I know of this macro variable PBXTextLength, but not sure how to write the script. this is the sort selection script in Xcode: echo -n "%%%{PBXSelection}%%%" sort <&0 echo -n "%%%{PBXSelection}%%%" how can ...

How does one create an elegant iPhone GUI?

This is just one of those things where you feel like your own design is utterly terrible, and that all of the other apps have a beautiful design. This question is just about how you would go about creating a user interface that a user would actually want to use? ...

i cannot set the title for my navigationBar

here's my problem. i couldn't set the name for my navigationBar.. below are some i have tried but to no avail. - (void)viewDidLload { [super viewDidLoad]; self.title = @"Food"; } - (void)viewDidLload { [super viewDidLoad]; [self.setTitle:@"Food"]; } - (void)viewDidLload { [super viewDidLoad]; MyTableViewController *myTab...

Xcode 3.2 says the version of iPhone OS isn't supported when my iPhone OS is version 3.1.3

I just went through the whole certificate/keychain/provisioning/appID/profile/DNA test process to get my app running on my iPhone. Turns out my iPhone OS was out of date (3.0.1 I think), so I updated it. Now it says The version of iPhone OS on “Stefanie's phone” does not match any of the versions of iPhone OS supported for developmen...

xcode 3.2.2, can't see nib design view

I recently updated to xcode 3.2.2 yet now when I click my .xib files, I can't see the view window where I can drag/drop stuff, I only see the inspector panes and can't get the design view to show ...

showing custom menu on selection in UIWebView in iphone

I want to show 2 options like "hi" & "bye" when user completes selection on UIWebView. I have added observer to my view controller as follows. But I don't know further implementation. Please guide me. [[UIMenuController sharedMenuController] addObserver:self forKeyPath:UIMenuControllerWillShow...

Problems using a library in Xcode

Hi! I'm actually developping an application for iPhone and I need to use a library, initially dedicated to a Linux environment. Since I'm using a Mac (with Snow Leopard and Intel Core Duo), I guess it's possible to use this library in my app. My library has 3 files: a file .h, a file .a and a file .so (both .a and .so are in /Developer...

Where do I set my company name?

When creating new source files xcode adds comments with your name and company name. Where do I set my company name for xcode (not the project). ...

How do I get intellisense to pop up?

How do I get intellisense to pop up while I am coding? I know it pops up when I start typing a known type, e.g., if I type NSS it will finish it for me NSString. How do I get it to give me a bunch of options like in Visual Studio, e.g., if I type NS I want to see what my options are like NSString, NSInteger, etc? And if I have not type...

Problem getting size of Website Xcode

When i try and compile I come up with a warning that reads initialization makes pointer from integer without a cast. No clue why. I am just trying to get the size of a website. #import "Lockerz_RedemptionViewController.h" @implementation Lockerz_RedemptionViewController -(IBAction)startLoop:(id) sender { NSData *dataNew = [NSDat...

How can I debug NSManagedObjects in XCode debugger?

Hi All, How do you get to the values of your Entity (sub class of NSManaged Object) when in the XCode debugger? I get lost among the NSObject and _cd_XXX structures. ...

Is there a way to get the magic mouse or MacBook Pro trackpad to work with the iphone simulator?

It seems like the perfect opportunity for the trackpad or the magic mouse to work with the iphone simulator but it doesnt?! Does anyone know how to get it working to allow me to touch and pinch? ...

[iPhone app] Dynamic text field

Hi, I am actually developing a view with a text field that I want to be dynamic. Was dynamic means ? It means, when you type something in it, there is a suggestion list populating beside the text filed. I have already coded that, and it works fine ! Representation of what I have right now : [ text field ] [ OK Button ] [ sugge...

Removing Shine/Gloss effect on the iPhone through UIPrerenderedIcon not working on device

Hello all, I have tried to use the UIPrerenderedIcon/"Icon already includes gloss and bevel" on the Info.plist of my app and it worked perfectly on the Simulator, but not on the real device (iPod touch 2g). I have even tried to uninstall the app from the device, clean all builds but I still got the shine/gloss, that's really ruining my...

Inspecting the refcount of an NSObject in the Xcode debugger on iPhone?

This should be so simple, and yet, it is evading me: When stopped at a breakpoint in the Xcode/gdb debugger, I wish to find the current refcount of an object derived from NSObject. How can I do this? I can't seem to find a way, and it is driving me mad. ...