objective-c

Need a calendar control for iPhone app.

Does anyone know where I can find a ready to use calendar control (open source or library) that looks more or less like the calendar found in the built in iPhone app? ...

Dismiss other popovercontrollers for ipad app

My program has four PopOverControllers. How can I make sure that when i open one of them the other three are closed? ...

iPad frame width and height mixup in landscape

THANKS FOR THE OVERWHELMING HELP HERE. I'VE JUST GIVEN THE BOUNTY TO THE CLOSEST ANSWER BECAUSE I WANT TO START A NEW BOUNTY, SO ONCE AGAIN THANKS IN ABSOLUTE TRUCKLOADS FOR THE TOP QUALITY HELP GIVEN HERE </sarc> I have done what this question said here: http://stackoverflow.com/questions/2647786/landscape-mode-only-for-iphone-or-ipad ...

passing objective c variable to javascript

How to pass a ObjectiveC string Variable to a javascript function? I have just started with javascript.. so plz 4give my ignorance... ...

How to unit-test an internet protocol implementation?

I decided to add unit tests to my project and continue development in a test-driven kind of way. I’m currently working on implementing unit tests for my ManageSieve client object and I’m not sure what’s the best way to test that beast. My SieveClient object relies on two other objects for the network communication: CocoaAsyncSocket and ...

Objective-c: Get file creation date

Hello. I`m really new with objective-c and mac osx programming. I write simple GUI application with button and label. When i press button, label change it text to another text. Now i want to understand how to get file attributes. I have read a lot of topics but can not find simple example. What i need, it is a simple example: window ...

Tutorial for MGTwitterEngine for Iphone

Is there a good tutorial available to use MGTwitterEngine on the Iphone? Call me dumb but I cant figure it out. All I want to do is update the users twitter status through my Iphone app. Basic Authentication is not supported any more. So how do i do this? Im looking for the easiest most simple way available. ...

how to manipulate the keyboard in iphone

hi to all , I want to manipulate the keyboard in iphone . basically want to create the action on the keyboard. thanks advance ...

Risk of using Airplay and MobiOne Studio?

Hello everybody, I would like to know if using Airplay or MobiOne Studio to develop iPhone apps on a PC is actually a viable idea in terms of actual deployment into Apple's App Market. Will my app face the horror that is rejection from the app store or something like that? Didn't Steve Jobs say they will reject apps that are not made us...

KeyDown event and drag'n'drop

Can i capture keyDown event when user drops a file on application icon in the dock? For example, if user drops on application icon some files, that's handle with "method_one". And if user drops on application icon some files and holding the option key, that's handle with "method_two". And all "UI" in this application it's just a dock ...

UITextView with Syntax Highlighting

I've found a question on this already but it didn't have a complete answer to it. Is there a Framework or Library that can do Syntax Highlighting in a UITextView, specifically syntax highlighting (and detection) for Objective-C on the iPhone. Some of my Ideas of how to do this: NSAttrbutedString. Now available in iOS 3.2 and greater...

There is any way to do multi selection in pickerview?

I am trying to set multiple selection for my pickerview does it possible? ...

UILocalNotifications act differently when iPhone is tethered and when it is on battery power

I am developing an application for the iPhone and I am trying to alert the user immediately that something has occurred in my application and I am using UILocalNotifications to do so. The problem I am having is that if the phone is tethered to my development computer and a notification occurs, the iPhone wakes up immediately from sleep ...

Can I save user's drafts using NSUserDefaults?

I am trying to save drafts using NSUserDefaults but I am not sure if it is the right place to save data not user's preferences in. My application allows user to choose 1 or 2 images to upload and share. Users can save draft and come back to upload later. My current approach is to save the chosen UIImage to /Library directory and save t...

iPhone: mechanism for adding and reading app-wide data

Hello friends. I'm looking for a mechanism to add and read app-wide data, something similar to Web.config under .NET. I'm thinking of creating an AppConfig.plist, and in there I'll store URLs to web services, etc. so that these values can be read and used throughout the app. Is this an effective way to achieve what I'm after? Do you g...

uploading images/audio from iPhone to server not able to send big images

Hi, I dont know if it is a problem with my iPhone code or SERVER. I am uploading Image/Audio from iPhone to server using NSURLConnection. The images and audio get uploaded just fine if their size is less than 60KB. If it is more than 60KB, I get a 400 Bad Request response from the server. I am not sure whats happening. I am clueles...

Copy Constructor not called by synthesized property setter in Objective C++ code

We all know how sparsely documented Objective-C++ is. I can't find anything on this, but I'm also finding it hard to find suitable unambiguous search terms. So, Stackoverflow to the rescue (I hope)! I have a C++ class that I have an instance of within an Objective-C(++) class (and I have the project setting enabled for constructors/ des...

Objective-C displaying an array of objects

Hi, I was wondering, how, using objective-c + IB, would I output each object in an array into it's own row in a view. Take for example, Tweetie, say I had an array full of tweets (NSStrings), I would like to output each tweet (or nsstring) in it's own bubble as is implemented in tweetie. I know it's slightly confusing but any help wo...

How do I parse this timezone with NSDateFormatter?

I have a date string like this: 2010-09-04T19:13:00Z But how do I configure the NSDateFormatter to accept this timezone format? I have tried googling and all, but no luck. Thank you Søren ...

Progress bar/spinner not working in cocoa

Hello, I'm using an NSProgressIndicator and it only redraws after the main event loop. The spinner however never starts or stops. I am using the following code to start the progress indicator: [progressIndicator startAnimating]; It is also synthesized, and included properly in the .h and .m files. I have connected it in IB. The c...