This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
self.form.allRows.forEach({$0.updateCell(); $0.reload()}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import {connect} from 'react-redux' | |
import {push} from 'react-router-redux' | |
import TodoApp from '../components/TodoApp' | |
import {inputTask, addTask} from "../actions/tasks"; | |
const mapStateToProps = ({tasks}) => { | |
return { | |
task: tasks.task, | |
tasks: tasks.tasks | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct EditingUser: Decodable { | |
var id: Int? | |
var name: String? | |
var email: String? | |
var tel: String? | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
params.append(MultipartFormDataBodyParameters.Part( | |
data: imageData, | |
name: "image", | |
mimeType: "image/png", | |
fileName: "image.png")) |