Office documents in UIWebView with time difference between dates - iphone

I've been using UIWebView to render office docs for a while, but recently I noticed that when a date is added in the file, let's say an Excel file with a date value in one of the cells, the date is (apparently) being modified by the web view.
The weird thing is that I made a test based on two projects. The first one, is a project that I've been working on for about a year and the second is new one that I created just for testing purposes.
The dates are being displayed correctly in the new project, but wrong in the old project so I'm starting to think is something regarding the project settings. I also copied the classes from the new project to the old one to see if there was a difference, but even using the new classes, my old project shows incorrect(*) dates for the same excel file.... so that's weird.
Any ideas?
Thanks in advance
Update 1:
(*)By incorrect dates, I mean there is a time difference between the one displayed in the test project and the one displayed in the old project for the same file.
I changed the title of the question from "... invalid dates" to " ...time difference between" ... because the word "invalid" may lead to a misunderstanding.

I was not able to understand what the problem was, but the solution for now is to change the visualization component from UIWebView to the QuickLook framework.
I know this is not the correct answer to the question, but at least is a way to display the document correctly.

Related

how to edit or copy data loaded renames of my own published sheet/project in qliksense

This is the first time we decided to use QlikSense. So I am a newbie.
I have developed a sheet for a table report.
I loaded a lot of data and I made a lot of renames on the fields when they are loaded from the database to look pretier for searching in the Analytics tab.
In order to show my progress to my boss I had to publish my work. He wanted to use another type of user. So I published the App, but I lost the ability to edit anything especially the data loading. Unfortunately that means I have to restart my work.
Any suggestions on how to restore my progress?
(It sounds to be an off-topic question probably...because there is no code in here)

Document greyed out in document browser

I tried to build an app based on the Document based app template. I am trying to get it to open markdown files. I got it to create the files and show up in the share sheet when viewing the file in the Files app. However in the Document Browser in the app (UIDocumentBrowserViewController) it is greyed out and cannot be selected. I can't really find what this is due. How do I fix this?
I tried it a second time, still did not work. A few days later however, the second one started working, the first one is still broken.

Batch edit the file creation date

Someone set the wrong date in the camera settings and now has several hundred pictures with 2013 as the year. Is there a way to batch-edit the creation date by decreasing the year by 1?
Thanks in advance
Here you can find 2 powershell script to get & set Exif Date Taken of your photos.
Read carefully what Chris wrote in his blog.
I've used this script for the same your problem on some jpeg before buying LightRoom that do EXIF editing really easy.
I believe you could also use a ComObject in PowerShell Wia.ImageFile to manipulate the information. PowerShell Team wrote a blog post on it here. They provided a module that you might be able to use. I loaded a file and found the DateTaken in the value of "DateTime" under the Properties property of the $image variable, if done as the blog post showed an example of.
I think you could also do this in the GUI of Windows Explorer. I took two files I had taken with a Canon and selected both of them and went into Properties. Under the Details tab I just changed the year value. The month, day, and time staid the same. I did this on two files and it worked, although if you are talking about hundreds not sure how that would perform.

iPhone MoveMe Example - trouble with DisplayStrings

I'm starting to play a bit with iPhone applications and I downloaded the MoveMe example from the apple web page.
I managed to run the app, however I do not get the strings displayed. I noticed that the DisplayStrings.strings file, although it exists in the app folder, does not appear as one of the resources.
I tried adding it as a resource, but then after compiling I get an error saying "copystrings failed with exit code 1". I cannot find anything online regarding what the origin of this problem is...
The file itself is in utf16 (big endian), and contains simply a list of strings separated by new lines.
Any ideas?
Thanks.
I was having the same problem and as a workaround I renamed DisplayStrings.strings to DisplayStrings.data and added it as a resource. I then modified init in PlacardView.m to use the new filename. This made Xcode happy.
I fixed this by adding the DisplayStrings.strings file as a resource. However, when you do this it defaults the type to 'text.plist.strings' which is incorrect, since the file is just text. So, right click on the DisplayStrings.strings file in resources and change the type to 'text'. This solved the problem for me.

How to use Core Data in saving all the details which were stored or displayed in a table view?

I am developing an app which parses an Xml or RSS feeds of a magazine..The thing is I have to include an offline capability,ie save the previous results which were displayed in each cell(similar to the New York times app) and then display the saved ones when there is no network connection..
Please help me with the codewise explanation using Core data as I was suggested to use it for this particular task.
Will be of great help for me..
Looking forward for your replies
Regards and Thanks
Arun
You probably want to start here.
OH Boy... CoreData.
Good bye 3-4 days of learning how this works. You wont regret learning about core data but there is a LOT.
#OhioDude has a great link. You can also.
1. Xcode > file > New Project. Select Navigation Based App, make sure the coredata checkbox is checked. Viola you have a project with all the core data templates.
2. There is other sample code on Apples website.
One of the tricky and cool things about core data is that you if you deploy a new version you have to write a template of how you app is to roll the data into the new structure.
During dev as I am changing the DB structure, I seem to get errors, so I just do a build>clean. And rename the string for the DB file to something new.
Good luck. Otherwise NSUserDefaults will be fine.
Or just learn about PLIST's you can simply serialize a NSDictionarly object into a PLIST and save it to the disk in a few lines of code. SUPER easy and no stuffing around with CoreData.