Hello all,
We have a program developed for Windows, the business layer is in pure C++ without any Windows related stuff(e.g CString) and we plan to migrate it to IPhone.
What I'm thinking is that we can use the exisiting code (with little changes if needed) and use Object-C to develop a UI. Is this idea possible?
Best regards,
Zach
...
Hi All,
My problem is that i wish to capture the text that is displayed in the
console of Xcode when an application is executed and display it in a
text box in my App.
If i override NSLog i can just capture the explicit NSLog commands
that are issued in the course of the program. However many statements
that are just inserted by the com...
I have two custom objects, "Phrase Book" and "Phrase", the Phrase Book has an array of phrases, and each phrase has a Title, Description (and a whole lot of other properties / methods). In otherwords:
PhraseBook.Phrases (NSArray) =>
Phrase (Subclass of NSObject) {
Phrase.Title = "Phrase Title",
Phrase.Description = ...
Hi,
I'm having an immense amount of trouble figuring out how to populate a Grouped UITableView with custom UITableViewCells. Could anyone point me towards a tutorial on how one might do this? Or does anyone have an example of what a cellForRowAtIndexPath method would look like when creating a Grouped UITableView with custom UITableViewC...
Hi All,
I want to compare all the strings entered in a textview of iphone. Once the user finishes with typing in textview I want to compare strings entered by the user.
How do I do it?
Please help
...
I have a table view that is populated by objects in an array. I want to give the user the option to delete table entries. I was wondering if it would be easier if I used NSDictionary instead of NSMutableArray? How do you know when to use NSDictionary instead of NSMutableArray?
...
These both work in my app without any noticeable difference:
1)
theArray = [[NSMutableArray alloc] initWithArray:[NSKeyedUnarchiver unarchiveObjectWithData:theData]];
2)
theArray = [NSMutableArray arrayWithArray:[NSKeyedUnarchiver unarchiveObjectWithData:theData]];
[theArray retain];
However, are they really equivalent? (1) has an...
I have a property declared as the following:
@property(assign) BOOL die;
One thread continuously checks if it should die by looking to see if that variable has changed to YES. When that die is set to YES (by a user clicking a button), the other thread that is grinding away still sees it as NO. I've put careful traces through the code ...
I made a Class that has several NSStrings as properties. If I have an object of this class, then how can I know if the object is nil (i.e. all the NSString properties are nil).
My class looks like this
// MyClass.h
#import <Foundation/Foundation.h>
@interface MyClass : NSObject <NSCoding> {
NSString *string1;
NSString *string2;
}...
What are the memory management checks that XCode does ?
...
Hi i am not able to add uiactivity indicator in uitableview controller, can someone help me out
I am having a table view controller now on click event of cell in table i want to display activity indicator because on click event of cell it takes 3 to 4 second of processing , so i want to display activity indicator at that time but whe...
When to use attributes and What is the purpose of each attribute?
...
I want to do an i-phone application for broadcast audio LIVE over the internet..Anyone please guide me...
...
I added a subview to my application. The view controller is a UITableViewController. When I open the .xib file I see the table, but I can't drag a navigation bar onto it. So once the user enters the view, they have no way of getting back to the previous screen. What can be done?
...
Hi,
I want to call a function in my application on a specific time without any alert or notification to user, how can i do this if the application is closed?
any ideas?
Thanks in advance
Inam
...
Hi,
I want to convert html to pdf dynamically in objective c.
what is the best way to convert it, so that it maintains its look same as html.
Thanks in advance.
Prasad.
...
Hi Guy's
I need a help from your side.
Actually I am playing an Audio using AvAudioPlayer and I need to record the playing audio while playing at the same time if anyone speaks while recording it should also record it.Can anybody please give me suggestions to go front.
Thanks in advance,
Monish.
...
HI guys,
Here is some code
NSString *uid = [[UIDevice currentDevice] uniqueIdentifier];
gameUniqueID = [uid hash];
NSLog(@"gameUniqueID %d",gameUniqueID);
NSLog(@"&gameUniqueID %d",&gameUniqueID);
The output is
gameUniqueID -1386422508
&gameUniqueID 1386832
Whats going on here? I though they would be the same.
...
Is it possible to add a navigationController to a view application that inherits from UIViewController and not UITableViewController? How is it done?
...
I love the shorthand handling of string literals in Objective C with the @"string" notation. Is there any way to get similar behavior with NSNumbers? I deal with numbers more and it's so tedious having [NSNumber numberWithWhatever:] calls everywhere. Even creating a macro would work, but my knowledge of how best to do that is limited.
...