Change 10709

gronk (gronk)
gronk committed this change into //guest/gronk/SearchDemo under Review 10710
View Review
Download .zip
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
  • Files 25
  • Comments 0
0 edited 25 added 0 deleted
Courier_Prime.ttf#1
Loading...
[email protected]#1
Loading...
SearchDemo.xcodeproj/project.pbxproj#1
Loading...
SearchDemo.xcodeproj/project.xcworkspace/contents.xcworkspacedata#1
Loading...
SearchDemo.xcodeproj/project.xcworkspace/xcuserdata/gronk.xcuserdatad/UserInterfaceState.xcuserstate#1
Loading...
SearchDemo.xcodeproj/xcuserdata/gronk.xcuserdatad/xcschemes/SearchDemo 2.xcscheme#1
Loading...
SearchDemo.xcodeproj/xcuserdata/gronk.xcuserdatad/xcschemes/SearchDemo.xcscheme#1
Loading...
SearchDemo.xcodeproj/xcuserdata/gronk.xcuserdatad/xcschemes/xcschememanagement.plist#1
Loading...
SearchDemo/AbstractContentViewController.swift#1
Loading...
SearchDemo/AppDelegate.swift#1
Loading...
SearchDemo/Base.lproj/LaunchScreen.xib#1
Loading...
SearchDemo/Base.lproj/Main.storyboard#1
Loading...
SearchDemo/ImageViewController.swift#1
Loading...
SearchDemo/Info.plist#1
Loading...
SearchDemo/JSON.swift#1
Loading...
SearchDemo/P4FileRev.swift#1
Loading...
SearchDemo/SearchViewController.swift#1
Loading...
SearchDemo/Settings.bundle/Root.plist#1
Loading...
SearchDemo/Settings.bundle/en.lproj/Root.strings#1
Loading...
SearchDemo/SettingsKeys.swift#1
Loading...
SearchDemo/SoundViewController.swift#1
Loading...
SearchDemo/TextViewController.swift#1
Loading...
SearchDemo/ViewController.swift#1
Loading...
SearchDemoTests/Info.plist#1
Loading...
SearchDemoTests/SearchDemoTests.swift#1
Loading...
Tip: Use n and p to cycle through the changes.