- package (no
go.mod
) != module (hasgo.mod
)
--
package.json
and remove postinstall
from scripts
"postinstall": "patch-package && rm -f ./node_modules/react-native/local-cli/core/__fixtures__/files/package.json",
yarn
A common task when developing iOS apps is to register custom cell subclasses for both UITableView
and UICollectionView
. Well, that is if you don’t use Storyboards, of course.
Both UITableView
and UICollectionView
offer a similar API to register custom cell classes:
for UITableView
public func register(_ cellClass: AnyClass?, forCellReuseIdentifier identifier: String)
public func register(_ nib: UINib?, forCellReuseIdentifier identifier: String)