• Stars
    star
    170
  • Rank 222,525 (Top 5 %)
  • Language
    Objective-C
  • License
    MIT License
  • Created about 10 years ago
  • Updated almost 10 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Wethr provides developers the ability to add location-based current weather conditions to their views as simply as adding any UIView.

demo3

Wethr provides developers the ability to add location-based current weather conditions to their views as simply as adding any UIView. All you need to do is set up the frame and add it to your view and we'll handle getting the current weather conditions based on the user's location.

demo1 demo2 demo3

Usage

WethrView is compatibile with iOS 7/8. If using in an iOS 8 application, you must make sure you include the NSLocationWhenInUseUsageDescription key and value in your appl's info.plist, otherwise Wethr will not work.

WethrView is a subclass of UIView, so all that you need to do to add it to your view is initialize it with a frame, and add it as a subview.

    WethrView *wethrView = [[WethrView alloc] initWithFrame:CGRectMake(10, 10, 200, 200)];
    [self.view addSubview:wethrView];

The temperature, current conditions, and city labels are exposed for any customization, and will automatically resize to handle rotation and to fit whatever frame you create it with.

demo

Wethr current utilizes the OpenWeatherMap API for fetching the weather data. 1

Community

Questions, comments, issues, and pull requests welcomed!!

License

This project is made available under the MIT license. See LICENSE.txt for details.

Bitdeli Badge

More Repositories

1

Onboard

An iOS framework to easily create a beautiful and engaging onboarding experience with only a few lines of code.
Objective-C
6,460
star
2

Neon

A powerful Swift programmatic UI layout framework.
Swift
4,580
star
3

Facade

Programmatic view layout for the rest of us.
Objective-C
688
star
4

Organic

The intuitive UITableViewController.
Objective-C
645
star
5

MAThemeKit

Create an iOS app color theme using a single line of code.
Objective-C
552
star
6

MAFormViewController

Quick and easy iOS forms.
Objective-C
289
star
7

xkcd-Open-Source

A free and open source xkcd comic reader for iOS.
Objective-C
256
star
8

Follower

Track trip distance, speed, altitude, and duration like a boss.
Objective-C
197
star
9

Evolve

An Evolution Simulation Engine written in Objective-C.
Objective-C
73
star
10

MALoggingViewController

MALoggingViewController is a real-time pseudo-console you can embed in your application, perfect for testing and debugging in the real world. Whether you are determining the reliability of network traffic while driving through areas with poor service, testing push notifications on ad-hoc builds while not connected to Xcode, or working out those pesky Core Location bugs, there's no need to carry around half of your development environment with you. No more driving around town with the Xcode console open, or having to handle logging to files and emailing them later to figure out what the heck happened - you can see all the data on your device, anywhere, in real time.
Objective-C
53
star
11

MAPageViewController

MAPageViewController is a simple wrapper around the most common boiler-plate UIPageViewController setup.
Swift
51
star
12

MAActionCell

Objective-C
34
star
13

MATextFieldCell

MATextFieldCell is a drop-in subclass of UITableViewCell, written in Swift, used for drastically streamlining UITableView-based form creation.
Swift
22
star
14

Essentials

A curated list of things I wish I knew about Objective-C, Xcode, and Cocoa Touch when I started programming iOS apps.
Objective-C
15
star
15

MADial

MADial and MATimerDial are UIViews that can quickly and easily be created to add slick circular sliders or minute/second timers to your views.
Objective-C
10
star
16

MontyHall

A swift implementation of the famous Monty Hall problem, attempting to explain the counter-intuitive nature of the puzzle.
Swift
4
star
17

Swift-State-Machine

A swift implementation of the state machine design pattern - with a demo implementation.
Swift
1
star