1 ////////////////////////////////////////////////////////////////////////////
3 // Copyright 2014 Realm Inc.
5 // Licensed under the Apache License, Version 2.0 (the "License");
6 // you may not use this file except in compliance with the License.
7 // You may obtain a copy of the License at
9 // http://www.apache.org/licenses/LICENSE-2.0
11 // Unless required by applicable law or agreed to in writing, software
12 // distributed under the License is distributed on an "AS IS" BASIS,
13 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 // See the License for the specific language governing permissions and
15 // limitations under the License.
17 ////////////////////////////////////////////////////////////////////////////
22 // These types don't change when wrapping in Swift
23 // so we just typealias them to remove the 'RLM' prefix
28 `PropertyType` is an enum describing all property types supported in Realm models.
30 For more information, see [Realm Models](https://realm.io/docs/swift/latest/#models).
45 ### Relationships: Array (in Swift, `List`) and `Object` types
50 public typealias PropertyType = RLMPropertyType
53 An opaque token which is returned from methods which subscribe to changes to a Realm.
55 - see: `Realm.observe(_:)`
57 public typealias NotificationToken = RLMNotificationToken
59 extension NotificationToken {
60 @available(*, unavailable, renamed: "invalidate()")
61 @nonobjc public func stop() { fatalError() }