You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 5, 2023. It is now read-only.
Login with a nickname
Uninstall / Reinstall the app
Login with the same nickname
Code Sample
/**
Returns the class-wide permissions for the named class.
- parameter cls: The name of an Object subclass to get the permissions for.
- returns: The class-wide permissions for the named class.
- requires: className must name a class in this Realm's schema.
- requires: This must only be called on a partially-synced Realm.
*/
public func permissions(forClassNamed className: String) -> List<Permission> {
let classPermission = object(ofType: ClassPermission.self, forPrimaryKey: className)!
return classPermission.permissions
}
Thread 1: Fatal error: Unexpectedly found nil while unwrapping an Optional value
Also, 3 permissions are added and a new partial path with the same user
Version of Realm and tooling
Realm version(s): 3.3.0 & 3.3.2
XCode version: Xcode 9.3
Which device OS version and device: iPhone 8 (11.3)
The text was updated successfully, but these errors were encountered:
Steps & Code to Reproduce
Code Sample
Also, 3 permissions are added and a new partial path with the same user
![capture d ecran 2018-04-11 a 13 25 57](https://user-images.githubusercontent.com/23617972/38613981-e8efb44c-3d8b-11e8-991a-8730b6a486b0.png)
![capture d ecran 2018-04-11 a 13 26 48](https://user-images.githubusercontent.com/23617972/38614039-12ecbe34-3d8c-11e8-9cda-04d199911967.png)
Version of Realm and tooling
Realm version(s): 3.3.0 & 3.3.2
XCode version: Xcode 9.3
Which device OS version and device: iPhone 8 (11.3)
The text was updated successfully, but these errors were encountered: