After getting pretty far along with a jQTouch web application for our website, my boss and I decided we may as well just make a true iPhone app instead of struggling with sloppy flickering animations and login authentication issues. We currently have a fully functional web site with some SOAP web services, but we are looking at rewriting...
Hey,
I'm building a multiplayer game app. The user will be have to connect to the intenet to use the app.
I want to force the user to update the app if there is an update avilable on the app store, or he can't log in and play. Is there an API for what user's version? Also, will Apple agree to this like that - you must have an updated ap...
Is there a way to detect that an active application obtained via shared workspace
(NSWorkspace.sharedWorkspace().activeApplication()
is a browser (without running through the list of browsers and comparing to its 'NSApplicationName' and then extract its url (current tab) in ObjC?
Alternatively, would I be more successful using Python'...
A customer of mine is reporting error "kCFStreamErrorDomainSSL error -9844" when trying to connect to a particular location using "stunnel" - is anyone familiar with this error or knows where I can find more information? Google turned up nothing.
...
what would be the if statement to check to see if an entity attribute (sqlite table) had some data in it? I've been trying this:
if (recipe.image != nil) {
do something
}
thanks
...
I am making an IPhone app in which
userid and password is required in
all the screens to make requests to
the server, and I am thinking of
saving those 2 values in
NSUserDefault instead of passing an
object around.
I am also thinking it will be useful if user has logged in once,
and use the app again then user
don't have to ente...
Can someone show an example of this in objective-c? I have the addressbook framework and mail core to get the inbox. I don't know how to have it keep checking for new messages and notify when a message comes in with a specific subject.
Elijah
...
Here is the code:
- (id)copyWithZone:(NSZone*)zone {
ExecutedOrderInfo* copy = [[self class] allocWithZone:zone];
copy.executedPrice = self.executedPrice;
copy.executedQuantity = self.executedQuantity;
return (id)copy;
}
The question is, is it necessary to release "copy" in above code? Or release it when someone called...
I googled but there's no answer... I have tried etags but I wonder if there's any more equivalent. Thanks.
...
What I want to do: layout text using NSLayoutManager and set its NSTextContainer to the width of the widest string (glyph-wise) in an array of strings.
What my problem is: The methods for determining the total 'glyph-width' seem to be incorrect because when I render the text it wraps.
I did an experiment using a 32 character string wit...
I want to be able to add additional classes to my iPhone app without having to go through the 7 day update process. It is like Consume by Bjango where they can update the providers and fix urgent issues without going through Apple's process.
The code I need to upload needs to be its own class. This way I can add additional services (lik...
I create new "Window-Based" project in xCode and a subclass of UIViewController name Main View, colour MainView with blue. In My App Delegate i have method:
- (void)applicationDidFinishLaunching:(UIApplication *)application {
// Override point for customization after application launch
mainViewController = [[MainView al...
Hello,
How would I, in objective-c, make it so only strings with a-z characters were allowed? I.E. no & characters, no - characters, etc.
Thanks!
Christian Stewart
...
Hey all,
I have a bunch of NSStrings like this....
{
"score" = 15;
"serial" = 8;
}
What is the best way to extract the values out of this string using "id" and "score"?
...
How does one build a directory of 'Spots' for users to check-in to in a native iPhone app? Or, does the developer borrow data from, let's say, Google Maps?
...
hi,
I want to create a new PDF file from the existing pdf document.That is I have one pdf file say "old.pdf" and from that user can select some pages and from those selected pages I want to create new pdf file say "temp1.pdf". Is it possible to create "temp1.pdf"? Plz help me and also provide some code example to do that.
Thanks.
...
I am retrieving value from NSFontPanel,which changes the font family,style of Text. But I want only Font Style and color separately that I have selected from NSFontPanel.
i am not getting how to get that.
NSFont *font =[fontmanager selectedFont];
string =[font fontName];
st = [font pointSize];
color =[TextEntered textCol...
I have a four byte char array and I want to convert it to double. How can I achieve this in C.
...
Hi, everyone,
I have a question about the objective C. I am writing the iPhone application and I want to app which can also run on iPad. Is there are some change do I need to do? As I set the element in code rather than using the Interface builder. Do I need to reset the x,y,width and height for the application? Thank you very much.
...
Hi,
I am developing an application where I took button actions on detail view of split view.On clicking the button actions modal view will open.Now I need to call viewWillAppear delegate of detail view where I took button actions on dismissing modal view.
How to do it??
...