Problem I am adding some constraints for my auto layout. My method calling the methods creating the constraints: // all […]
Tag: ios
Turning JSON objects into custom NSObjects
Problem Was advised to post this question here after posting to Stack Overflow. I’m pre-populating a UITableView app with data […]
Model for math facts
Problem I’ve written a model for an app that generates math facts kids have to solve by evaluating the operation […]
Create UIView programmatically in Swift
Problem I am generating View and setting constraints programmatically in UIViewController import UIKit import SnapKit class LoginViewController: UIViewController { lazy […]
UITableView allowing some kinds of requests to be deleted with swipe gestures
Problem I have a tableview which shows a list of objects called Requests. It has 3 segments. Namely Accepted, Received […]
iOS Body-Mass-Index (BMI) app
Problem This is “homework” from a Swift course, which I’m currently taking. A mockup and the image-assets are provided by […]
Multiple Choice Guessing Game
Problem I’ve built an app for members of an organization I’m in–the app shows the picture of a member with […]
JSON parsing service
Problem I created the following service for the purpose of sending in a file for parsing. I’m using the generics […]
Show and hide views
Problem I have some buttons in my class that show or hide two views (by setting their alpha property to […]
Background execution in iOS
Problem The following class BackgroundExecutable is to be used to take a function f and return a function f’ where […]