Skip to content
This repository has been archived by the owner on Mar 7, 2021. It is now read-only.

Commit

Permalink
Rename hyperoslo to 3lvis
Browse files Browse the repository at this point in the history
  • Loading branch information
3lvis committed Aug 22, 2018
1 parent ea0bd27 commit d83dacd
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 22 deletions.
2 changes: 1 addition & 1 deletion Basic-ObjC/README.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
![Form](https://raw.githubusercontent.com/hyperoslo/Form/master/Demos/Basic-ObjC/Images/form.png)
![Form](https://raw.githubusercontent.com/3lvis/Form/master/Demos/Basic-ObjC/Images/form.png)
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Check https://github.com/hyperoslo/Form/releases for more information.
Check https://github.com/3lvis/Form/releases for more information.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
GitHub Issues is for reporting bugs, discussing features and general feedback in **Form**. Be sure to check our [documentation](http://cocoadocs.org/docsets/Form), [FAQ](https://github.com/hyperoslo/Form#faq) and [past issues](https://github.com/hyperoslo/Form/issues?state=closed) before opening any new issues.
GitHub Issues is for reporting bugs, discussing features and general feedback in **Form**. Be sure to check our [documentation](http://cocoadocs.org/docsets/Form), [FAQ](https://github.com/3lvis/Form#faq) and [past issues](https://github.com/3lvis/Form/issues?state=closed) before opening any new issues.

If you are posting about a crash in your application, a stack trace is helpful, but additional context, in the form of code and explanation, is necessary to be of any use.
8 changes: 4 additions & 4 deletions Form.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@ Pod::Spec.new do |s|
s.name = "Form"
s.version = "3.14.0"
s.summary = "JSON driven form"
s.homepage = "https://github.com/hyperoslo/Form"
s.homepage = "https://github.com/3lvis/Form"
s.license = {
:type => 'MIT',
:file => 'LICENSE.md'
}
s.author = { "Hyper Interaktiv AS" => "ios@hyper.no" }
s.social_media_url = "http://twitter.com/hyperoslo"
s.author = { "Elvis Nuñez" => "elvisnunez@me.com" }
s.social_media_url = "http://twitter.com/3lvis"
s.platform = :ios, '9.0'
s.source = {
:git => 'https://github.com/hyperoslo/Form.git',
:git => 'https://github.com/3lvis/Form.git',
:tag => s.version.to_s
}
s.resource_bundles = {
Expand Down
1 change: 1 addition & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
Licensed under the **MIT** license

> Copyright (c) 2018 Elvis Nuñez
> Copyright (c) 2016 - 2017 Hyper Interaktiv
>
> Permission is hereby granted, free of charge, to any person obtaining
Expand Down
30 changes: 15 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
![Form logo](https://raw.githubusercontent.com/hyperoslo/Form/master/Images/logo-v6.png)
![Form logo](https://raw.githubusercontent.com/3lvis/Form/master/Images/logo-v6.png)

[![Version](https://img.shields.io/cocoapods/v/Form.svg?style=flat)](http://cocoadocs.org/docsets/Form)
[![License](https://img.shields.io/cocoapods/l/Form.svg?style=flat)](http://cocoadocs.org/docsets/Form)
[![Platform](https://img.shields.io/cocoapods/p/Form.svg?style=flat)](http://cocoadocs.org/docsets/Form)
[![Gitter](https://img.shields.io/gitter/room/nwjs/nw.js.svg)](https://gitter.im/hyperoslo/Form)
[![Gitter](https://img.shields.io/gitter/room/nwjs/nw.js.svg)](https://gitter.im/3lvis/Form)

The most flexible and powerful way to build a form on iOS.

Expand All @@ -12,12 +12,12 @@ Form came out from our need to have a form that could share logic between our iO
Form includes the following features:

- Multiple groups: For example, you can have a group for personal details and another one for shipping information
- [Field validations](https://github.com/hyperoslo/Form/blob/d426e7b090fee7a630d1208b87c63a85b6aaf5df/Demos/Basic-ObjC/Basic-ObjC/Assets/forms.json#L19): We support `required`, `max_length`, `min_length`, `min_value`, `max_value` and `format` (regex). We also support many field types, like `text`, `number`, `phone_number`, `email`, `date`, `name`, `count`, `segment`, `switch`, and more
- [Custom sizes](https://github.com/hyperoslo/Form/blob/d426e7b090fee7a630d1208b87c63a85b6aaf5df/Demos/Basic-ObjC/Basic-ObjC/Assets/forms.json#L15): Total `width` is handled as 100% while `height` is handled in chunks of [85 px](https://github.com/hyperoslo/Form/blob/b1a542d042a45a9a3056fb8969b5704e51fda1f4/Source/Cells/Base/FORMBaseFieldCell.h#L15)
- [Custom fields](https://github.com/hyperoslo/Form/blob/d426e7b090fee7a630d1208b87c63a85b6aaf5df/Demos/Basic-ObjC/Basic-ObjC/Assets/forms.json#L78): You can register your custom fields, and it's pretty simple (our basic example includes how to make an `image` field)
- [Formulas or computed values](https://github.com/hyperoslo/Form/blob/d426e7b090fee7a630d1208b87c63a85b6aaf5df/Demos/Basic-ObjC/Basic-ObjC/Assets/forms.json#L47): We support fields that contain generated values from other fields
- [Targets](https://github.com/hyperoslo/Form/blob/d426e7b090fee7a630d1208b87c63a85b6aaf5df/Demos/Basic-ObjC/Basic-ObjC/Assets/forms.json#L127): `hide`, `show`, `update`, `enable`, `disable` or `clear` a field using a target. It's pretty powerful, and you can even set a condition for your target to run
- [Dropdowns](https://github.com/hyperoslo/Form/blob/d426e7b090fee7a630d1208b87c63a85b6aaf5df/Demos/Basic-ObjC/Basic-ObjC/Assets/forms.json#L122): Generating dropdowns is as easy as adding values to your field, values support `default` flags, targets (in case you want to trigger hiding a field based on a selection), string and numeric values or showing additional info (in case you want to hint the consequences of your selection).
- [Field validations](https://github.com/3lvis/Form/blob/d426e7b090fee7a630d1208b87c63a85b6aaf5df/Demos/Basic-ObjC/Basic-ObjC/Assets/forms.json#L19): We support `required`, `max_length`, `min_length`, `min_value`, `max_value` and `format` (regex). We also support many field types, like `text`, `number`, `phone_number`, `email`, `date`, `name`, `count`, `segment`, `switch`, and more
- [Custom sizes](https://github.com/3lvis/Form/blob/d426e7b090fee7a630d1208b87c63a85b6aaf5df/Demos/Basic-ObjC/Basic-ObjC/Assets/forms.json#L15): Total `width` is handled as 100% while `height` is handled in chunks of [85 px](https://github.com/3lvis/Form/blob/b1a542d042a45a9a3056fb8969b5704e51fda1f4/Source/Cells/Base/FORMBaseFieldCell.h#L15)
- [Custom fields](https://github.com/3lvis/Form/blob/d426e7b090fee7a630d1208b87c63a85b6aaf5df/Demos/Basic-ObjC/Basic-ObjC/Assets/forms.json#L78): You can register your custom fields, and it's pretty simple (our basic example includes how to make an `image` field)
- [Formulas or computed values](https://github.com/3lvis/Form/blob/d426e7b090fee7a630d1208b87c63a85b6aaf5df/Demos/Basic-ObjC/Basic-ObjC/Assets/forms.json#L47): We support fields that contain generated values from other fields
- [Targets](https://github.com/3lvis/Form/blob/d426e7b090fee7a630d1208b87c63a85b6aaf5df/Demos/Basic-ObjC/Basic-ObjC/Assets/forms.json#L127): `hide`, `show`, `update`, `enable`, `disable` or `clear` a field using a target. It's pretty powerful, and you can even set a condition for your target to run
- [Dropdowns](https://github.com/3lvis/Form/blob/d426e7b090fee7a630d1208b87c63a85b6aaf5df/Demos/Basic-ObjC/Basic-ObjC/Assets/forms.json#L122): Generating dropdowns is as easy as adding values to your field, values support `default` flags, targets (in case you want to trigger hiding a field based on a selection), string and numeric values or showing additional info (in case you want to hint the consequences of your selection).

Form works both on the iPhone and the iPad.

Expand All @@ -33,7 +33,7 @@ pod try Form

This are the required steps to create a basic form with a first name field.

![Form](https://github.com/hyperoslo/Form/blob/master/Images/basic-form.png)
![Form](https://github.com/3lvis/Form/blob/master/Images/basic-form.png)

#### JSON
```json
Expand Down Expand Up @@ -87,7 +87,7 @@ Targets are one of the most powerful features of form, and we support to `hide`,

In the following example we show how to hide or show a field based on a dropdown selection.

![Targets](https://github.com/hyperoslo/Form/blob/master/Images/target.gif)
![Targets](https://github.com/3lvis/Form/blob/master/Images/target.gif)

#### JSON

Expand Down Expand Up @@ -350,7 +350,7 @@ NSDictionary *values = dataSource.values;

### How do I make a universal Form?

You have to specify and iPhone specific JSON file. Something [like this](https://github.com/hyperoslo/Form/blob/master/iPhone-Storyboard/Form.json), check the iPhone-Storyboard demo for more information.
You have to specify and iPhone specific JSON file. Something [like this](https://github.com/3lvis/Form/blob/master/iPhone-Storyboard/Form.json), check the iPhone-Storyboard demo for more information.

We went for this approach since it gives the developers more control over the UI. You have to add a check for device and present the JSON file that matches the device.

Expand Down Expand Up @@ -396,14 +396,14 @@ pod 'Form'

## Contributing

Please check our [playbook](https://github.com/hyperoslo/playbook/blob/master/GIT_AND_GITHUB.md) for guidelines on contributing.
Please check our [playbook](https://github.com/3lvis/playbook/blob/master/GIT_AND_GITHUB.md) for guidelines on contributing.

Detailed discussions regarding code might be easier to have in the [Form channel on Gitter](https://gitter.im/hyperoslo/Form).
Detailed discussions regarding code might be easier to have in the [Form channel on Gitter](https://gitter.im/3lvis/Form).

## Credits

[Hyper](http://hyper.no) made this. We’re a digital communications agency with a passion for good code and delightful user experiences. If you’re using this library we probably want to [hire you](https://github.com/hyperoslo/iOS-playbook/blob/master/HYPER_RECIPES.md) (we consider remote employees too, the only requirement is that you’re awesome).
[Hyper](http://hyper.no) made this. We’re a digital communications agency with a passion for good code and delightful user experiences. If you’re using this library we probably want to [hire you](https://github.com/3lvis/iOS-playbook/blob/master/HYPER_RECIPES.md) (we consider remote employees too, the only requirement is that you’re awesome).

## License

Form is available under the MIT license. See the [LICENSE](https://github.com/hyperoslo/Form/blob/master/LICENSE.md).
Form is available under the MIT license. See the [LICENSE](https://github.com/3lvis/Form/blob/master/LICENSE.md).

0 comments on commit d83dacd

Please sign in to comment.