File type handling is new with iPhone OS 3.2, and is different than the already-existing custom URL schemes. You can register your application to handle particular document types, and any application that uses a document controller can hand off processing of these documents to your own application. For example, my application Molecules (for which the source code is available) handles the .pdb and
I plan develop one web application with PSGI/Plack. (probaly with Dancer, but not decided yet). The applicatiion should be utf8, multilingual (with Locale::Maketext) and (ofc) will contain some statical pages in the given language. My idea is deploy it in different language domains like en.example.com, de.example.com etc. The application itself is simple, mostly will only fill templates with local
I have a simple app loading a site optimized for the iPhone in a UIWebView. Problem is, caching does not seem to work: [webView loadRequest: [NSURLRequest requestWithURL: [NSURL URLWithString: url] cachePolicy: NSURLRequestUseProtocolCachePolicy timeoutInterval: 60.0]]; Any things referenced in this remote page (css, images, external javascript files) never get cached (the requests never send a If
Sascha's answer got me on the right track. Merging a compiled .mom file from a static library into the .mom file from a host project was relatively simple. Here's a trivial example: Create a new XCode Static Library project called MyStaticLibrary Create an .xcdatamodel file in MyStaticLibrary called MyStaticLibraryModels.xcdatamodel, add some Entitys, then generate the headers and implementations.
I use git but we see the same issue - if two people add files there's a merge conflict. Usually the editing is very easy though. Simply go into the project.pbxproj file with a text editor, and look for the merge conflict section - usually this is marked by something like : >>>>>>> Stuff 1 ====== Stuff 2 <<<<<<<< In 99% of Xcode project merge conflict cases, you simply want to accept both sides of
This is a good use case for Objective C categories. For Base64 encoding: #import <Foundation/NSString.h> @interface NSString (NSStringAdditions) + (NSString *) base64StringFromData:(NSData *)data length:(int)length; @end ------------------------------------------- #import "NSStringAdditions.h" static char base64EncodingTable[64] = { 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M',
I have a Core Data model in which a Task entity includes an optional to-many relationship excludedOccurrences. One of the properties of excludedOccurrences is start, which is an NSDate object. The ExcludedOccurrence entity has an inverse mandatory to-one relationship to the Task entity. In order to fetch tasks for a specified day, I need to make sure that the specified day does not appear as the s
In Short/TL;DR: The LGPL and application stores have a few incompatibilities which means that you do not have the rights to distribute LGPL code on DRM-enabled AppStores or locked devices. It is best if you look for alternative implementations of the library under other laxer licenses like the Apache 2 License, the Microsoft Public License or the MIT X11 License. Longer: The LGPL states: It may ha
I'm thinking about creating a location-aware iPhone app that could work offline by coming packaged with a list of points of interest (POIs). The app would read the user's current location from CoreLocation and produce a list of the POIs in order of proximity to the user's current location. I need two basic geospatial functions to get this application off the ground. The first is a function that te
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く