<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>PreferenceSpecifiers</key> <array> <dict> <key>Title</key> <string>User Info</string> <key>Type</key> <string>PSGroupSpecifier</string> </dict> <dict> <key>AutocapitalizationType</key> <string>None</string> <key>AutocorrectionType</key> <string>No</string> <key>DefaultValue</key> <string></string> <key>IsSecure</key> <false/> <key>Key</key> <string>name_preference</string> <key>KeyboardType</key> <string>Alphabet</string> <key>Title</key> <string>Username</string> <key>Type</key> <string>PSTextFieldSpecifier</string> </dict> <dict> <key>AutocapitalizationType</key> <string>AllCharacters</string> <key>AutocorrectionType</key> <string>No</string> <key>DefaultValue</key> <string></string> <key>IsSecure</key> <true/> <key>Key</key> <string>password_preference</string> <key>KeyboardType</key> <string>Alphabet</string> <key>Title</key> <string>Password</string> <key>Type</key> <string>PSTextFieldSpecifier</string> </dict> <dict> <key>Title</key> <string>P4Search</string> <key>Type</key> <string>PSGroupSpecifier</string> </dict> <dict> <key>AutocapitalizationType</key> <string>None</string> <key>AutocorrectionType</key> <string>No</string> <key>DefaultValue</key> <string></string> <key>IsSecure</key> <false/> <key>Key</key> <string>p4searchURL_preference</string> <key>KeyboardType</key> <string>Alphabet</string> <key>Title</key> <string>URL of P4Search API</string> <key>Type</key> <string>PSTextFieldSpecifier</string> </dict> <dict> <key>Title</key> <string>Swarm</string> <key>Type</key> <string>PSGroupSpecifier</string> </dict> <dict> <key>AutocapitalizationType</key> <string>None</string> <key>AutocorrectionType</key> <string>No</string> <key>DefaultValue</key> <string></string> <key>IsSecure</key> <false/> <key>Key</key> <string>swarmURL_preference</string> <key>KeyboardType</key> <string>Alphabet</string> <key>Title</key> <string>URL of Swarm</string> <key>Type</key> <string>PSTextFieldSpecifier</string> </dict> </array> <key>StringsTable</key> <string>Root</string> </dict> </plist>
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 10709 | gronk |
First working example of an iOS app that searches in P4Search and displys content by retrieving it from Swarm. There is a file JSON.swift in the project in which you need to paste some external code from here https://github.com/lingoer/SwiftyJSON/blob/master/SwiftyJSON/SwiftyJSON.swift to simplify JSON parsing. You will also need access to a running P4Search and Swarm instance if you want to run the app on a device or inside an emulator. Coded in Swift with XCode 6.0.1 |