Hello,
Xcode is doing something bizzare which I at one point in time fixed but now for the life of me I can't figure out what's wrong.
Xcode is building my project fine - no errors on a clean-all build. All my product names and info.plists agree, all the settings appear to be correct. I've only got the one build configuration (I alw...
Hi guys;
I am trying to draw individual pixels in xcode to be outputted to the iphone. I do not know any OpenGL or Quartz coding but I do know a bit about Core Graphics. I was thinking about drawing small rectangles with width and height of one, but do not know how to implement this into code and how to get this to show in the view. Any...
I wonder if, when building an iPhone app for the Simulator, there are special DEFINEs added that allow me to conditionally compile for this case?
If not, I'll have to add my own targets for this case, but I'd rather have an automatic way of detection.
Alternatively, is there a dynamic way to know when my code runs on the Simulator, I m...
I've figured out how to hide the navigation bar and then show the toolbar it has built-in but the toolbar appears at the bottom os the screen how can i position the toolbar on the top of the scren?
here's some of my code
UIBarButtonItem *yesterday = [[UIBarButtonItem alloc]initWithTitle:@"Yesterday"
...
Like Visual Studio, I want the code completion menu to popup immediately after I start typing.
I don't mean the completion inline - I mean I want the same window that popups when you press esc to appear.
Is there anyway of doing this?
...
I am attempting to create a basic tab-bar application using interface builder. I create a new project in Xcode selecting tab bar application.
My question is how can I access the code that instantiates and pushes each of the views when the tab bar buttons are pressed? I would imagine that would be done by the tab bar controller, however ...
I'm trying to make an augmented reality application with a waypoint structure, like Yelp, and I'm wondering how to set up my main view so that it displays the camera view on the whole screen. I've heard of using the UIImagePickerController Class, but I'm unsure how to manipulate the code so that it doesn't actually take a picture, but ju...
E.g. what "Use Core Data for storage" checkbox option means when creating new Window or Navigation based project?
How to add Core Data for Tab Bar Application?
How to initialize managedObjectModel, managedObjectContext, persistentStoreCoordinator?
...
Hi All,
So We have a really old project that is all Carbon. We need to modify the way we open and save files and the dialog code we use is to old, so I wanted to create this new in Cocoa.
How does one create a Cocoa Class that can be called from Carbon?
What Cocoa routines would I use to create open and save dialogs and present them t...
Hey,
I want to converte a CGRect "aRect" of a object in a subview in UITableViewCell in UITable to CGRect with respect to self.view.
The problem is that aRect is with respect to the subview in the table cell.
But i want to make it so that it is with respect to self.view
What i tried is this
rect = [self.view convertRect:aRect.frame to...
How could I set the active build configuration of my current project in xcode with a shortcut? The idea is to have a shortcut to simply change between building for a device and the iphone-simulator. I think this could be easily be done in AppleScript and then integrated into user scripts but since I don't have any knowledge in AppleScrip...
I have a .h when I map all the image files names and xib names with #defines. For example, if I have an image called "buttonBackground.png" I map it in my .h as
#define BUTTON_BACKGROUND_PNG_FILE @"buttonBackground.png"
It's possible to detect when a resource is added to the bundle and create the correspond define with a script?
E...
-objectWithID: is supposed to give me an object that's broken when the ID doesn't exist. The documentation says, that this object throws an exception when I try to access an property.
However, it never throws any. Must I enable exceptions so that they're really thrown?
Here's some code:
// Assume: a new managed object has been created...
Hi, I have a table view with a list of hotel, and i want put in cell.detailTextLabel.text the distance beetween userlocation and hotel. How can obtain the coordinates of userlocation?
I see on web that i need to use CLLocationManager but i don't understand how and where implement in my table view.
Then,to get the distance,i do a "getDist...
I was looking for a quick way to generate UML like documentation for my project when I stumbled across the Quick Model menu item in Xcode. I was wondering if there were a way to export these diagrams in a non-platform-specific file format like png or pdf? Basically I want to take some quick visual diagrams (illustrating component relatio...
Hello,
I'm getting the above error and have been looking at it all day, I'm getting no where fast. Anyone any ideas ? I'm new to IPhone Development. Code Below:
WorkoutAppDelegate.h...:
#import "WorkoutViewController.h"
@interface WorkoutAppDelegate : NSObject <UIApplicationDelegate> {
NSManagedObjectModel *managedObjectModel;
...
Greets. A somehow detailed explanation on my problem, and what I have already done, and what I cannot do.
I want to create a behavior resembling the one in the iPhone's keyboard. Basically, I want a view to appear when the user taps a button and WHILE the user taps that button.
This, I accomplished.
When the user lets go of the butto...
hey guys,
I am testing my app on my jailbreaked iPhone and i noticed something strange.
When i want to uninstall it on device i got no cross to delete the app. All the other apps (not mines) have the white circled cross.
Whereas on the simulator i am able to delete my app.
Is it because i run it on a jailbreak with a codesign workarou...
Is there a way to have iPhone SDK 3 and 4b at the same time?
...
I sent this to KennyTM (has all the private framework headers on GitHub) but I figured I'd ask here too just in case someone has some good ideas or any way to help me out.
I'm trying to write a command line utility that sends GSEvents to operate the keyboard, touch/drag elements onscreen, and operate hardware buttons (volume, home, slee...