Hello,
I'm having some trouble committing records to the database. When I click a button, I download records from the website, the objects are there in memory and everything works fine but these objects are only committed to core data when I actually close the app. Is there anyway to commit them to core data straight away, without havin...
Hello. Here's a block of code that has leaks...
NSString *filename = [NSString stringWithFormat:@"%@.png", sketchID];
CGImageRef imageRef = CGBitmapContextCreateImage(paintView.canvas.mBitmapContext);
UIImage* image = [[UIImage alloc] initWithCGImage:imageRef];
NSData* imageData = UIImagePNGRepresentation(image);
Where are they?
In...
Hello,
I'm confused about when do we use the @class keyword in code? and can we use the class header file instead ...
Any input would be appreciated,
Thanks,
Mohsen
...
Does anyone know how to modify the code Speak Here from Apple. I need to modify it to record streaming audio using Matt Gemmell AudioStreamer classes but somehow I can't find how to select the recording source...
Could you help?
...
I am a newbie in iphone dev, and I am confused by UIViewController.
most program start with a view controller, but I don't know why we need it.
ViewController has a view, but you cannot use the drawRect medthod.
So why not just use View instead of ViewController in places like UIWindow and so on?
I learned that to initialize a View, yo...
Hi,
I have an heterogeneous tableView with an entire section made up of UITableViewCells with a UITextField control on each one's contetView. The problem is that I see text written in textfields being mixed when I scroll.
I've seen many times before this problem and though it's deprecated I solved by assigning a different cellIdentifi...
Hello,
I have been loading view from Nib files successfully using the approach found on this site
[[NSBundle mainBundle] loadNibNamed:@"YourNibName" owner:self options:nil];
The problem is that, because we have to set the File Owner, this nib file becomes "attached" to this view controller. This view is subclass of UITableViewCell an...
I'm trying to detect, in a future-proof and device-independent way, when the address bar in the iPhone browser is showing. This is the toolbar that is shown at the top in order to display the URL. It can be hidden by calling:
window.scrollTo(0, 0)
What I'd like to do, is detect when it's being show (thus reducing the available viewing...
Hi guys,
I'm new to Objective-C, so please don't judge me too much. I was wondering: Is there an equivalent of the C++ STL pair container I can use in Objective-C?
I want to build an array that contains an NSInteger associated to an NSBool. I know I could use an array with each entry being a NSDictionary with a single key-value but I f...
I've sent my iphone application to my testers and all but one complain that the get error OxE8003FFE when they sync their devices. They are not able to install and run the application.
I'm using an ad hoc distribution provisioning profile and all of the testers devices are included in the profile.
I'm not sure how to proceed and would re...
Hi,
I have no idea how to store username and password details so that the user does not have to login everytime for the iPhone app.
Can anyone lead me in the right direction? I can't seem to find what to do.
Thanks!
...
Hi guys, i just started two weeks ago with ObjectiveC and i'm a complete noob so, go easy on me.
I want to load a tableView with the following:
Upcoming Events
.event4 xx/xx/2010
.event5 xx/xx/2010
Pass Events
.event1 xx/xx/2008
.event4 xx/xx/2008
.event5 xx/xx/2008
i'm using Core Data with a fetchedResultsCOntroller. What's the b...
Hey All,
I know this is a silly doubt but I just want to make sure before I implement in this project. Please help....I have a NSDictionary with a string object in it. String is concatenated with 4fields. I am trying to display this string on the Detail View Controller in UITableView on iphone.
For example my String is formatted as foll...
HI,
i am creating an login screen to my iphone application. i am sending the username and password to php using NSURLConnection method. i can successfully send login details to php. My php page returning status values based on the login details.
(status =OK / Fail , redirectionUrl=http://www.balalaa.com)
In DidReceiveData method if i c...
Hello, I'm creating a tab-based app. I want one of the tabs to include the following:
-Have a set of UIButtons
-When you click on one of the buttons it loads a view beneath the buttons
-Each button has a different view
-No navigation controller just load the view on the same page without animation
-Still can click on the other buttons
...
Using iOS 4, what's the quickest way to obtain the user's current location (assuming they grant it to you) and use it to obtain the current weather conditions and forecast?
I'm mainly interested in solutions that don't have any licensing restrictions and don't use APIs that will ban the app from the app store. Many of the other relat...
Hi.
I have to migrate a iPhone application to Mac OSx.
Anybody knows where I can find a equivalence between the iPhone class (lets say UITableViewController) and the Mac equivalent?
Tankes
...
I am learning objective C.I like to know about client/server(socket) programming for iphone.
I went through many answers,but still having many confusion with that flow and working.Can anyone help me out with code.
Thank U!!
...
If you could find a tutorial for an indexed table view based on last name like the "Contacts" app, that would be great. I've search all around but can't find one on last names.
...
I am writing an app that consumes an OData feed and I am creating my proxy which inherits from ObjectContext in a NSThread. The first time a call is made with any execute on the proxy itself or on a query object, the debugger is fine. The subsequent calls fail and it looks like the debugger freaks out. Does any one have any idea of why t...