profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/Mordil/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.
Nathan Harris Mordil Seattle, WA https://mordil.info iOS & Server Swift | SSWG Contributor

vapor/redis 441

Vapor provider for RediStack

SwiftPackageIndex/SwiftPackageIndex-Server 273

The Swift Package Index is the place to find Swift packages!

peek-travel/swift-currency 84

Type-safety and algorithms for working with money in Swift.

Mordil/RediStack 58

Non-blocking, event-driven Swift client for Redis.

vapor/redis-kit 8

Helpful extensions and abstractions for using RediStack

Mordil/UAT-GAM205 1

An arcade tank shooting game built with Unity 3D.

L4Digital/analytics-ios-integration-localytics 0

The Localytics analytics-ios integration.

L4Digital/flurry-ios-sdk 0

Flurry iOS SDK CocoaPods

Mordil/HorizonCalendar 0

A declarative, performant, iOS calendar UI component that supports use cases ranging from simple date pickers all the way up to fully-featured calendar apps.

Mordil/sswg 0

Swift Server Working Group (SSWG)

issue commentairbnb/HorizonCalendar

How to set the size of day items?

@bryankeller What if it's a horizontal calendar and I want to only display a single month?

Mordil

comment created time in 7 days

issue commentairbnb/HorizonCalendar

Day of Week background

@bryankeller When I was going to implement my header, what I really wanted was to just access and provide an instance of the default's InvariantViewProperties but the entire struct's hierarchy is internal

SaitamLe

comment created time in 7 days

issue openedairbnb/HorizonCalendar

How to set the size of day items?

I'm having a hard time understanding how to set the size of items to get a more compact month.

When the horizontal/vertical day margins are 0, they end up being huge - like 80pt squares. When I set the margins to be 32, then they're appropriately sized, but they're still taking up the same space (because of the margins)

How do I configure the calendar so that the items are smaller, like 32 with 0 margins?

created time in 8 days

issue commentairbnb/HorizonCalendar

Day of Week background

@haffez23

Unfortunately your only option right now is to just fully override the view with your own implementation with withDayOfWeekItemModelProvider which provides Month?, Int parameters with the 2nd being the dayOfWeekIndex that you can index into Calendar to get which day it is and format the value how you want

SaitamLe

comment created time in 8 days

create barnchMordil/time

branch : docc

created branch time in 9 days

fork Mordil/time

Building a better date/time library for Swift

fork in 9 days

issue openedairbnb/HorizonCalendar

Any thoughts on adopting the Time library?

Dave Delong has done a fantastic job of disambiguating time from dates in his Time package.

Any thoughts on adopting that as the foundation for the date concepts so that users of this library can have a better time with dealing with dates instead of having to use boilerplate (that even this library needs, but doesn't expose) to remove the concept of time?

created time in 9 days

issue openedXcode-Tips/xcode-tips.github.io

Save Simulator recordings as GIFs

https://twitter.com/teekachu1/status/1431314346311815175?s=21

created time in 14 days

fork Mordil/HorizonCalendar

A declarative, performant, iOS calendar UI component that supports use cases ranging from simple date pickers all the way up to fully-featured calendar apps.

fork in 16 days

create barnchpeek-travel/realm-cocoa

branch : v4.0.0-peek

created branch time in 16 days

push eventpeek-travel/realm-cocoa

Nathan Harris

commit sha 20d437a485403fc6ef9588ae06f7eb9235ac848b

Restore 'v4.0.0' tag

view details

push time in 16 days

create barnchpeek-travel/realm-cocoa

branch : v4.0.0-peek

created branch time in 16 days

created tagpeek-travel/realm-cocoa

tagv4.0.0-peek

created time in 16 days

release peek-travel/realm-cocoa

v4.0.0-peek

released time in 16 days

create barnchpeek-travel/realm-cocoa

branch : master

created branch time in 16 days

created repositorypeek-travel/realm-cocoa

created time in 16 days

PullRequestReviewEvent

release Mordil/RediStack

1.2.0

released time in a month

created tagMordil/RediStack

tag1.2.0

Non-blocking, event-driven Swift client for Redis.

created time in a month

push eventMordil/RediStack

Nathan Harris

commit sha ad316a97acef9d406c9445ee5f2fd288d313b902

95 -- Add callback closure on RedisConnection invoked on channel close

view details

push time in a month

issue openedvapor/fluent-kit

No way to delete unique constraint when it was created with a custom name

Describe the bug

When creating a .unique constraint using the unique(on:name:) method, the constraint name will use the given name value.

When attempting to delete the unique constraint in revert(on:) using the deleteUnique(on:) method, it will attempt to delete the constraint with an automatically generated name from the unique keys, rather than the custom name provided in the unique(on:name:) method - which causes the migration revert to fail.

To Reproduce

  1. Create a new migration
  2. Add a .unique constraint using .unique(on:name:)
  3. In the revert(on:) method, call .deleteUnique(on:)
  4. Run swift run migrate -y
  5. Run swift run migrate --revert -y

You will see the following error:

$ vapor run migrate --revert -y
Migrate Command: Revert
The following migration(s) will be reverted:
- App.Tool.Seed on default
- App.Tool.MakeToolUnique on default
- App.Tool.AddMaker on default
- App.Tool.Create on default
Would you like to continue?
y/n> yes
[ WARNING ] previousError(server: constraint "uq:tools.name+tools.maker" of relation "tools" does not exist (ATExecDropConstraint))
Swift/ErrorType.swift:200: Fatal error: Error raised at top level: previousError(server: constraint "uq:tools.name+tools.maker" of relation "tools" does not exist (ATExecDropConstraint))

created time in 2 months

issue commentfilestack/filestack-ios

Add SPM (Swift Package Manager) support

Ah, unfortunate for that scenario - but good to hear :)

rnine

comment created time in 3 months

issue commentfilestack/filestack-ios

Add SPM (Swift Package Manager) support

Sorry to resurrect a closed issue - but what was the reasoning behind explicitly specifying .dynamic as the library type, rather than having it unspecified so SwiftPM can choose between static & dynamic depending on the build graph?

rnine

comment created time in 3 months

issue openedfilestack/filestack-ios

Undefined Symbols when importing with SwiftPM

Xcode 2.5 (12E262) Swift 5.4 SwiftPM - Xcode's Bundled version Project Minimum iOS Version: 13

filestack-ios: 2.7.2

When importing the library using Xcode's UI for adding Swift Packages to our iOS Target, we add the following code:

import Filestack
import FilestackSDK

extension ViewController {
  private func doSomething() {
    let client = Client(apiKey: "")
    print(client)
  }
}

when we build, Xcode gives us the following errors:

Undefined symbols for architecture arm64:
  "type metadata accessor for FilestackSDK.Client", referenced from:
      Peek_Pro.PKViewOrderViewController.(doSomething in _0192BE462E8B9F880CB09CA425A161D1)() -> () in PKViewOrderViewController.o
  "FilestackSDK.Client.__allocating_init(apiKey: Swift.String, security: FilestackSDK.Security?) -> FilestackSDK.Client", referenced from:
      Peek_Pro.PKViewOrderViewController.(doSomething in _0192BE462E8B9F880CB09CA425A161D1)() -> () in PKViewOrderViewController.o
ld: symbol(s) not found for architecture arm64

Undefined symbol: type metadata accessor for FilestackSDK.Client
Undefined symbol: FilestackSDK.Client.__allocating_init(apiKey: Swift.String, security: FilestackSDK.Security?) -> FilestackSDK.Client

I've narrowed it down to only receiving build errors when importing FilestackSDK, importing Filestack itself is fine

created time in 3 months