Good day,
i have an NSDateFormatter that doesn't seem to like a particular string that i am trying to convert. this particular instance is
2009-10-16T09:42:24.999605
All of my other dates are formatted the same, and can be parsed.
Here is the code that converts the string in the NSDate.
NSDateFormatter *dateFormatter = [[NSDateFor...
I am trying to load a UIView with multiple data. The problem is data is not displays in first load but loads it in subsequent clicks. Can you help me trace the problem.
FirstViewController.h
#import <UIKit/UIKit.h>
@class SecondViewController;
@interface FirstViewController : UIViewController {
IBOutlet SecondVie...
This is a repost from the Facebook developer forums, where no-one has responded yet.
This is what I would like to do:
user touches Connect button
code retrieves session and attempts to resume
if session does not resume, pop up login dialog
pop up feed dialog (after user has successfully logged in)
What actually happens in the case w...
I have the need to create a complex predicate for an abstract base object. I want to have separate predicate queries for different inheriting entities and key off the sub-entity type, the example below is what I would like to do, however, I have not been able to find a way to reference the entity name or type in the predicate.
NSFetchR...
I have always been a bit unclear on the type of tasks that should be assigned to viewDidLoad vs. viewWillAppear: in a UIViewController subclass. For example, I am doing an app where I have a UIViewController subclass hitting a server, getting data, feeding it to a view and then displaying that view. What are the pros and cons of doing th...
I am having problems with my textfield not flowing with the scene transistion. Basically my scene is transition with this call:
Scene* gs = [[[QuestionsScene alloc] initWithPage:2] autorelease];
[[Director sharedDirector] replaceScene: [SlideInRTransition transitionWithDuration:0.5 scene: gs]];
However in my init i have a textfield...
I'm in the process of building a webapp that allows users to view a video podcast. At present, the user can select whether they would like low or high bandwidth videos depending on whether they are connected via 3G or Wifi.
Is there any way that a webapp could determine this? I know of one way that could use the IP of the device to dete...
I cant understand what this warning I get on Xcode is about. Searching for it on google wasn't of too much help. If anyone has come across this warning before, it'd be great if I could get some hints on how I'd be able to get rid of it.
The (updated) screenshot is at:
http://imagebin.antiyes.com/images/0116033001255720169%5F90.png
Tha...
I would like to begin writing ARM assembler and running it on the iPhone. This is not with the intent of using in an app to be released to the app store. Basically I would like to solve problems on ProjectEuler using ARM and the iPhone. Just for hobby and educational purposes. How can I go about doing this? I have not been able to come u...
I have an company asp.net website with textboxes which may contain several hundred words. These display just fine with a vertical scrollbar in Firefox and Safari on a Mac. But on Safari on an iphone (the majority of users will have these) there is no vertical scrollbar. Is there any way of forcing a vertical scrollbar? If not, I gues...
hey guys, this is my first time post here, and im pretty new to iphone programming. i just started about a month ago and have only been tinkering with small tutorial type applications but anyways, heres my question
i currently have a UIScrollView thats scrollable and zoomable, that loads a UIImageView subview, and i want to add in some ...
I have an 3 object hierarchy which has a root as 'Division' that has many 'Group' items and each 'Group' has many 'Employees'.
Division [1]------[*] Group
Group [1]------[*] Employee
I would like to know how to create an NSPredicate to search for all Employees of all Groups of a specific Division, sorted by creation date/time...
So what I need help with is communicating with the iphone via a mac program. I don't want to do complicated stuff, I mainly just want to send the "screenshot" command, much like xcode does in the organizer window, however I want to be able to do my own things with it.
...
Hi,
I am developing an iPhone app where downloading a high quality image from my app server. I am required to resize it to half its size and display it in the table cell. Could anyone help me to find which functions I could use?
Appreciate your suggestions!
...
Hello, I am designing a small webpage targeted for the iPhone/iPod touch. I have a form that requires the user to enter a code. When you tap on the corresponding field, the iphone will automatically set the first letter to caps. Is there any way to avoid this? I want the whole field to be entered in small caps.
Thanks
...
I have a simple mapview that has the following viewdidload method and didupdate to location:
- (void)viewDidLoad {
NSLog(@"in view did load");
[super viewDidLoad];
self.mapView.showsUserLocation = YES;
self.put_url = nil;
locationManager = [[CLLocationManager alloc] init];
[locationManager setDesiredAccuracy:kC...
I'm working on my first app and have a few questions on memory management.
First Question:
I'm working on an intro scene that looks like this
#import "Intro_Scene.h"
#import "Main_Menu.h"
#import "Label.h"
@implementation Intro_Scene
@synthesize logo,label;
-(id) init
{
self = [super init];
if(self != nil)
{
//Load logo image...
Look at Apple's diagram for the server purchase model.
In step #9, how can the server know that it is really talking with an iPhone that is entitled to the purchase, and that Eve is not performing a replay with a dishonestly obtained receipt?
The receipt may be valid, but that doesn't prove that the sender is the entitled party.
Is th...
I want to implement Core Data into my iPhone app. So what is the best way to learn Core Data specifically for the iPhone? I have 4ish hours that i can devote to this today, so ideally I would be competent enough to add this (however slightly) into my app.
The only way i retain data now is through NSUserDefaults, just so that when the ap...
Hi, How do I call a .net web service from an Objective C iPhone app?
...