When creating the app store distribution certificate in the certificate assistant, do I enter my name in the Common Name field, or the company name?
This page says, "In the Common Name field enter your Company/Organization/Department name" while the add certificate area of the portal it says "In the Common Name field, enter your name"
...
For iPhone developemnt, I have a CALayer with some image contents, when a button pushs, I want to remove the contens from the layer, and use this code:
[m_aCellLayer setContents:nil]
but I get EXC_BAD_ACCESS exception when running to line above, any Idea?
Thanks
...
having these code:
mainLyr = [[CALayer layer] retain];
[mainLyr setFrame:CGRectMake(0.0,0.0,23.0,23.0)];
in debugger, I found that after retatin, the refcount of mainLyr is 2, this is correct.
but after setFrame, the refcount increased to 3, why? and how to determine if a method will increase or decrease the refcount (can not find tha...
I've reached a point were I can't keep procrastinating the writing of the graphics part of an iPhone app.
What has kept me from digging into it so far has being that it feels hard to figure out how to realize my idea of having "glowing", "sparkling" effects on some lamps. I used to be good at such things back in the days of the Amiga sc...
I'm learning iPhone programming from Erica Sadun's The iPhone Developer's Cookbook. When I run the app I created by following the steps in the Temperature Conversion Example starting on page 81 in the simulator, it terminates due to an uncaught exception. (See http://groups.google.com/group/iphonesdk/browse_frm/thread/6f44a90fdb8da28a?...
I'm looking to stream some audio files I have on my server to an iPhone-client application I'm writing. Some of the audio files can be rather large in size, even after compression. My question is, is there a Cocoa framework that helps me with buffering the audio so it becomes available to the user while the rest is being brought down the...
I have an iPhone app that's shipping (vConqr - you should go and buy it :-) ).
I build the project on several different machines, including a colleague's, and it's been working fine.
However, just recently, on my second dev machine my build fails every time with the error:
/Developer/Library/Xcode/Plug-ins/CoreBuildTasks.xcplugin/C...
It is possible to write the whole dictionary to a property list object, but I would like to make my application more efficient by only writing out the parts of the property list that have been modified.
Say I have a property list with several dictionaries under the root node. I would like to modify one dictionary and save it, but writin...
I am looking at the EAGLView files from the apple iphone sample code and I am trying to understand how EAGLViewDelegate protocol
Note: I have pasted the relevant code
EAGLView.h
@protocol EAGLViewDelegate
- (void) didResizeEAGLSurfaceForView:(EAGLView*)view;
//Called whenever the EAGL surface has been resized
@end
@interface EA...
Hi,
AVFoundation.framework is not where the documentation says it should be. I have iPhone SDK 2.2 installed (never had previous sdk versions installed) and I can't find that folder under /System/Library/Frameworks
I did find it under /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS2.2.sdk/System/Library/Frameworks/
folde...
I have an application with a view containing several subviews. The subviews did not implement any touchesbegins logic. The Superview implemented all touchesbegins logic and manipulated each subview respectively if it was touched (determined by hit testing).
I have since been converting my subviews to layers. My problem now is that ...
Hello all,
I have created a sample application using the iPhone SDK that uses ExtAudioFileOpenURL from the AudioToolBox framework. I have a test.mp3 audio file in my app's document folder. When I tried to open this audio file using this API I received EXEC_BAD_ACCESS. I couldn't figure out why.
Here is a code snippet:
NSArray *arr = N...
I read the SDK document, but can not understand some detail, need some help.
for the touchesEnded:
-(void)touchesEnded:(NSSet*)touches withEvent:(UIEvent*)event
1) what's the difference between touches and [event allTouches]?
2) If user release one finger, but still other fingers on screen, does the later event still contains the fing...
My app needs to play some audio files and I want to fade-out the iPod sound, play my file, and then as soon as my audio stops playing fade-in iPod again (just like iPhone handles iPod music when an incoming call comes in)
I'm setting up my app's Audio Session to be kAudioSessionCategory_MediaPlayback and then just before I play my file ...
I'm collaborating on an iPhone application, with the project files (.xcodeproj directory) checked into source control. One important setting is the "Code Signing Identity", which specifies the certificates to use to sign the application in order that it can run on the iPhone.
Each developer on the project has his own Code Signing Ident...
I know it might not be according to Apple's human interface guidelines for the iPhone, but I want to get rid of one level of pushing views and have a list of editable text fields. Further, I want the keyboard to be on screen from start when the view appears.
The problem is that when I have more than three such fields then the pop-up key...
After peeking at the SO source, I noticed this tag:
<link rel="apple-itouch-icon" href="/apple-touch-icon.png" />
Which after a quick Google revealed an Apple "favicon" type thing for display on your homepage ("WebClip Bookmark" to be exact).
The only other one that jumps to mind is the:
<input type="search" results="5"/>
This t...
Is there a method built in to NSString that tokenizes the string and searches the beginning of each token? the compare method seems to only do the beginning of a string, and using rangeOfString isn't really sufficient because it doesn't have knowledge of tokens. Right now I'm thinking the best way to do this is to call
[myString comp...
After a review of the iPhone SDK documentation, I have not yet found a way for an application to be written such that it can programmatically process the content of an incoming SMS message within the iPhone platform. The idea would be for such an application to be running in the background and based on specifically formatted SMS messages...
I've been looking for a while how to play sound on the iphone, and I think it's something along the lines of:
[[NSSound soundNamed:@"cat.mp3"] play];
But the NSSound is on the AppKit ... any suggestions ? I know there is a really simple answer to this, but today my searches are not rendering any result ...
...