Newbie question: is there an easy way to convert a view-based app to a navigation-based app? I have an existing app sample that was created as a view-based app, and need to be able to create additional viewcontrollers that can be nested. The app is currently using presentModalViewController calls and nibs to display windows. Trying to ch...
Hello all,
I've searched the net and documentation, but haven't found anything quite like what I'm trying to do. I'm working on an app where I want to load one view if a UIButton is held for x seconds, another if it's held for x+y seconds, etc. I found this tutorial. The problem I'm running into is, how do I switch the length of the but...
I know about specifying source locations using gdb. But I am wondering if there's someplace in my Xcode project or other settings where I can specify source directories such that gdb would use whatever I specify to look for sources. If I could put them in Xcode settings I think it would help me save them in a central place.
...
Hi,
For each course I am storing the day of the week the class the user has...and the start and end time and room no.
What would be the best approach in terms of data type, Like for storing time?? so that when I pull it out I can display it e.g 1:00 PM.
Thanks!
...
Hi all,
I want to do a simple task with XCode and AppleScript:
I want to create a new project
Save created project with desired name in desired folder.
Can someone tell me how can I achieve it using AppleScript??
Thanks,
Miraaj
...
i installed and setup all the certificates, provisions , etc. and selected the did what was needed in the project edit page. i have the device in the usb and once i build i get this error.
The iPhone “myname” doesn’t have the provisioning profile with which the application was signed.
i have tried everything, read tutorials and what ...
http://www.freezpic.com/pics/d63adbfb5faec3ded732dcfee5cc71ef.jpg
in the image one i can enable red arrows inside the inner square ...
http://www.freezpic.com/pics/736e30ef1accf1d174122f2e1b017b8d.jpg
but in the second image i can't enable red arrows inside the inner square.
why?
...
Hi,
Could somebody please help me get Clang up and running? (I don't have 3.2)
I've followed numerous tutorials (basically every link off of this page http://stackoverflow.com/questions/961844/using-clang-static-analyzer-from-within-xcode) but I just cant get it to work!
The only thing I've managed to do successfully so far is downloa...
Hello,
I would like to know if there are any automated ways to bump up the version number of an xcode project?
I was using Jeweller with Ruby which has really nice command line option to bump up the version number on a project. The option were major, minor, or patch. X.X.X
Is there any similar (semi-)automated way to bump a version nu...
Hi everyone,
I would like to make a subview appear at a requested point on screen. ex: i tap at (200,200) , my subview appears with animation under the point tapped. i know how to get the point , but I don't know how to make this subview appear right there at that point.
Thanks!
...
Trying to get MGTwitterEngine app to build. Getting one pesky error. The following ERROR.
ld warning: in /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.0.sdk/usr/lib/libxml2.dylib, missing required architecture i386 in file
ld warning: in /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.0.sdk/usr/lib/lib...
Hi.
Not being able to find the answer, and also not being able to do what I want with
CGSize searchBarSize = self.searchDisplayController.searchBar.frame.size;
searchBarSize.width = ;
I ask: is there a way to change the width of a UISearchBar?
Tanks a lot.
...
So if I have a store of parents children and the parent has a one to many relationship to children (parent.children) and they all have first names. Now, on the initial fetch for parents I can specify a sort descriptor to get them back in order of first name but how can I request the children in order? If I do a [parent.children allObje...
My code is as follows
TTTableLongTextItem *descItem = [[TTTableLongTextItem alloc] autorelease];
TTStyledText *styledDesc = [[TTStyledText alloc] autorelease];
styledDesc = [TTStyledText textWithURLs:@"howdy http://www.google.com"];
//this line causes the SIGABRT:
descItem.text = styledDesc;
//I also get a warning on this line that say...
In Apple's The Objective-C Programming Language: Defining a Class the section named "Redefining self" recommends that that class methods allocate and return instances use 'self' only to allocate an instance and then refer only to that instance. Thus, I have a number of subclasses, that have class methods along the lines of:
+ (id)scroll...
I have tried everything to fix this provision problem and nothing is working. I've reformated my Mac, reinstalled the iPhone, I've also dragged the provisions (developer and distribution) onto the Organizer, iTunes, and Xcode.
In iTunes people say to drag the provisions to the iPhone icon but that doesn't work; it's only able to go unde...
Noob here: Been working on a project which is essentially one of those so-called soundboard apps, tap a button for a sound. While successfully managed to draw the buttons to rotate correctly in all orientations, I've been unable to combine with AudioServicesPlayAlertSound for the sound effects. Been working with InterfaceBuilder and ever...
I have a UINavigationalController of which I've set the titleView to a UISegmentedControl.
Later on, if I do something like.
[self.navigationItem.titleView setEnabled:NO forSegmentAtIndex:0];
I get a warning saying that UIView may not respond to this message. Of course it does and works fine but how do I properly get rid of the warni...
Is there a way to create custom collapsable code regions in Xcode similar to how Visual Studio can fold around #region/#endregion blocks?
It would be nice to throw all autogenerated content into a region that I can fold away until I need to look at it. #pragma mark doesn't seem to do the trick.
...
Im getting this linker error that won't let me compile. It only happens on the simulator.
KEY POINTS:
- Happens only in simulator
- Similar to THIS question, but found no FRAMEWORK_SEARCH_PATHS in my .pbxproj file
- Though my OS is 10.6.2, I had to build target 1.5 to avoid other linker errors
- libxml2.dylib IS required and is in my ...