I am trying to find a good tool for iphone/objective-C to generate class diagram to code. I want it to be flexible to change and modify the diagram so that I can separate that diagram to many smaller ones.
That means, I can show some parts of the viewcontroller interacting with model classes. It will be easier to understand and get cha...
Hi All,
I developed a complete application using xcode 3.2.2 and now want submit it to app store.
Before that I need to compile it using xcode 3.2.3 for iOS 4.0.
I opened the xcode 3.2.2 project in Xcode 3.2.3 and tried to run on device with OS4.0, It gives me an error..
"Error from debugger: The program being debugged is not bei...
Hello,
I use premake to build solutions for Visual Studio and Xcode. Does anybody knows the equivalent environment variables in Xcode for Visual Studio $(ConfigurationName) and $(SolutionName)?
Thank you
...
Hi,
I'm working on an iPhone app which needs to have the function to reveal an image after some actions.
For example:
I have 2 UIImages on top of each other. The UIImage on the back is the image to reveal. The UIImage on top needs to cover this image. I need a method that I can tell to reveal the image. So if I call the method, and le...
Is there anyway of moving common tasks like uncommenting code (I see I can only do it for a limited selection of things like refactoring etc) onto the main GUI as a button - much like visual studio's buttons?
...
Hi,
I use asserts quite a bit in my code since they are useful in debugging, but the standard behaviour of Cocoa applications is to interrupt processing and logging the assertion failure to the console.. the UI stays up neither crashing, nor bringing up an error dialog and it's often not obvious what has happened.
What's the easiest wa...
I'm trying to make a ad-hoc beta distribution of my app, but get this error whenever I try and import it into iTunes:
'A provisioning profile named "embedded.mobileprovision" already exists on this computer. Do you want to replace it?'
If I click Replace, the profile named embedded.mobileprovision appears in the iTunes profiles folder,...
Hi All,
I want to develop a native universal app(i.e for iPhone and iPad) for my orgaization.I want to include some of the essential features of the organiztion website into my native app.For obvious reasons i cant store this huge data into iPhone itself.so data will be fetched from the server but application would be a native app.so ar...
-(void)setMedicineList:(NSString*)btnText:(NSString*)kana:(NSString*)skana
{
if(mdcnList != nil)
{
[mdcnList release];
}
mdcnList = [[MedicineList alloc]getMedicineList:btnText:kana:skana]; // Memeory leak
[medListView setMdcnList:mdcnList];
[btnText release];
//[mdcnList release]; // Not work
}
How to r...
I have what I believe is a fairly simple application at the moment based on a few tutorials cobbled together. I'm using XCode 3.2.3 in OSX 10.6.4. It started as a standard iPhone "Window Based Application". Using interface builder I have added a Tab Bar Controller using the O'Reilly video tutorial here:
http://broadcast.oreilly.com/2...
I need to draw a few hundred lines and circles on my view and they keep moving through a timer function, where I call [myView setNeedsDisplay] to update the view.
I subclass (myView) from UIView and implement drawRect function to do the following ...
-(void) drawRect:(CGRect)rect {
CGContextRef context = UIGraphicsGetCurrentContext(...
Usually I use gdb backtrace to debug my application, but recently I can no longer do it when testing on iPhone simulator. The blue gdb word stops being displayed on console, and nothing happens when I type "bt" or "backtrace". I can still build and debug properly on the device though.
My XCode version is 3.2.3. Is there any way to manua...
So in my XIB I have a few graphics that need to reveal in order.. say every one second, the next thing will reveal..
I assume I am going to need something involving viewdidload, starting an NSTimer, then animate the revealing of my graphics with the timer. Can anyone please drop me a few ideas, hints or lines of code to get started?
Tha...
Hello,
I have a ViewController with a number of fields. One of these fields is a text box, I want the user to be able to tap on the text field and be presented with a table view where they can select from a pre-defined list and their selection will then be filled in the text box. Can anyone point me in the direction of a tutorial or som...
Hi,
I'm writing an app in XCode 3.2.3 for iOS 4. In my code, I am creating an NSArray of NSDictionaries, each containing two key/value pairs, a string and an NSArray of NSDictionaries (kind of confusing, I know). Just to give you a visual, here is the structure:
<NSArray>
<NSDictionary>
<NSString/>
<NSArray>
...
I have a method to generate a Deck object (NSObject subclass with an NSMutableArray property) and it populates the array with Card objects (UIView subclass with some integer and one NSString property). When I ask for a Deck I check to see if one already exists (I think) and if so, release it before getting a new one.
The code from my v...
I have a splitView Application that has a rootViewController and DetailsViewController
When the application loads the detailsViewController pops a Modal viewController that contains a UINavigationBar.
The UINavigationBar has a search bar on it (set programatically). When focus is brought to the search bar the keyboard pops-up.
However...
Hi experts,
I am trying to find memory leaks from my Xcode project. I don't know, what happened - I can't select anything from Run->Run with performance tool - the list of things are disabled.
Please help me, I am a beginner.
...
I like to keep a store-bought version of my iPhone apps on my phone so that I can reproduce any customer issues that come up, but I obviously also want to run the most current development version. I can install both (one from iTunes, one from xCode) but I'm interested in ways that I'm better able to tell the two apart. I could just chang...
Hey guys.
Right now in my application, I have a TTButton.
I am setting the color of the TTButton initially using stylesheet like TTCatalog.
it's like
[TTStyleSheet setGlobalStyleSheet:[[[CustomBadgeButtonStyleSheet alloc] init] autorelease]];
[code for initializing ttbutton here];
And then there is a class called buttonStyleSheet
in t...