Having wrestled with NSPopUpButton in a previous question here I am now trying to place a NSPopUpButton inside an NSToolbar. Essentially I want to create something similar to what XCode has by default on the left hand side of it's toolbar. E.g. a pop up button with an action button next to it.
I have seen a method that show's a programm...
I develop an application for MacOSX.
Therefore I want to change indication contents by the language locale (English, Spanish, etc.) of the application user,
How to get information which language use ?
I'm happy , If you give me some example codes
...
Hi everybody,
just a short one:
This morning i tried to uninstall my xCode 3 since I needed to free some
disk space. Anyways, I found that the documented uninstaller:
/Developer/Tools/uninstall-devtools.pl
simply does not exist.
spotlight and locate could'nt find it either.
Is it sufficient just to drag the folder to the waste bin?...
Hi, my System library in Interface Builder contains no image or sound resources etc.
I am currently using the iPhone 3.0 SDK. If you have any idea what I can do to get the default media for Interface Builder it would be appreciated.
I am using the Snow Leopard Developer Preview incase this makes a difference.
...
I am developing an application and trying to use an peer-to-peer communication. i have idea about bluetooth and WIFI.
Is their any other options for peer-to-peer communication. Is it possible using Internet option.
Please help me with a source code or any documentation?..
...
XCode's CVS support is abysmally bad. Or maybe it's just the server in my organization. Either way, it's leading to more headaches than it's worth so I'd like to "detatch" the project as I can in Eclipse. Is there an easy way to do this or do I have to manually delete all of the CVS files?
...
After the recent update in xcode I seem to have lost all the template for cocoa touch and iphone templates. Under Cocoa Touch Classes in the new file dialog, I only have 3 choices:
Objective-C class
Objective-C test case class
and UIViewController subclass
where did the others go? UITableView, UInavigation etc.?
I am running xcode 3....
Probably something simple, but I can't figure why I cannot resize a UIView in a xib in Interface Builder.
I created a new view XIB in xcode and in the size inspector, the width and height are disabled and grayed out to 320 by 460. This is strange since I can change the size for the other two views (associated with the other two tab bar...
I have a UIImageView object that when clicked it will play a animation, I want to reuse the same code to make multiple objects. How do I set the sender tag so it knows its a different object?
- (IBAction)startClick:(id)sender;
- (IBAction)startClick:(id)sender
{
//UIImageView *theButton = (UIImageView *)sender.tag;
bubble.anima...
Code in the book Beginning iPhone Development (by Dave Mark & Jeff LaMarche) assigns to the UITableViewCell text property:
UITableViewCell *cell = ...
...
cell.text = ...
This assignment brings up a "'setText' is deprecated..." warning. What should I use as an alternative?
Also, how do I open the long URL in the warning (in Xcode) w...
I have a method that accepts a sender and is called with a UIbutton. How do I get that object to casted into a UIImageView? Basically how do I re-use the code for the button.
- (IBAction)startClick:(id)sender {
button.animationImages = [NSArray arrayWithObjects:
[UIImage imageNamed:@"Pic_1.png...
I started using Core Data for iPhone development. I started out by creating a very simple entity (called Evaluation) with just one string property (called evaluationTopic). I had following code for inserting a fresh string:
(void)insertNewObject {
// Create a new instance of the entity managed by the fetched results controller.
NSMana...
Here i am developing an application which uses peer to peer connection. i am able to communicate using WIFI and Bluetooth connection. i.e a devices with in a same local network are able to communicate with each other.
Is it possible to communicate online using Bonjour service or any other option for online communication.
Please help ...
I've been following Apple's documentation on writing unit tests for the iPhone, and out of the box, the routine doesn't seem to work. I'm not sure I understand where the unit test is going to get the reference to the application delegate.
My Dependencies are like the following:
My_Program_target -> UnitTesting_target -> UnitTests_bundl...
Excuse my ignorance, but something's been bugging me about the Xcode debugger when running iPhone applications in the iPhone Simulator.
Sometimes, when I mess something up in Interface Builder, I get an unhandled exception at runtime and I get thrown back to Xcode. The only thing I see is a single line "uncaught exception" or something ...
I am writing a number of static libraries for the iPhone and wish also to have suites of unit tests. XCode 3 provides templates for both static libraries and unit tests but I am wondering how they should fit together in a static library project?
In my static library project I have created a target for unit testing but expect to also cre...
iPhone resources by default show up in a "Resources" group that's visible in the main xcode project view. I want to be able to put them into an actual, physically separate directory at some arbitrary location on my machine decided by me. Interestingly enuf, the default "Classes" group is an actual, physical directory but the "Resources" ...
I have an iPhone app that heavily relies on the OpenCV library; as such, I've compiled a static version of this library for inclusion with my app. The instructions for doing this are relatively straightforward: Using OpenCV on iPhone. The only gotcha I ran into was setting the linker flag, STANDARD_C_PLUS_PLUS_LIBRARY_TYPE to "standard...
I've used Clint Harris' tutorial to set up code sharing between projects, and everything works just as expected on my computer. But on my co-worker's machine, it seems the compiler doesn't find the header file from the static library project when he builds.
My co-worker got my project by cloning a git repository. We've gone through all ...
I have a complex question which may be very simple for you guyz.
I have a
NSMutableString = "This is spinach";
I have 3 Booleans. Please ignore the code. I havent used proper syntax,functions.
if (boolA) appendstring"and apples";
if (boolB) appendstring"and mangoes";
if (boolC) appendstring"and oranges";
every boolean cor...