Skip to content

Commit

Permalink
die API abfrage der Forecast.io und das parsen klappt schon ganz gut,…
Browse files Browse the repository at this point in the history
… allerdings

funktioniert anzeige als popover nochnicht, wollte da einfach mal etwas rumprobieren... aber naja
  • Loading branch information
ffrnz committed Jun 14, 2016
1 parent 88e5426 commit 64d6f07
Show file tree
Hide file tree
Showing 3 changed files with 85 additions and 0 deletions.
15 changes: 15 additions & 0 deletions APIClient/View.xib
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="6211" systemVersion="14A298i" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES">
<dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="6204"/>
</dependencies>
<objects>
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
<view contentMode="scaleToFill" id="iN0-l3-epB">
<rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
</view>
</objects>
</document>
35 changes: 35 additions & 0 deletions APIClient/WeatherViewController.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
//
// WeatherViewController.swift
// APIClient
//
// Created by Florian M. on 13/06/16.
// Copyright © 2016 iOS Dev Kurs Universität Heidelberg. All rights reserved.
//

import UIKit

class WeatherViewController: UIViewController {

override func viewDidLoad() {
super.viewDidLoad()

// Do any additional setup after loading the view.
}

override func didReceiveMemoryWarning() {
super.didReceiveMemoryWarning()
// Dispose of any resources that can be recreated.
}


/*
// MARK: - Navigation
// In a storyboard-based application, you will often want to do a little preparation before navigation
override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?) {
// Get the new view controller using segue.destinationViewController.
// Pass the selected object to the new view controller.
}
*/

}
35 changes: 35 additions & 0 deletions APIClientUITests/ViewController.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
//
// ViewController.swift
// APIClient
//
// Created by Florian M. on 13/06/16.
// Copyright © 2016 iOS Dev Kurs Universität Heidelberg. All rights reserved.
//

import UIKit

class ViewController: UIViewController {

override func viewDidLoad() {
super.viewDidLoad()

// Do any additional setup after loading the view.
}

override func didReceiveMemoryWarning() {
super.didReceiveMemoryWarning()
// Dispose of any resources that can be recreated.
}


/*
// MARK: - Navigation
// In a storyboard-based application, you will often want to do a little preparation before navigation
override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?) {
// Get the new view controller using segue.destinationViewController.
// Pass the selected object to the new view controller.
}
*/

}

0 comments on commit 64d6f07

Please sign in to comment.