├── SwiftTiqavViewer ├── screenshot01.png ├── Images.xcassets │ ├── tiqav.imageset │ │ ├── tiqav@2x.png │ │ └── Contents.json │ ├── AppIcon.appiconset │ │ └── Contents.json │ └── LaunchImage.launchimage │ │ └── Contents.json ├── TiqavCell.swift ├── Info.plist ├── LaunchScreen.xib ├── AppDelegate.swift ├── ViewController.swift └── Base.lproj │ └── Main.storyboard ├── SwiftTiqavViewer.xcodeproj ├── project.xcworkspace │ ├── contents.xcworkspacedata │ ├── xcuserdata │ │ ├── himara2.xcuserdatad │ │ │ └── UserInterfaceState.xcuserstate │ │ └── rhiramat.xcuserdatad │ │ │ └── UserInterfaceState.xcuserstate │ └── xcshareddata │ │ └── SwiftTiqavViewer.xccheckout ├── xcuserdata │ ├── himara2.xcuserdatad │ │ └── xcschemes │ │ │ ├── xcschememanagement.plist │ │ │ └── SwiftTiqavViewer.xcscheme │ └── rhiramat.xcuserdatad │ │ └── xcschemes │ │ ├── xcschememanagement.plist │ │ └── SwiftTiqavViewer.xcscheme └── project.pbxproj └── README.md /SwiftTiqavViewer/screenshot01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/himaratsu/SwiftTiqavViewer/HEAD/SwiftTiqavViewer/screenshot01.png -------------------------------------------------------------------------------- /SwiftTiqavViewer/Images.xcassets/tiqav.imageset/tiqav@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/himaratsu/SwiftTiqavViewer/HEAD/SwiftTiqavViewer/Images.xcassets/tiqav.imageset/tiqav@2x.png -------------------------------------------------------------------------------- /SwiftTiqavViewer.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /SwiftTiqavViewer.xcodeproj/project.xcworkspace/xcuserdata/himara2.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/himaratsu/SwiftTiqavViewer/HEAD/SwiftTiqavViewer.xcodeproj/project.xcworkspace/xcuserdata/himara2.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /SwiftTiqavViewer.xcodeproj/project.xcworkspace/xcuserdata/rhiramat.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/himaratsu/SwiftTiqavViewer/HEAD/SwiftTiqavViewer.xcodeproj/project.xcworkspace/xcuserdata/rhiramat.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | SwiftTiqavViewer 2 | ================ 3 | 4 | Swift を使って[tiqav](http://tiqav.com/)のViewerアプリを作ってみました。 5 | 6 | ## Screenshot 7 | 8 | ![screenshot](https://raw.githubusercontent.com/himaratsu/SwiftTiqavViewer/master/SwiftTiqavViewer/screenshot01.png) 9 | 10 | ## 説明 11 | 12 | [こちらのブログ](http://himaratsu.hatenablog.com/entry/swift/tiqav)で説明しています。 13 | 14 | -------------------------------------------------------------------------------- /SwiftTiqavViewer/Images.xcassets/tiqav.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "tiqav@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /SwiftTiqavViewer/TiqavCell.swift: -------------------------------------------------------------------------------- 1 | // 2 | // TiqavCell.swift 3 | // SwiftTiqavViewer 4 | // 5 | // Created by 平松 亮介 on 2014/06/04. 6 | // Copyright (c) 2014年 himara2. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | class TiqavCell: UITableViewCell { 12 | @IBOutlet var tiqavImageView : UIImageView! 13 | @IBOutlet var tiqavUrlLabel : UILabel! 14 | 15 | override func awakeFromNib() { 16 | super.awakeFromNib() 17 | tiqavUrlLabel.backgroundColor = UIColor(red: 0.95, green: 0.95, blue: 0.95, alpha: 0.8) 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /SwiftTiqavViewer/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "29x29", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "40x40", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "60x60", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "60x60", 21 | "scale" : "3x" 22 | } 23 | ], 24 | "info" : { 25 | "version" : 1, 26 | "author" : "xcode" 27 | } 28 | } -------------------------------------------------------------------------------- /SwiftTiqavViewer/Images.xcassets/LaunchImage.launchimage/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "orientation" : "portrait", 5 | "idiom" : "iphone", 6 | "extent" : "full-screen", 7 | "minimum-system-version" : "7.0", 8 | "scale" : "2x" 9 | }, 10 | { 11 | "orientation" : "portrait", 12 | "idiom" : "iphone", 13 | "subtype" : "retina4", 14 | "extent" : "full-screen", 15 | "minimum-system-version" : "7.0", 16 | "scale" : "2x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /SwiftTiqavViewer.xcodeproj/xcuserdata/himara2.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | SwiftTiqavViewer.xcscheme 8 | 9 | orderHint 10 | 0 11 | 12 | 13 | SuppressBuildableAutocreation 14 | 15 | D953AA9A193F286B001ECCC0 16 | 17 | primary 18 | 19 | 20 | D953AAAC193F286B001ECCC0 21 | 22 | primary 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /SwiftTiqavViewer.xcodeproj/xcuserdata/rhiramat.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | SwiftTiqavViewer.xcscheme 8 | 9 | orderHint 10 | 0 11 | 12 | 13 | SuppressBuildableAutocreation 14 | 15 | D953AA9A193F286B001ECCC0 16 | 17 | primary 18 | 19 | 20 | D953AAAC193F286B001ECCC0 21 | 22 | primary 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /SwiftTiqavViewer/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | in.mashroom.${PRODUCT_NAME:rfc1034identifier} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | TiqavViewer 15 | CFBundlePackageType 16 | APPL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | LSRequiresIPhoneOS 24 | 25 | UILaunchStoryboardName 26 | LaunchScreen 27 | UIMainStoryboardFile 28 | Main 29 | UIRequiredDeviceCapabilities 30 | 31 | armv7 32 | 33 | UISupportedInterfaceOrientations 34 | 35 | UIInterfaceOrientationPortrait 36 | 37 | 38 | 39 | -------------------------------------------------------------------------------- /SwiftTiqavViewer.xcodeproj/project.xcworkspace/xcshareddata/SwiftTiqavViewer.xccheckout: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDESourceControlProjectFavoriteDictionaryKey 6 | 7 | IDESourceControlProjectIdentifier 8 | 961D9D58-E040-4DF5-A3DD-F2A82688D8D6 9 | IDESourceControlProjectName 10 | SwiftTiqavViewer 11 | IDESourceControlProjectOriginsDictionary 12 | 13 | 62343BB9226F3427171AB77AF34820F10B8B2AEC 14 | https://github.com/himaratsu/SwiftTiqavViewer.git 15 | 16 | IDESourceControlProjectPath 17 | SwiftTiqavViewer.xcodeproj 18 | IDESourceControlProjectRelativeInstallPathDictionary 19 | 20 | 62343BB9226F3427171AB77AF34820F10B8B2AEC 21 | ../.. 22 | 23 | IDESourceControlProjectURL 24 | https://github.com/himaratsu/SwiftTiqavViewer.git 25 | IDESourceControlProjectVersion 26 | 111 27 | IDESourceControlProjectWCCIdentifier 28 | 62343BB9226F3427171AB77AF34820F10B8B2AEC 29 | IDESourceControlProjectWCConfigurations 30 | 31 | 32 | IDESourceControlRepositoryExtensionIdentifierKey 33 | public.vcs.git 34 | IDESourceControlWCCIdentifierKey 35 | 62343BB9226F3427171AB77AF34820F10B8B2AEC 36 | IDESourceControlWCCName 37 | SwiftTiqavViewer 38 | 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /SwiftTiqavViewer/LaunchScreen.xib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | -------------------------------------------------------------------------------- /SwiftTiqavViewer/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.swift 3 | // SwiftTiqavViewer 4 | // 5 | // Created by 平松 亮介 on 2014/06/04. 6 | // Copyright (c) 2014年 himara2. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | @UIApplicationMain 12 | class AppDelegate: UIResponder, UIApplicationDelegate { 13 | 14 | var window: UIWindow? 15 | 16 | 17 | func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: NSDictionary?) -> Bool { 18 | // Override point for customization after application launch. 19 | return true 20 | } 21 | 22 | func applicationWillResignActive(application: UIApplication) { 23 | // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. 24 | // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game. 25 | } 26 | 27 | func applicationDidEnterBackground(application: UIApplication) { 28 | // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. 29 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. 30 | } 31 | 32 | func applicationWillEnterForeground(application: UIApplication) { 33 | // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background. 34 | } 35 | 36 | func applicationDidBecomeActive(application: UIApplication) { 37 | // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. 38 | } 39 | 40 | func applicationWillTerminate(application: UIApplication) { 41 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. 42 | } 43 | 44 | 45 | } 46 | 47 | -------------------------------------------------------------------------------- /SwiftTiqavViewer/ViewController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.swift 3 | // SwiftPractiveTableView 4 | // 5 | // Created by himara2 on 2014/06/03. 6 | // Copyright (c) 2014年 himara2. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | class ViewController: UIViewController, UITableViewDelegate, UITableViewDataSource, NSURLConnectionDelegate { 12 | 13 | @IBOutlet var tableView : UITableView! 14 | 15 | let baseUrl = "http://img.tiqav.com/" 16 | var tiqavs = [String]() 17 | 18 | override func viewDidLoad() { 19 | super.viewDidLoad() 20 | self.title = "tiqav images" 21 | self.reload() 22 | } 23 | 24 | func reload() { 25 | // Thanks to tiqav api! ( http://dev.tiqav.com/ ) 26 | let URL = NSURL(string: "http://api.tiqav.com/search/random.json") 27 | let Req = NSURLRequest(URL: URL!) 28 | let connection: NSURLConnection = NSURLConnection(request: Req, delegate: self, startImmediately: false)! 29 | 30 | NSURLConnection.sendAsynchronousRequest(Req, 31 | queue: NSOperationQueue.mainQueue(), 32 | completionHandler: self.fetchResponse) 33 | } 34 | 35 | func fetchResponse(res: NSURLResponse!, data: NSData!, error: NSError!) { 36 | let json: NSArray = NSJSONSerialization.JSONObjectWithData(data, options: NSJSONReadingOptions.AllowFragments, error: nil) as NSArray 37 | 38 | tiqavs = [String]() 39 | 40 | for img in json { 41 | let imgId = img["id"] as String 42 | let ext = img["ext"] as String 43 | 44 | let imageUrl = (baseUrl + imgId + "." + ext) as String 45 | tiqavs.append(imageUrl) 46 | } 47 | 48 | dispatch_async(dispatch_get_main_queue(), { 49 | self.tableView.reloadData() 50 | }) 51 | } 52 | 53 | func tableView(tableView: UITableView, heightForRowAtIndexPath indexPath: NSIndexPath) -> CGFloat { 54 | return 120 55 | } 56 | 57 | func tableView(tableView: UITableView, numberOfRowsInSection section: Int) -> Int { 58 | return tiqavs.count 59 | } 60 | 61 | func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -> UITableViewCell { 62 | let cell: TiqavCell = self.tableView.dequeueReusableCellWithIdentifier("Cell") as TiqavCell 63 | 64 | var imageUrl = tiqavs[indexPath.row] as String 65 | 66 | cell.tiqavUrlLabel.text = imageUrl; 67 | cell.tiqavImageView.image = nil; 68 | 69 | var q_global: dispatch_queue_t = dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0); 70 | var q_main: dispatch_queue_t = dispatch_get_main_queue(); 71 | 72 | dispatch_async(q_global, { 73 | var imageURL: NSURL = NSURL(string:imageUrl)! 74 | var imageData: NSData = NSData(contentsOfURL: imageURL)! 75 | 76 | var image: UIImage = UIImage(data: imageData)! 77 | 78 | dispatch_async(q_main, { 79 | cell.tiqavImageView.image = image; 80 | cell.layoutSubviews() 81 | }) 82 | }) 83 | return cell; 84 | } 85 | 86 | func tableView(tableView: UITableView, didSelectRowAtIndexPath indexPath: NSIndexPath) { 87 | var text: String = tiqavs[indexPath.row] 88 | 89 | // show alert 90 | let alert = UIAlertController(title: "taped", message: text, preferredStyle: .Alert) 91 | alert.addAction(UIAlertAction(title: "close", style: .Default, handler: nil)) 92 | self.presentViewController(alert, animated: true, completion: nil) 93 | } 94 | 95 | @IBAction func reloadBtnTouched(sender : AnyObject) { 96 | self.reload() 97 | self.tableView.scrollRectToVisible(CGRect(x:0 , y: 0, width: 1,height:1), animated: true) 98 | } 99 | } -------------------------------------------------------------------------------- /SwiftTiqavViewer.xcodeproj/xcuserdata/himara2.xcuserdatad/xcschemes/SwiftTiqavViewer.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 33 | 39 | 40 | 41 | 42 | 43 | 49 | 50 | 51 | 52 | 61 | 62 | 68 | 69 | 70 | 71 | 72 | 73 | 79 | 80 | 86 | 87 | 88 | 89 | 91 | 92 | 95 | 96 | 97 | -------------------------------------------------------------------------------- /SwiftTiqavViewer.xcodeproj/xcuserdata/rhiramat.xcuserdatad/xcschemes/SwiftTiqavViewer.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 29 | 35 | 36 | 37 | 38 | 39 | 44 | 45 | 47 | 53 | 54 | 55 | 56 | 57 | 63 | 64 | 65 | 66 | 75 | 77 | 83 | 84 | 85 | 86 | 87 | 88 | 94 | 96 | 102 | 103 | 104 | 105 | 107 | 108 | 111 | 112 | 113 | -------------------------------------------------------------------------------- /SwiftTiqavViewer/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | -------------------------------------------------------------------------------- /SwiftTiqavViewer.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | D953AAA1193F286B001ECCC0 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = D953AAA0193F286B001ECCC0 /* AppDelegate.swift */; }; 11 | D953AAA3193F286B001ECCC0 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = D953AAA2193F286B001ECCC0 /* ViewController.swift */; }; 12 | D953AAA6193F286B001ECCC0 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = D953AAA4193F286B001ECCC0 /* Main.storyboard */; }; 13 | D953AAA8193F286B001ECCC0 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = D953AAA7193F286B001ECCC0 /* Images.xcassets */; }; 14 | D953AABE193F287B001ECCC0 /* TiqavCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = D953AABD193F287B001ECCC0 /* TiqavCell.swift */; }; 15 | D953AAC5193F32E0001ECCC0 /* screenshot01.png in Resources */ = {isa = PBXBuildFile; fileRef = D953AAC4193F32E0001ECCC0 /* screenshot01.png */; }; 16 | D9E326AE1AC1588700DF3328 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = D9E326AD1AC1588700DF3328 /* LaunchScreen.xib */; }; 17 | /* End PBXBuildFile section */ 18 | 19 | /* Begin PBXFileReference section */ 20 | D953AA9B193F286B001ECCC0 /* SwiftTiqavViewer.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = SwiftTiqavViewer.app; sourceTree = BUILT_PRODUCTS_DIR; }; 21 | D953AA9F193F286B001ECCC0 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 22 | D953AAA0193F286B001ECCC0 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 23 | D953AAA2193F286B001ECCC0 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; 24 | D953AAA5193F286B001ECCC0 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 25 | D953AAA7193F286B001ECCC0 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; 26 | D953AABD193F287B001ECCC0 /* TiqavCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TiqavCell.swift; sourceTree = ""; }; 27 | D953AAC4193F32E0001ECCC0 /* screenshot01.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = screenshot01.png; sourceTree = ""; }; 28 | D9E326AD1AC1588700DF3328 /* LaunchScreen.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = LaunchScreen.xib; sourceTree = ""; }; 29 | /* End PBXFileReference section */ 30 | 31 | /* Begin PBXFrameworksBuildPhase section */ 32 | D953AA98193F286B001ECCC0 /* Frameworks */ = { 33 | isa = PBXFrameworksBuildPhase; 34 | buildActionMask = 2147483647; 35 | files = ( 36 | ); 37 | runOnlyForDeploymentPostprocessing = 0; 38 | }; 39 | /* End PBXFrameworksBuildPhase section */ 40 | 41 | /* Begin PBXGroup section */ 42 | D953AA92193F286B001ECCC0 = { 43 | isa = PBXGroup; 44 | children = ( 45 | D953AA9D193F286B001ECCC0 /* SwiftTiqavViewer */, 46 | D953AA9C193F286B001ECCC0 /* Products */, 47 | ); 48 | sourceTree = ""; 49 | }; 50 | D953AA9C193F286B001ECCC0 /* Products */ = { 51 | isa = PBXGroup; 52 | children = ( 53 | D953AA9B193F286B001ECCC0 /* SwiftTiqavViewer.app */, 54 | ); 55 | name = Products; 56 | sourceTree = ""; 57 | }; 58 | D953AA9D193F286B001ECCC0 /* SwiftTiqavViewer */ = { 59 | isa = PBXGroup; 60 | children = ( 61 | D953AABF193F30CB001ECCC0 /* screenshot */, 62 | D953AAA0193F286B001ECCC0 /* AppDelegate.swift */, 63 | D953AAA2193F286B001ECCC0 /* ViewController.swift */, 64 | D953AAA4193F286B001ECCC0 /* Main.storyboard */, 65 | D953AABD193F287B001ECCC0 /* TiqavCell.swift */, 66 | D953AAA7193F286B001ECCC0 /* Images.xcassets */, 67 | D953AA9E193F286B001ECCC0 /* Supporting Files */, 68 | ); 69 | path = SwiftTiqavViewer; 70 | sourceTree = ""; 71 | }; 72 | D953AA9E193F286B001ECCC0 /* Supporting Files */ = { 73 | isa = PBXGroup; 74 | children = ( 75 | D953AA9F193F286B001ECCC0 /* Info.plist */, 76 | D9E326AD1AC1588700DF3328 /* LaunchScreen.xib */, 77 | ); 78 | name = "Supporting Files"; 79 | sourceTree = ""; 80 | }; 81 | D953AABF193F30CB001ECCC0 /* screenshot */ = { 82 | isa = PBXGroup; 83 | children = ( 84 | D953AAC4193F32E0001ECCC0 /* screenshot01.png */, 85 | ); 86 | name = screenshot; 87 | sourceTree = ""; 88 | }; 89 | /* End PBXGroup section */ 90 | 91 | /* Begin PBXNativeTarget section */ 92 | D953AA9A193F286B001ECCC0 /* SwiftTiqavViewer */ = { 93 | isa = PBXNativeTarget; 94 | buildConfigurationList = D953AAB7193F286B001ECCC0 /* Build configuration list for PBXNativeTarget "SwiftTiqavViewer" */; 95 | buildPhases = ( 96 | D953AA97193F286B001ECCC0 /* Sources */, 97 | D953AA98193F286B001ECCC0 /* Frameworks */, 98 | D953AA99193F286B001ECCC0 /* Resources */, 99 | ); 100 | buildRules = ( 101 | ); 102 | dependencies = ( 103 | ); 104 | name = SwiftTiqavViewer; 105 | productName = SwiftTiqavViewer; 106 | productReference = D953AA9B193F286B001ECCC0 /* SwiftTiqavViewer.app */; 107 | productType = "com.apple.product-type.application"; 108 | }; 109 | /* End PBXNativeTarget section */ 110 | 111 | /* Begin PBXProject section */ 112 | D953AA93193F286B001ECCC0 /* Project object */ = { 113 | isa = PBXProject; 114 | attributes = { 115 | LastUpgradeCheck = 0600; 116 | ORGANIZATIONNAME = himara2; 117 | TargetAttributes = { 118 | D953AA9A193F286B001ECCC0 = { 119 | CreatedOnToolsVersion = 6.0; 120 | }; 121 | }; 122 | }; 123 | buildConfigurationList = D953AA96193F286B001ECCC0 /* Build configuration list for PBXProject "SwiftTiqavViewer" */; 124 | compatibilityVersion = "Xcode 3.2"; 125 | developmentRegion = English; 126 | hasScannedForEncodings = 0; 127 | knownRegions = ( 128 | en, 129 | Base, 130 | ); 131 | mainGroup = D953AA92193F286B001ECCC0; 132 | productRefGroup = D953AA9C193F286B001ECCC0 /* Products */; 133 | projectDirPath = ""; 134 | projectRoot = ""; 135 | targets = ( 136 | D953AA9A193F286B001ECCC0 /* SwiftTiqavViewer */, 137 | ); 138 | }; 139 | /* End PBXProject section */ 140 | 141 | /* Begin PBXResourcesBuildPhase section */ 142 | D953AA99193F286B001ECCC0 /* Resources */ = { 143 | isa = PBXResourcesBuildPhase; 144 | buildActionMask = 2147483647; 145 | files = ( 146 | D9E326AE1AC1588700DF3328 /* LaunchScreen.xib in Resources */, 147 | D953AAC5193F32E0001ECCC0 /* screenshot01.png in Resources */, 148 | D953AAA6193F286B001ECCC0 /* Main.storyboard in Resources */, 149 | D953AAA8193F286B001ECCC0 /* Images.xcassets in Resources */, 150 | ); 151 | runOnlyForDeploymentPostprocessing = 0; 152 | }; 153 | /* End PBXResourcesBuildPhase section */ 154 | 155 | /* Begin PBXSourcesBuildPhase section */ 156 | D953AA97193F286B001ECCC0 /* Sources */ = { 157 | isa = PBXSourcesBuildPhase; 158 | buildActionMask = 2147483647; 159 | files = ( 160 | D953AABE193F287B001ECCC0 /* TiqavCell.swift in Sources */, 161 | D953AAA3193F286B001ECCC0 /* ViewController.swift in Sources */, 162 | D953AAA1193F286B001ECCC0 /* AppDelegate.swift in Sources */, 163 | ); 164 | runOnlyForDeploymentPostprocessing = 0; 165 | }; 166 | /* End PBXSourcesBuildPhase section */ 167 | 168 | /* Begin PBXVariantGroup section */ 169 | D953AAA4193F286B001ECCC0 /* Main.storyboard */ = { 170 | isa = PBXVariantGroup; 171 | children = ( 172 | D953AAA5193F286B001ECCC0 /* Base */, 173 | ); 174 | name = Main.storyboard; 175 | sourceTree = ""; 176 | }; 177 | /* End PBXVariantGroup section */ 178 | 179 | /* Begin XCBuildConfiguration section */ 180 | D953AAB5193F286B001ECCC0 /* Debug */ = { 181 | isa = XCBuildConfiguration; 182 | buildSettings = { 183 | ALWAYS_SEARCH_USER_PATHS = NO; 184 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 185 | CLANG_CXX_LIBRARY = "libc++"; 186 | CLANG_ENABLE_MODULES = YES; 187 | CLANG_ENABLE_OBJC_ARC = YES; 188 | CLANG_WARN_BOOL_CONVERSION = YES; 189 | CLANG_WARN_CONSTANT_CONVERSION = YES; 190 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 191 | CLANG_WARN_EMPTY_BODY = YES; 192 | CLANG_WARN_ENUM_CONVERSION = YES; 193 | CLANG_WARN_INT_CONVERSION = YES; 194 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 195 | CLANG_WARN_UNREACHABLE_CODE = YES; 196 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 197 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 198 | COPY_PHASE_STRIP = NO; 199 | ENABLE_STRICT_OBJC_MSGSEND = YES; 200 | GCC_C_LANGUAGE_STANDARD = gnu99; 201 | GCC_DYNAMIC_NO_PIC = NO; 202 | GCC_OPTIMIZATION_LEVEL = 0; 203 | GCC_PREPROCESSOR_DEFINITIONS = ( 204 | "DEBUG=1", 205 | "$(inherited)", 206 | ); 207 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 208 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 209 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 210 | GCC_WARN_UNDECLARED_SELECTOR = YES; 211 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 212 | GCC_WARN_UNUSED_FUNCTION = YES; 213 | GCC_WARN_UNUSED_VARIABLE = YES; 214 | IPHONEOS_DEPLOYMENT_TARGET = 7.1; 215 | METAL_ENABLE_DEBUG_INFO = YES; 216 | ONLY_ACTIVE_ARCH = YES; 217 | SDKROOT = iphoneos; 218 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 219 | }; 220 | name = Debug; 221 | }; 222 | D953AAB6193F286B001ECCC0 /* Release */ = { 223 | isa = XCBuildConfiguration; 224 | buildSettings = { 225 | ALWAYS_SEARCH_USER_PATHS = NO; 226 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 227 | CLANG_CXX_LIBRARY = "libc++"; 228 | CLANG_ENABLE_MODULES = YES; 229 | CLANG_ENABLE_OBJC_ARC = YES; 230 | CLANG_WARN_BOOL_CONVERSION = YES; 231 | CLANG_WARN_CONSTANT_CONVERSION = YES; 232 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 233 | CLANG_WARN_EMPTY_BODY = YES; 234 | CLANG_WARN_ENUM_CONVERSION = YES; 235 | CLANG_WARN_INT_CONVERSION = YES; 236 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 237 | CLANG_WARN_UNREACHABLE_CODE = YES; 238 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 239 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 240 | COPY_PHASE_STRIP = YES; 241 | ENABLE_NS_ASSERTIONS = NO; 242 | ENABLE_STRICT_OBJC_MSGSEND = YES; 243 | GCC_C_LANGUAGE_STANDARD = gnu99; 244 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 245 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 246 | GCC_WARN_UNDECLARED_SELECTOR = YES; 247 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 248 | GCC_WARN_UNUSED_FUNCTION = YES; 249 | GCC_WARN_UNUSED_VARIABLE = YES; 250 | IPHONEOS_DEPLOYMENT_TARGET = 7.1; 251 | METAL_ENABLE_DEBUG_INFO = NO; 252 | SDKROOT = iphoneos; 253 | VALIDATE_PRODUCT = YES; 254 | }; 255 | name = Release; 256 | }; 257 | D953AAB8193F286B001ECCC0 /* Debug */ = { 258 | isa = XCBuildConfiguration; 259 | buildSettings = { 260 | ARCHS = armv7; 261 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 262 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 263 | INFOPLIST_FILE = SwiftTiqavViewer/Info.plist; 264 | IPHONEOS_DEPLOYMENT_TARGET = 7.1; 265 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 266 | PRODUCT_NAME = "$(TARGET_NAME)"; 267 | VALID_ARCHS = armv7; 268 | }; 269 | name = Debug; 270 | }; 271 | D953AAB9193F286B001ECCC0 /* Release */ = { 272 | isa = XCBuildConfiguration; 273 | buildSettings = { 274 | ARCHS = armv7; 275 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 276 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 277 | INFOPLIST_FILE = SwiftTiqavViewer/Info.plist; 278 | IPHONEOS_DEPLOYMENT_TARGET = 7.1; 279 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 280 | PRODUCT_NAME = "$(TARGET_NAME)"; 281 | VALID_ARCHS = armv7; 282 | }; 283 | name = Release; 284 | }; 285 | /* End XCBuildConfiguration section */ 286 | 287 | /* Begin XCConfigurationList section */ 288 | D953AA96193F286B001ECCC0 /* Build configuration list for PBXProject "SwiftTiqavViewer" */ = { 289 | isa = XCConfigurationList; 290 | buildConfigurations = ( 291 | D953AAB5193F286B001ECCC0 /* Debug */, 292 | D953AAB6193F286B001ECCC0 /* Release */, 293 | ); 294 | defaultConfigurationIsVisible = 0; 295 | defaultConfigurationName = Release; 296 | }; 297 | D953AAB7193F286B001ECCC0 /* Build configuration list for PBXNativeTarget "SwiftTiqavViewer" */ = { 298 | isa = XCConfigurationList; 299 | buildConfigurations = ( 300 | D953AAB8193F286B001ECCC0 /* Debug */, 301 | D953AAB9193F286B001ECCC0 /* Release */, 302 | ); 303 | defaultConfigurationIsVisible = 0; 304 | defaultConfigurationName = Release; 305 | }; 306 | /* End XCConfigurationList section */ 307 | }; 308 | rootObject = D953AA93193F286B001ECCC0 /* Project object */; 309 | } 310 | --------------------------------------------------------------------------------