I'm inspecting a WCF request message in order to implement part of the WS-Security standard to have iPhone <-> WCF intercommunication (I'm using certificate security over basicHttpBinding).
After reading the standard xmlenc-core I could decrypt both the SignedInfo and the Body tags, but I see 16 bytes at the beginning of both unencrypted...
I have created a 800x1200 context using this line:
CGSize sizeX = CGSizeMake(800, 1200);
CGLayerRef objectLayer = CGLayerCreateWithContext (context, sizeX, NULL);
over this context I have a CGLayer that is 2250x2250 pixels.
This layer (objectLayer) is drawn using something like
CGRect LayerRect = CGRectMake(0,0, layerW, layerH);
CGC...
I notice that the default data type for texture coordinates in the OpenGL docs is GLfloat, but much of the sample code I see written by experienced iphone developers uses GLshort or GLbyte. Is this an optimization?
GLfloat vertices[] = {
// Upper left
x1, y2,
// Lower left
x1, y1,
// Lower right
x2, y1,
// Upper right...
Here is a question for all you iPhone experts:
If you guys remember the sounds that modems used to make, or when one was trying to load a program from a cassette tape – I am trying to replicate this in an iPhone for a ham radio application. I have a stream of data (ASCII) and I need to encode it as AFSK at 1200 baud. So basically everyt...
Now that it's public knowledge that App Store submissions are being tested for use of private APIs, I need to ask the question... what exactly is a private API so that I may avoid them?
...
I'm experimenting with ViewControllers & NavigationControllers in Interface Builder trying to get a better grasp of what's tied to what and why... I'm struggling with a scenario that has confused me. Hopefully someone can set me straight...
Say I start with your typical iPhone template View-Based Application and I display a view which i...
I have image in png file like this. I load it and draw in drawRect method. Can I change colors of image in Core Graphics or Quartz on iphone? I want to have red football ball, not black. Can I do it?
...
In the desktop Mac world, if I were to click on a link in a web page which linked to a VCF file, this file would be opened in the Address Book application. In the iPhone world, however, doing that results in the message "Download failed. Safari cannot download this file" being displayed. So, my question is, is it actually possible to a...
I'm rotating it like this:
[rotationView.layer setValue:value forKeyPath:@"transform.rotation.z"];
wrapped in a UIView animation block with beginAnimations... and commitAnimations.... Basic stuff.
That view contains a stack of three other views which are rotated also. It's a clock, basically.
What happens: When the superview of all...
Hi,
I have a data store of events, however I only want to show events that occur in the future.
I have a field denoting the date of the event of type NSDate.
How do I filter events that have an NSDate * date time in the past?
Thanks
NSFetchRequest *request = [[NSFetchRequest alloc] init];
NSEntityDescription *entity = [NSEntityDesc...
I have a UIViewController, and I've added two subviews to its view. One subview is the view of a UIViewController. The other subview is a UITextField.
I need to dismiss the keyboard for the UITextField when the user touches the other view, but I can't figure out how to detect those events. The UIViewController's tableView catches the...
Can I optimize a Core Data query when searching for matching words in a text? (This question also pertains to the wisdom of custom SQL versus Core Data on an iPhone.)
I'm working on a new (iPhone) app that is a handheld reference tool for a scientific database. The main interface is a standard searchable table view and I want as-you-t...
Hello,
i want to shift images trough the app, maybe like in the album or something similar, so that i can watch one image after the next,...
how would you program that?
Such a kind of sliding would be nice
...
How can i use web services and also connect to the server in iphone?
...
Hi all,
In my iphone application I put a UITabBar (not using UITabBarController) in the bottom and put four TabBarItems(created IBoutlets -so that i'm able to track which item is selected), How can I set 1 TabBarItem is selected when the view is loaded (by default).
Thanks in advance
Shinto
...
i'm creating a login for my application which is in table view.On success i want to load the table view and on failure load another view.. should i use two appdelegates or one would be sufficient? how do i switch controls..? thanks in advance..
...
Hi,
I have used the MFMailComposeViewController to send the generated report(csv).
Now mail is sent to To:email id, & but when i checked the mails i did received the mail but attachment was not there.
Then I also tried MailComposer example :
https://developer.apple.com/iphone/library/samplecode/MailComposer/index.html
in which the p...
Hey,
My function won't add any entry to my existing sql database. Any ideas?
sqlite3 *database;
sqlite3_stmt *compiledStatement;
if(sqlite3_open([databasePath UTF8String], &database) == SQLITE_OK) {
NSString *tmpSQLStatement = [NSString stringWithFormat:@"INSERT INTO data (test) VALUES ('teststring');"];
const c...
I want to convert NSDate to NSString?
How 's that possible?
I tried this , but it didn't work (generating Exception) :
NSString *dateToString=[[NSString alloc] initWithFormat:(NSString *)dateObj];
Thanks in advance...
...
In the CocoaXMLParser class of Apple's CocoaXMLParser example, the following code appears:
rssConnection = [[NSURLConnection alloc] initWithRequest:theRequest delegate:self];
[self performSelectorOnMainThread:@selector(downloadStarted) withObject:nil waitUntilDone:NO];
if (rssConnection != nil) {
do {
[[NSRunLoop currentRun...