objective-c,ios,xcode,file-upload,nsdateRelated issues-Collection of common programming errors


  • Brock Woolf
    objective-c cocoa cocoa-touch nsstring
    I have an NSString like so:@”200hello”or @”0 something”What I would like to be able to do is take the first occuring number in the NSString and convert it into an int. So that @”200hello” would become int = 200.and @”0 something” would become int = 0.

  • Bartosz Ciechanowski
    objective-c lambda objective-c-blocks continuations structured-programming
    When using methods which return blocks they can be very convenient. However, when you have to string a few of them together it gets messy really quicklyfor instance, you have to call 4 URLs in succession:[remoteAPIWithURL:url1 success:^(int status){[remoteAPIWithURL:url2 success:^(int status){[remoteAPIWithURL:url3 success:^(int status){[remoteAPIWithURL:url2 success:^(int status){//succes!!!}];}];}]; }];So for every iteration I go one level deeper, and I don’t even handle errors in the nested

  • Rakhe Kara
    ios iphone objective-c cocoa-touch
    Actually this crash is not reproducing every time, even not frequently but we got this crash in our production app. I am not sure where is the problem. It is telling crash is happening in thread 4 in Environments class line number 38.Code:NSBundle* bundle = [NSBundle mainBundle];NSString* envsPListPath = [bundle pathForResource:@”Environment” ofType:@”plist”];Line 38: NSDictionary *environments = [[NSDictionary alloc] initWithContentsOfFile:envsPListPath];But according to exception type:00000020

  • Musterknabe
    ios objective-c
    I have the following problem. I have a Model, called User. When the user now logins with Facebook, my app checks if the user exists already in the database. To not freeze the UI (since I’m coming from Android) I thought to use NSURLConnection sendAsynchronousRequest. What worked at first was the following:My User Model had a method to do the whole task of the AsynchronousRequest and then when finished would set a variable to loading. Then other classes, could simply check with while ( !user.loa

  • Josh Bradley
    objective-c sockets bsd-sockets
    Ok, I have a problem with building a socket using Objective-C. If you’ll take a look at my code below, through help with example code and other sources, I was able to build a complete socket I believe. The problem is that when I compile it, it builds fine (no syntax problems), but there are no sockets being created. As you’ll notice I’ve commented out a lot of things in Server2.m and have isolated the problem to the very beginning when I create the struct for the listeningSocket. By the way, if

  • Todd Ditchendorf
    objective-c xcode frameworks compiler-errors parsekit
    I am trying to add the Parsekit framework to my OSX Xcode project. I’ve never added a 3rd party framework before and I can’t get it to work right.I dragged the included Xcode project into my ‘Groups & Files’ pane and chose to Add it to my project. I then dragged Parsekit.framework underneath the Link Binary With Libraries heading. Then I double-clicked my target app and added Parsekit as a Direct Dependency. I also added libicucore.dylib as a Linked Library (as it says to do this on their si

  • zioolek
    objective-c cocoa nsimage pgm
    Hi everyone! It is my first post here.I am quite new in objective-c so maybe my question is not so hard but It is a problem for me. I’ve searched the web and didn’t find any useful hints for me… I am writing a program in Objective-c in Xcode. I need to read and display a pgm file (P5 with two bytes per pixel). To do that i’m trying to subclass NSImageRep but I don’t know how to create a proper bitmap for this file and how to draw it. Below is my code so far:header:@interface CTPWTPGMImageRep :

  • Oliver
    iphone objective-c uiscrollview
    How can I force a UIScrollView in which paging and scrolling are on to only move vertically or horizontally at a given moment?My understanding is that the directionalLockEnabled property should achieve this, but a diagonal swipe still causes the view to scroll diagonally instead of restricting motion to a single axis.Edit: to be clearer, I’d like to allow the user to scroll horizontally OR vertically, but not both simultaneously.

  • Elwisz
    objective-c osx cocoa nsdocument autosave
    I have a NSDocument based OS X app which instead of creating new documents with a blank page shows a panel to the user to chose a template from, like for example Apple’s Pages.app does.I made this by manually creating a new NSDocument instance when the user starts a new document and immediately setting a property on it to reflect which template the user has chosen for it:MyNSDocumentSubclass *newDoc = [sharedDocumentController makeUntitledDocumentOfType:fileType error:&err]; [newDoc setTempl

  • Kanwar Singh
    iphone objective-c json ios6 afnetworking
    I have webservice in java. and i am posting JSON by AFnetworking but its not working when i user below codeNSURL *url = [NSURL URLWithString:@”http://localhost8080/webservice/usersprofile/”]; AFHTTPClient *httpClient = [[AFHTTPClient alloc] initWithBaseURL:url]; // don’t forget to set parameterEncoding! httpClient.parameterEncoding = AFJSONParameterEncoding;NSDictionary *params = @{@”id”:@”12″,@”firstName” : @”Tested”, @”lastName”:@”User”,@”email”:@”[email protected]”,@”age”:@”25″,@”addLine1″:@”T

  • Daniel
    ios memory-management xcode5
    I am new to Objective C so this code is probably not written that well. When the app is launched, it calls the following code if it has not been saved into the phone yet. When it starts to loop through the while loop, the app crashes on any phone the is not the iphone 5s. I think this is due to the memory usage. I believe that inside the while loop, when the NSMutableString (movieTitle) is created, is where the memory spike is. I should also add that the amount of times the loop is iterated is a

  • user2541100
    ios audiounit
    I am playing sound file(.caf) that play and make sine waves like audiounit and augraph works. It is playing fine and showing sine waves perfectly in simulator. But when i run it on iPad it is not working(no sound and no waves).I have tried many things but nothing works. But i do analyse one thing that when i run it on simulator Bool value is Stereo is Yes.But when it runs on iPad is Stereo becomes NO and number of channels becomes 1 from 2.Any help would be appreciated.My code is -static OSStatu

  • Kara
    ios xcode core-data memory
    With my App I have a pre-populated sqlite DB that I created using core data from another app I created so the Data model is the same. I copy it over and everything works great. I tried it on every iOS device that can run iOS 6.0 because that is what I am building for. Even on the early iPod Touches the App works. It takes around 45 secs for the DB to copy over on the older devices. The app works all the data is there and all devices the tests were great and no issues. I released the app on

  • Ricardo Cerqueira
    ios xcode crash cocos2d adhoc
    my app runs fine on development mode, but for some reason on ad hoc i get a crash right after loading screen.I really can’t understand what could be wrong, any tips on how to test it better?Apple rejected it with this message:We found that your app failed to launch on an iPhone 5 and iPad 3rd gen running iOS 6.1.3, on both Wi-Fi and cellular networks.We encountered the issue when selecting the application on the Home screen – the app displayed a launch image then quit unexpectedly. This may be b

  • zakishaheen
    ios crash google-analytics crash-reports
    I get the following crash (0x8badf00d) because of something to do with Google Analytics SDK 1.1. What’s also strange is that iOS killed it in just 1 second?I initialize the tracker like this:[[GANTracker sharedTracker] startTrackerWithAccountID:kGANWebPropertyID dispatchPeriod:kGANDispatchPeriodSec delegate:self];Here is the crash logIncident Identifier: 5459E916-5306-408A-A630-F405DFD97711 CrashReporter Key: 20ac546c31144c5f86de428ce3332012ab604d49 Hardware Model: iPhone3,1 Process:

  • raulCab
    ios
    I am building an app that send data when the user enters in the background. It also uses geofencing. When the user enters or exits a geofence I call an API. Sometimes when I open the app from the background it just shows a black screen and it is completely frozen. I have to kill it and start it again.I think the issue is when I call the API when the user enters the background. In the applicationDidEnterBackground I am calling a method call createJSON:NSData *jsonData = [NSJSONSerialization data

  • Rakhe Kara
    ios iphone objective-c cocoa-touch
    Actually this crash is not reproducing every time, even not frequently but we got this crash in our production app. I am not sure where is the problem. It is telling crash is happening in thread 4 in Environments class line number 38.Code:NSBundle* bundle = [NSBundle mainBundle];NSString* envsPListPath = [bundle pathForResource:@”Environment” ofType:@”plist”];Line 38: NSDictionary *environments = [[NSDictionary alloc] initWithContentsOfFile:envsPListPath];But according to exception type:00000020

  • Sean Freitag
    ios xcode xctest
    When running integration tests w/ live requests against a server, sometimes I get the following crash. Does anyone have an idea why?I’m currently on OS X Mavericks and running these tests on the iOS 7.0.3 SDK and Jenkins.2014-01-23 14:55:47.178 xctest[74229:303] 200 <- https://site/30012.zipjson?deltadate=2014-02-22T16%3A31%3A56.000Z&encrypt=N 2014-01-23 14:55:47.186 xctest[74229:303] GET -> https://site/30012.zipjson?deltadate=2014-02-22T16%3A31%3A56.000Z&encrypt=N 2014-01-23 14:5

  • Musterknabe
    ios objective-c
    I have the following problem. I have a Model, called User. When the user now logins with Facebook, my app checks if the user exists already in the database. To not freeze the UI (since I’m coming from Android) I thought to use NSURLConnection sendAsynchronousRequest. What worked at first was the following:My User Model had a method to do the whole task of the AsynchronousRequest and then when finished would set a variable to loading. Then other classes, could simply check with while ( !user.loa

  • Ben L.
    ios core-data crash game-center gamekit
    I have an iOS app that consistently crashes when you try to delete a GKTurnBasedMatch using [match removeWithCompletionHandler:^(NSError *error){}];When the completion handler is called, error is nil, meaning that it successfully deleted the match. The match does get deleted (it never re-appears), but at the same time, gamed (the background daemon written by apple that communicates with GameCenter servers) crashes. Here is what I see in the Console when I delete a game:Jan 19 20:47:22 Ben-L-iPho

  • Dragos Rizescu
    xcode osx crash lldb
    I’ve only started using Xcode from this morning, although I have it for a while now. Anyway, for working mostly on C projects I used Netbeans…To make a long story short, I noticed this morning, right after creating my first project, an OS X C Command Line Application, that when running (CMD + R) my project, Xcode crashes right after building it. It crashes exactly when it’s running the project. It doesn’t give any error message, the program just quits. As I am new to Xcode, I have no idea wher

  • Shekhar Gupta
    iphone xcode terminal
    Is there some way by which I can use Xcode only to organise my code and not display errors at the time of compilation? I want that the error messages and the output get displayed in the Terminal instead. I am a college student and am learning how to program in C. I really want the error messages to be displayed in the Terminal, as they are shown there in a fairly cryptic manner, instead of the user friendly manner which is there is in Xcode.

  • Anna Kuznetsova
    xcode clang osx-mountain-lion configure
    on MacOSX 10.8.5, after upgrading to Xcode 5.0.2 (and upgrading/installing the Command Line Tools (from within Xcode preferences) I was installing FFTW 3.3.3 and Open MPI 1.6.5 by configuring them from the sources. I get the same type of error in both config.log files in the configure step, which shows the problem is not with the programs as I downloaded them from the official websites. In short, the first error I see in the both logs is:configure:3750: checking for gcc configure:3766: found /us

  • Kara
    ios xcode core-data memory
    With my App I have a pre-populated sqlite DB that I created using core data from another app I created so the Data model is the same. I copy it over and everything works great. I tried it on every iOS device that can run iOS 6.0 because that is what I am building for. Even on the early iPod Touches the App works. It takes around 45 secs for the DB to copy over on the older devices. The app works all the data is there and all devices the tests were great and no issues. I released the app on

  • Ricardo Cerqueira
    ios xcode crash cocos2d adhoc
    my app runs fine on development mode, but for some reason on ad hoc i get a crash right after loading screen.I really can’t understand what could be wrong, any tips on how to test it better?Apple rejected it with this message:We found that your app failed to launch on an iPhone 5 and iPad 3rd gen running iOS 6.1.3, on both Wi-Fi and cellular networks.We encountered the issue when selecting the application on the Home screen – the app displayed a launch image then quit unexpectedly. This may be b

  • user3443321
    ruby xcode osx github
    Using OS X 10.9.2 MavericksI have troubles installing the github-pages gem. I need to install Xcode first, but that results in an error. I tried to install Xcode using the command: xcode-select –install. The dialog box displays three options: Download Xcode, Not now, Install When I select ‘Install’ and after select accept, the process begins and stops after a while. Displaying that the software is not available on the update server. When I select ‘Download Xcod’e, App store launches and I can i

  • user2024621
    ruby xcode gem llvm-gcc
    My development stack has been completely turned upside down since I’ve done the Apple last update of March 11, 2014, and I try to fix it bit by bit. Right now I’m stuck with the following error when I try to install the gem glib2:$ gem install glib2Building native extensions. This could take a while…ERROR: Error installing glib2:ERROR: Failed to build gem native extension./Users/ymesserl/.rvm/rubies/ruby-2.0.0-p451/bin/ruby extconf.rbchecking for -Wall option to compiler… yeschecking for –

  • Sean Freitag
    ios xcode xctest
    When running integration tests w/ live requests against a server, sometimes I get the following crash. Does anyone have an idea why?I’m currently on OS X Mavericks and running these tests on the iOS 7.0.3 SDK and Jenkins.2014-01-23 14:55:47.178 xctest[74229:303] 200 <- https://site/30012.zipjson?deltadate=2014-02-22T16%3A31%3A56.000Z&encrypt=N 2014-01-23 14:55:47.186 xctest[74229:303] GET -> https://site/30012.zipjson?deltadate=2014-02-22T16%3A31%3A56.000Z&encrypt=N 2014-01-23 14:5

  • Todd Ditchendorf
    objective-c xcode frameworks compiler-errors parsekit
    I am trying to add the Parsekit framework to my OSX Xcode project. I’ve never added a 3rd party framework before and I can’t get it to work right.I dragged the included Xcode project into my ‘Groups & Files’ pane and chose to Add it to my project. I then dragged Parsekit.framework underneath the Link Binary With Libraries heading. Then I double-clicked my target app and added Parsekit as a Direct Dependency. I also added libicucore.dylib as a Linked Library (as it says to do this on their si

  • emkman
    ruby xcode gcc osx-snow-leopard couchbase
    My goal is to install the couchbase ruby gem by building the native extensions, but I am having what seems like an architecture mismatch between the gem and the libcouchbase C library. Here is some background:I am running OS X 10.6.8, using rvm, and ruby 1.9.2-p320 built from source I was running OS X 10.6.7 and Xcode 3.2.5 up until yesterday but I was unable to build libcouchbase natively I then installed brew which is known to help ease the libcouchbase install, and brew told me I needed to up

  • Arturas M
    java servlets file-upload upload webpage
    well I’m trying to upload a file to my servlet from the web interface. I’ve been using Apache Commons FileUpload by following a tutorial and integrating it into my servlet. Somehow I can’t manage to get the file uploaded.Here’s my form in the web page:<form class=”well” action=”GenTreeUploader” method=”post” enctype=”multipart/form-data”><label>Choose your file:</label><center><input type=”file” class=”input-xlarge” name=”wordfile”></center><br><cente

  • Tapas Bose
    java jsf file-upload jsf-1.2 swfupload
    I have seen that we can upload multiple files by flash file upload. Like SWFUpload or YUI Uploader. Is it possible to integrate these upload component with JSF?What I want is to choose multiple file at once. Primefaces file uploader has this feature, but that don’t work in IE7 as IE7 don’t have any support for HTML5. I need to create a Form with various fields, like dropdown menu, text input etc and also need to add a file uploader for choosing multiple file. When the JSF submit button will be c

  • Christophe_Dumonet
    spring file-upload multipart
    I got a form belonging to a web app that contains a “file” field to upload a pdf file.( spring 3 environment, multipart file upload) Uploading file works fine in test environnement (all browsers), and only works with Firefox in production environment (file upload cause connection reset exception with low internet connection client browser especially) The following exception is thrown a few seconds after submit button is pressed : ( browser is IE/Chrome running in windows environment but not Fire

  • mF4d
    php codeigniter file-upload
    for the past hour I’ve been cracking up to solve this problem. I’m quite new to Codeigniter.I made a page that will upload certain file types. It works fine in my local development but not in production. It won’t pass the do_upload() function. Nothing is displayed beyond that.$path = ‘uploads’; echo ‘path: ‘. $path .’ <br>’; //– config for uplaod — $configUpdload[‘upload_path’] = $path ; $configUpdload[‘allowed_types’] = ‘gif|jpg|png|xls|xlsx|pdf’; $configUpdload[‘max_size’] = ‘4000’

  • user2626445
    java php android file-upload
    I am calling uploadFile on item clicked.gridView.setOnItemClickListener(new OnItemClickListener() {@Overridepublic void onItemClick(AdapterView<?> parent, View v,int position, long id) {ImageItem item = (ImageItem) parent.getAdapter().getItem(position);Toast.makeText(MainActivity.this,item.getAddress(),Toast.LENGTH_LONG).show();uploadFile(item.getAddress());}});Here is the method UploadFile which does uploadingpublic void uploadFile(String sourceFileUri) {String fileName = sourceFileUri;Pr

  • InnocentKiller
    android video file-upload
    I am trying to upload video file to server when recording of video get finished. I am setting video.mp4 as default file name of video while starting recording and storing inside SD-card. After recording get finished on button click event i am renaming video name and trying to upload it to my server. But unfortunately i am getting error. My app is not stopping unfortunately or anything but when i check on server video file is not getting updated, in logcat i got below error.01-29 12:52:41.116: E/

  • InnocentKiller
    java php android audio file-upload
    I am trying to upload audio file to server when recording of audio get finished. I am setting audio.mp3 as default file name of audio while starting recording and storing inside SD-card. After recording get finished on button click event i am renaming audio name and trying to upload it to my server.But unfortunately i am getting error. My app is stopping unfortunately, in logcat i got below error. 01-30 15:08:58.452: E/Debug(1686): error: /storage/sdcard/filetoupload/1391074738276.mp3: open fail

  • vjy
    java spring file-upload
    I have a Spring application where user uploads big files (more than 300 mb). In local, it’s working perfectly fine. However, when I try to use my application in Live, most of the time it fails (some times it gets succeed though). Here is the log from console. Can anyone help me to how to get rid of the error. I am using JQuery Chunk file upload functionality. Server is Tomcat 6.17:02:28,395 DEBUG SessionFactoryUtils:793 – Closing Hibernate Session File Path:/home/borneind/ty/uploads/7397758850/2

  • Tiny dragons tail
    android file-upload multipart retrofit
    In my project, I’ve got to send an image taken from android device to server site, where it should be stored on disk. Unfortunatelly, when I call the method on the device site I meet this error::26:26.995: DEBUG/Retrofit(4429): java.lang.RuntimeException: Unable to write multipart request.at retrofit.mime.MultipartTypedOutput.buildPart(MultipartTypedOutput.java:86)at retrofit.mime.MultipartTypedOutput.addPart(MultipartTypedOutput.java:49)at retrofit.RequestBuilder.setArguments(RequestBuilder.j

  • sandeep
    android audio file-upload audio-recording android-mediarecorder
    I am trying to upload audio file to server when recording get finished. I have set CurrentDate and Time as audio file name as you can see that in below code.private String getFilename() {String filepath = Environment.getExternalStorageDirectory().getPath();File file = new File(filepath, AUDIO_RECORDER_FOLDER);SimpleDateFormat sdfDate = new SimpleDateFormat(“dd-MMM-yyyy hh-mm-ss”);String currentDateandTime = sdfDate.format(new Date());if (!file.exists()) {file.mkdirs();}return (file.getAbsolutePa

  • Ruben Roy
    objective-c nsdate nscalendar nsdatecomponents
    I am trying to get the start and end dates of the current month. There are a few similar questions here, but I am getting unexpected results while using them. Here’s what I did:NSDate *monthStart,*monthEnd; NSCalendar *cal = [[NSCalendar alloc] initWithCalendarIdentifier:NSGregorianCalendar]; NSDateComponents *comps = [cal components:NSDayCalendarUnit fromDate:[NSDate date]]; [comps setDay:1]; [comps setHour:0]; [comps setMinute:0]; [comps setSecond:0]; monthStart = [cal dateFromCom

  • Mike Weller
    ios nsstring nsdate nsdateformatter
    I am using the following code to convert an NSString to an NSDate:+(NSDate *)dateOfDateTimeString:(NSString *)string {NSDateFormatter* dateFormatter = [[[NSDateFormatter alloc] init] autorelease];[dateFormatter setDateFormat:@”yyyy.MM.dd_HH:mm aa”];[dateFormatter setTimeZone:[NSTimeZone systemTimeZone]];NSDate *date = [dateFormatter dateFromString:string];NSLog(@”try to convert string: %@ to date: %@”, string, date);return date; }However I am getting unexpected results:2012-06-14 22:26:59.208 Mo

  • Ben
    ios objective-c cocoa-touch nsdate nsdateformatter
    In short words I plan to get current dateTime, change the time and make it local to Malaysia Time by applying +0800 to timezone.The result is unexpected :-(NSDate *)departureDateTime {NSDate *date = [NSDate date];NSCalendar *gregorian = [[NSCalendar alloc] initWithCalendarIdentifier: NSGregorianCalendar];NSDateComponents *components = [gregorian components: NSUIntegerMax fromDate: date];[components setHour: 7];[components setMinute: 59];[components setSecond: 17];NSDate *newDate = [gregorian dat

  • rickharrison
    iphone nsdate nsdateformatter
    I am trying to do some basic operations with Dates on the iPhone. I want to take a string like “2010-02-19” and turn it into a string like “Friday, Feb 19.” The strings I will be receiving will always be in 2010-02-19. Right now, I am running the following code that works, but it produces a warning that says “NSDate may not respond to +dateWithNaturalLanguageString:”NSDate *date = [NSDate dateWithNaturalLanguageString:scheduled]; NSDateFormatter *df = [[[NSDateFormatter alloc] init] autorelea

  • rmaddy
    ios objective-c nsdate
    I’m new to ios programming.I’m trying to get the date of death by the code below. But, I get the unexpected result.In the example code below, someone’s birthdate is 1899-12-31 and this person’s death age is 80.So, I’m expecting this person’s deathdate is 1979-12-31. But, the result I get is 1843-11-05 08:31:44 +0000.Could anyone please tell me what’s wrong with this code?Thanks!!NSInteger year = [_selectedDeathAge intValue]; NSLog(@”%d”, year); //80NSLog(@”%@”, _selectedBirthDate);//(NSDate)1899

  • Nathan Hughes
    objective-c nsdate nscalendar nsdatecomponents
    how do I set an existing NSDate’s time?That is I have a date (say current date/time), but then want to set this to a specific time (e.g. 11.23am) say. What is the quickest way to do this in objective C?I’m looking at NSCalendar and see methods such as dateByAddingComponents:toDate:options:, and dateFromComponents:, but these don’t seem to quite hit the mark for what I need here. For example:dateFromComponents: – I would have to work out all components for this to work which seems like overkill

  • mhbdr
    objective-c nsdate nscalendar nsdatecomponents nstimezone
    I’ve been using NSCalendar and NSDateComponents to return the difference (in days) between 2 dates. Here’s the code I’m using to get that.NSCalendar *calendar = [NSCalendar currentCalendar]; calendar.timeZone = [NSTimeZone timeZoneForSecondsFromGMT:0];NSDate *todayDate = [NSDate date]; NSDateComponents *comps = [calendar components:(NSYearCalendarUnit | NSMonthCalendarUnit | NSDayCalendarUnit) fromDate:todayDate]; [comps setTimeZone:[NSTimeZone timeZoneForSecondsFromGMT:0]];NSDate *today = [cale

  • Newbee
    ios objective-c nsdate dst nsdatecomponents
    As per our application specification, we need to schedule call for conference, while I scheduling I have been facing problem with Day light time difference. This is the case: US day light time changes on Nov 3 this year, when I schedule a call for eg: 5 P.M on Nov 4, that time I am converting into GMT and send to server. If I convert that GMT time its giving 4 P.M Nov 4, instead of 5 P.M. Even though its correct only, however as per user perspective he scheduled for 5 P.M not 4 P.M, so how to ha

  • mmvie
    ios nsdate nsdateformatter nscalendar nstimeinterval
    I have the method below to format a duration (in seconds) to a string of the format @”mm:ss”. Whenever the particular value of 60 is entered, this method behaves unexpected:duration = 59 -> @”00:59″ duration = 60 -> @”59:59″ (expected @”01:00″) duration = 61 -> @”01:01″The method:+ (NSString *)formatDuration:(NSTimeInterval)duration { NSDateFormatter *durationFormatter = [[NSDateFormatter alloc] init];[durationFormatter setDateFormat:@”mm:ss”];NSCalendar *calendar = [NSCalendar currentCalenda

  • iDev
    iphone objective-c ios nsdate
    NSDate *date = [NSDate date]; NSDateFormatter *dateFormat = [[NSDateFormatter alloc]init]; [dateFormat setDateFormat:@”MM/dd/yyyy”]; NSLog([@”today is ” stringByAppendingString:[dateFormat stringFromDate:date]]); NSLog([@”firstBirthdayDate is ” stringByAppendingString:[dateFormat stringFromDate:firstBirthdayDate]]); NSLog([@”secondBirthdayDate is ” stringByAppendingString:[dateFormat stringFromDate:secondBirthdayDate]]); if ([firstBirthdayDate isEqualToDate:secondBirthdayDate])NSLog(@”First date

Web site is in building