Hi,
I have this code that can't send a Facebook request until now.
NSDictionary *firstDict = [NSDictionary dictionaryWithObjectsAndKeys:
@"image", @"Type",
@"http://mysite.com/image.jpg", @"src",
@"http://mysite.com/page.html", @"href",
nil];
NSDictionary *secondDict = [NSDictionary dictionaryWithObjectsAndKeys:
@"...
I have a tableViewController/navController setup. I want to tap on the navbar of the navController to force the tableView back to the top row. I can see that the navbar is a UIView subclass, but I am unclear if I need to subclass it and implement the touch sequence methods.
I've build the view hierarchy in IB so I am reluctant to build ...
whenever I try to return the lat/long coordinates for my current location, my application crashes with no explanation of the error...
NSLog(@"%@", mapView.userLocation.location.coordinate);
I am waiting until the phone finds the location as well...
...
I like the plist serialization capability for small collections of objects: it is simple, the storage is XML, etc. But I find setting values in dictionaries cumbersome:
[myDict setObject:keepThis forKey:@"ivar"];
I'd much prefer to use object derived of classes (or even just structs):
myObj.ivar = keepThis
... and then send a messa...
I want to ask about the programmer experience of any developer over Macintosh or iPhone/iPod Touch platforms in selling experience on iTunes store whenever the development has been outside U.S.A.. I'm asking because I'm from Colombia (Latinoamerica) and I have the feeling that apple doesn't offers opportunities to market software from my...
When I fill in the encodeWithCoder: for objective c classes for an iPhone app will it make make the archive file larger if I use long keys as opposed to short keys for all of my variables?
For example if I use really long keys like this:
[coder encodeBool:myBoolean forKey:@"My_Excesively_Long_Boolean_Key"];
will it make the archive f...
I have a UIViewController — let's call it "FormController" — which is simply a form that edits an object. I want to use it in 2 different situations:
Creating a new object — using using UINavigationController's presentModalViewController: method.
Editing an existing object — push the view controller onto the UINavigationController st...
I am programming my first iPhone app (which crashes with an EXC BAD ACCESS error).
I've read a few other similar answers, but still don't have a clear picture of how to fix my code.
Can someone help fix my memory management for the UITableViewCell *cell object in this snippet:
- (UITableViewCell *)tableView:(UITableView *)tableView ce...
Hey Guys,
I am custom drawing cells, how can I hightlight the cells on touchdown
thanks
...
hi
my tableview show like this when i scroll .......will u help what mistake i have done? any help please?if you see that image , the value i have selected in over writing........
http://www.freeimagehosting.net/image.php?fa76ce6c3b.jpg
the code is
(UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPa...
If I want to store 2 strings, and ABContact image (or a variable to call the image) that persist even after restarting the application, which method should I use? NsMutableArray, plist or SQLite?
...
Hello All,
How to Get both inbuilt MPMoviePlayerControl and Custom Control together?
Like i want inBuilt control as well as my custom control on it to play movie next and previous
...
Hi,
i did nothing in following function ,but when i press the cell, the value is altered....
any help please?
(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
{
}
...
how i can put multiple buttons in scroll view with according to my requirement?
...
Working on cs193p (stanford online videos of iphone programming), I am working on Presence1 exercise
I am trying to change a UIView which is a subview of another view dynamically.
For those of you who are not aware of the assignment posted on the course, Basically the architecture of the app is as follows:
Nav Controller -> (Root) View ...
So I have been working on this project for a short while now. I have no problems with reading data from the DB, and formatting it into UITableViews and what not. But now I am wanting also to write to the DB as well. The problem is I keep getting a "Database is Locked" error from sqlite. After messing around with the original version I ha...
I would like to enable my iPhone app's data to sync with Google docs. How can this be done? What other sync'ing options do I have (another one I am aware of is EverNote Sync Server)?
...
Hi
I am using a TTPhotoViewController subclass from the Three20 library for showing images from a web location. The images load up fine but the navigation bar and toolbar show up with the default tint. I am using a nav bar with a custom tint (set in the MainWindow.xib)
I tried these things to get it to show black translucent bars but n...
Hi, I'm using a UIWebView to load an HTML form in my iPhone app.
The form has three submit buttons (and selecting "Go" on the iPhone keypad selects the first submit button).
I'm assuming that I can set a different "default" submit button with Javascript injection into the downloaded form, but I don't know Javascript well.
Does anyone...
I'm using OCMock trying to test the behavior of NSURLConnection. Here's the incomplete test:
#include "GTMSenTestCase.h"
#import <OCMock/OCMock.h>
@interface HttpTest : GTMTestCase
- (void)testShouldConnect;
@end
@implementation HttpTest
- (void)testShouldConnect {
id mock = [OCMockObject mockForClass:[NSURLConnection class]];
...