Coming from the .NET world into ObjC and iPhone development, I'm used to providing design-time support for my UI classes. For example, say that I have a custom button class with a color property. I want to be able to set this color in design time from IB. How can I accomplish this? Is it even possible? Worth the effort?
...
(learning Cocos2D)
After creating a CCLabel and adding it to a CCLayer like this:
//From HelloWorldScene.m
// create and initialize a Label
CCLabel* label1 = [CCLabel labelWithString:@"Hello" fontName:@"Marker Felt" fontSize:10];
label1.position = ccp(35, 435);
// add the label as a child to this Layer
[self addChild: label1];
Ho...
Hey, I'm just looking for some rough guidance here on the feasibility of a project.
I have say a few thousand text documents and I want to create a web based system to serve them up to users in a OS X application.
It's just a tiny aside for my family's small business, so it doesn't need to be amazing at the moment, we just want to ...
Hi everyone,
I have a couple of static Phone/iPad libraries I an working on. The problem I am looking for advise on is the best way to package the libraries. My objective is to make it easy to use the libraries in other projects and include the correct one in a build with minimal problems.
To make it more interesting I currently build ...
I am just waiting for my MacBook to arrive - so at the moment just doing theory, but does Xcode have intellisense like Visual Studio?
...
Good Day!
I want to search a specific string in the array of strings in objective c. Can somebody help me in this regard?
Thanks
...
I'm not really sure why my code is throwing a EXC_BAD_ACCESS, I have followed the guidelines in Apple's documentation:
-(void)getMessages:(NSString*)stream{
NSString* myURL = [NSString stringWithFormat:@"http://www.someurl.com"];
NSURLRequest *theRequest = [NSURLRequest requestWithURL:[NSURL URLWithString:myURL]];
NSURLCo...
hellow All, i am working with a subversion , first time it created from terminal.
Now i want to work with another subversion so can i create the subversion from xcode or again need to design from terminal again ?
Could any one help me in this
Thanks
...
Some one please help me with this. I am developing an iPhone app and have stared with View Based Application. I have buttons on my root view screen to take user to other views with their own nibs and classes. On one of those views I need to display a table getting data from SQLite database and then display detail of the selected item dep...
How hard is it to go from C# and Visual Studio to Objective C and Xcode?
I am currently doing the Stanford iTunes course - any other suggestions?
...
Is there a Google Earth control available in the iPad SDK or someway of having google earth inside my new iPad app?
...
I am using MacBook Pro Mac OS 10.5 with related version of XCode. I am new to this development environment. I want to develop C++ code for a console/terminal-based application using XCode on Mac OS 10.5, but I did not figure out how to create such type of project using XCode. Could anyone briefly describe the steps or refer me to some re...
I'm trying to link to a static library and I keep getting linker errors. I've found a few sites that post examples but I have not been able to see what I am doing wrong.
First I create a project that will link to my lib
add> existing files
find my .xcodeproj file
select "Copy items into destination groups folder"...
Select my host proj...
I've already spent countless hours puzzling over this, utilizing Google searches and other Stack Overflow questions to no avail.
I have an iPhone/iPad universal application, which seems to compile fine when the target is armv6. However, when the device is iPad, I get this warning:
warning: building for SDK 'Device - iPhone OS 3.2' req...
Hi everybody,
I've a problem with Iphone programming... I've a NSMutableArray containing object of type "MyClass". MyClass has some parameters, like NSNumber and NSString.
I've followed the Apple Tutorial about coding and decoding object using NSCoding, but when I try to decode the file I've stored, the NSMutableArray contain object of...
I'm consolidating my Xcode/TextMate setup and is interested in where you put your build dir.
Some years ago I started out having the build dir in the same dir as my xcodeproj file.
However it became a mess when my project became a multi project with a applications and frameworks and tests, so I started using ../build as the build dir, ...
argh, this should be an easy one. How can I set the directory that a MSVC project uses to store source files? I wish to use a directory outside the project dir, As this is a multiplatform project which will also have an xcode directory.
Thanks
Phil
...
I present/dismiss modal view controller with tableview in it. Each presenting/dismissing causes the table to move down, leaving a gap between the table and top of the view. so each time i present after a dismiss, i see my table going down one row-height distance . keeping the routine, the table really 'leaves ' the screen. Please help.
...
I have an iPhone app that's been in development for about 2 weeks. We recently tried the "release" version of the build on a device, and to our great unhappiness, it crashes in one of the views with an "EXC_BAD_ACCESS".
This crash only occurs on devices, and only in the "release" build. Not only that, but it only happens the first time ...
XCode newbie question here: If I'm programming in C++ or objective C, and I #include or #import a library; e.g.
#include <iostream>
#import <Cocoa/Cocoa.h>
I'm often not sure where to look for these header files in the directory structure on my Mac. In other development environments, you can right click the included or imported fil...