Can Xcode calculate the value of an expression while debugging?
I mean like MS visual studio, there is a "watch" window, where the debugger can input expressions composed with the local variables, and vs will calculate the value. can similar thing be done also in xcode? how?
...
I tested my app in Instruments. No leaks found, but app crashes (not immediately - after ~20 minutes [depends on user's activity] of working). I viewed Allocations. It reports:
Category | Live Bytes | Count Live | # Living | # Transitory | Overall Bytes | # Allocations (Net / Overall)
Malloc 16 Bytes | 235088 | 14693 | 0 | 235088 | 1469...
Hello,
I syncing the data on my website to my app, I'm using NSXMLParser to do this. The problem is I have all the fields on my database defined as Strings. The sync process works fine when everything is a string, but this is causing me heartache further down the line when I try and use this data for other purposes.
Can anyone help me ...
I am trying to run my app in iPhone Simulator, but it crahes on the start. Moreover, default apps (settings, Safari etc) crash too. Console doesn't show anything except
[Session started at 2010-07-23 13:44:07 +0400.]
Failed to launch simulated application: Unknown error.
and there are no crash logs in /Library/Logs/DiagnosticReports. ...
Hi all,
I have created a simple drag and drop application in which I am sometimes getting this exception msg, displayed in debugger console:
kCGErrorRangeCheck:
CGSNewWindowWithOpaqueShape: Cannot
create window
kCGErrorFailure: Set a breakpoint @
CGErrorBreakpoint() to catch errors as
they are logged.
kCGErrorIlleg...
Hey guys just a quick question:
I have an app, it has multiple view controllers, who have 2 views each. one for portrait and one landscape.
The delegate has all the actions in it.
These are called from the view controllers
The_Ride_Vol_1AppDelegate *mainDelegate = (The_Ride_Vol_1AppDelegate *)[[UIApplication sharedApplication] delegat...
Hey guys just a quick question:
Overview:
I have a basic magazine app, it has multiple view controllers, who have 2 views each. one landscape and one portrait view for visual reasons.
The app delegate has all the actions in it.
These are called from the view controllers using :
The_Ride_Vol_1AppDelegate *mainDelegate = (The_Ride_Vol_...
I'm developing a simple macosx application and it needs to access a remote sqlite database (must be sqlite).
I've been looking for an example on how to do it through ODBC (I don't know if ODBC is the best or easy way).
Does anybody have any idea?
Thanks!
...
Hi
Can any one say difference between the iPhone OS 2+ till 4 and what's the main difference in the OS as well as the development in xcode..
Thanks
...
Just testing something out....I'm trying to get the background colour of my view to switch when I shake it....but only if it is currently a certain colour.
-(void)viewDidLoad{
self.view.backgroundColor = [UIColor whiteColor];
}
-(void)motionBegan:(UIEventSubtype)motion withEvent:(UIEvent *)event{
if(event.subtype ==...
I have an initial table view that I created as the initial menu within my app. Obviously each option will access something different including NIBs. Part of the constants for the menu options is the NIB. When each option is pulled from a PLIST, I also include which NIB I would like to be called upon.
Am I missing something or am I just ...
Hi
May i know y? it shows error like this(following error).may i know what for it shows me like this
GuardMalloc: Allocations will be placed on 16 byte boundaries.
GuardMalloc: - Some buffer overruns may not be noticed.
GuardMalloc: - Applications using vector instructions (e.g., SSE or Altivec) should work.
GuardMalloc: GuardMalloc...
If i want multiple view controllers for aesthetic reasons with 2 views each, what is the best way to call them and dismiss the view for memory performance from the app delegate, say the xibs are called p1 p2 p2 etc
...
Hey guys is there any way when i rotate an ipad split view app that my view could take up the full screen instead of the menu or resize it.
I like the portrait mode with the menu in the button.
How would i go about doing this.
Cheers
...
Just run into a tricky NSFetchedResultsController problem.
The following code works fine in all cases EXCEPT for the very first entry to the Core Data database when it reports 2 rows!
id <NSFetchedResultsSectionInfo> sectionInfo = [[fetchedResultsController sections] objectAtIndex:section];
numberOfRows = [sectionInfo numberOfObjects]...
I've written an unhandled error module for my iPhone app, but for some reason some errors are managing to bypass it.
I have an exception handler and the following signal handlers set:
NSSetUncaughtExceptionHandler(&handleException);
signal(SIGILL, handleSignal);
signal(SIGABRT, handleSignal);
signal(SIGFPE, handleSignal);
signal(SIGBUS...
i want to add bg image to root view so that it will be visible in all views ....
...
I'm working up a game in XCode, and I want to add a helper application that uses the main application's various classes to build the main application's data files.
Specifically:
The main application is a card game.
I want a helper app that uses the classes such as card.m while it creates the deck.xml files for the deck of custom cards t...
hi, I am working on apllication for iphone in xcode 3.1.
I want similar two images to disappear when touched one after other.
I have succeed in displaying two images on iphone simulator on touching
'PlAY' button.
Now i want that when two same images are 'touched' one after another,they should disappear.
Expect code in Objective C.
...
i want to set an image to the back button of navigation controller
...