While using the Paypal iPhone SDK that integrates a mobile payment option on the iPhone, I am realizing that to use the SDK you hardcode your PayPalApplicationID into your application during the initialization of the SDK module.
Is there a way to securely store this PayPalApplicationID on the phone? I'm at a lost since keychain isn't...
Hello,
I currently have implemented a third party library into my XCode project. The problem is that there are memory leaks which originate from the library which I found using Instruments.
My question is is it possible to kick off the API function which is leaking in a separate thread using the autorelease pool in order for that thre...
hi guys - hopefully a quick one for someone! I am struggling to see why the code below isn't working. I am trying to get today's date (eg: 2010-09-10) and manually adding the time. It always seems to return 00:00:00 for the time though. any ideas where I'm going wrong?
NSDateFormatter *dateFormatter = [[[NSDateFormatter alloc] init] au...
I want to make iphone apps but do i really need to learn objective c ?
I love Languages like Ruby, Python and PHP. Is it really worth me spending my time learning objective c ( i understand i have to learn c first)? Any advice, help, tips tricks would be greatly appreciated.
Thank you in advance ;-)
...
Maybe I've been looking at this for too long ;) My app has a NavigationController and several ViewControllers. From one of the ViewControllers two levels down (mainViewController), loaded from the rootViewController, I have the code below. After the PushViewController to the dataViewController and back (e.g. back Button pressed), the app...
I have a Mac with Leopard installed (not Snow Leopard). I'm trying to start playing around with iPhone development, so I want to download XCode and the iPhone SDK. I found a version of XCode on Apple's site which runs on Leopard, but it doesn't have the iPhone SDK bundled with it, and I can't find the iPhone SDK anywhere except bundled...
Hi Guys,
I'm looking for some guidance/code-snippets/tutorial on passing some simple data into my app.
I have some data in a text file at the moment.
Name,Age,Weight
Name,Age,Weight
etc, etc,etc
There is not much. It will be read only since i wont need to change it.
How can i go about reading this into my app? What do you recommend? ...
What are all of the symbols in obj-c? Like %@, %d, etc. What do they all mean? Thanks
...
Can someone answer this definitively? It seems that sometimes changing the frame of a UIImageView resizes its image and sometimes it doesn't.
I have loaded an image and created a UIImageView with it, sized about 100x100. Doing the following has absolutely no effect:
myImageView.contentMode = UIViewContentModeScaleAspectFit;
myImageView...
Reference POST:
http://stackoverflow.com/questions/3681003/core-data-basic-questions
I am able to get the Managed object context from this piece of code. It bring me to another question. I have 2 VIEW CONTROLLERS and 1 NSObject
Userlookup (VC)
UserlookupSettings(VC)
FetchProcessor (NSObject)
In sequence, Userlookup vc loads first a...
HI . i am trying to move an UIImageView object with UITouch and have problem with the code how can i implement UITouch to detect only my UIImageView object ?
**imageA it my UIImageView
-(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event {
UITouch *toucheA = [[event allTouches] anyObject];
if ([toucheA view] ...
I am using the EXTAudioFileReadTest app provided in the Core Audio SDK documentation and I'm trying to get all of the floating point values from the mData buffer so that I can draw a waveform with them.
Currently, I'm printing out the floating point values for single channel and this is what I'm getting in the console:
2010-09-10 19:2...
My server is running on GAE (Java), and I'm using Urban Airship service to deliver push notifications. Of course, everything works fine when I use their web-interface to send a test notification, but I'd like to add a test-button to my GAE app/server to have it trigger UA to send the push.
The problem is, all of the examples I've seen ...
Hi All,
I'm using AVFoundation to control the camera in my app and it's working perfectly... up til now.
The images are saved into the library with no problems and all look perfect but when I then upload them to Facebook they're the wrong way round!
This happens whether I upload them from within my app or from the Facebook app on my i...
I have a UITableView that is being populated from an NSMutable array that has 79 entries in it. When I run my app and scroll down the table there seems to be multiple entries in one cell. It seems to happen about a screen height and a half down the table.
For example:
One object in the array is @"Dog" and another is @"Cat". In one cell...
When an iPhone app with GameKit launches, and the device is already logged in to GameCenter, a small message slides in on top of the screen, saying something along the lines of "Welcome back %username!".
What I found out is the following: that message appears in its own UIWindow that eventually slides the message away and releases itsel...
I hope to display the badge info on the row UITableView like the picture shown below
I try to use codes below:
UILabel *labelCell1 =[ [UILabel alloc]init];
labelCell1.frame = CGRectMake(160.9f,10.0f,60.0f,30.0f) ;
[labelCell1 setBackgroundColor:[UIColor
colorWithPatternImage:[[UIImage imageNamed:@"block.png"]
stretchableIma...
Can we use UITableView with 2 rows, one for username and the other one for password. I've noticed..some of the apps seem to be use UITableView in their authentication screen on iPhone. For example, Skype..is it a UITableView with 2 rows? (sorry I couldn't attach a screenshot..)
how can I get this working?
...
Here's my predicament; I'm working on a simple iPhone site (it's a port for my blog). I have this issue; In order for my blog to at least look somewhat nice, I need to put a boarder around every image over a certain size, and then center said images.
The site's content is literally an RSS feed displayed with some simple javascript and ...
I would like to do some iPhone development from my Windows box using the Adobe iPhone packager. I get how to do pretty much everything except creating / obtaining the certificates and provisioning files needed to complete the packaging process. What is the easiest and quickest way to get up and running?
...