求助,属性车子质量问题找谁投诉属性问题

I'm developing an application for iOS using swift and chose Realm as a database solution for it. I asked one question about Realm () and now I have another.
Suppose we have a schema like that:
class Person: Object {
dynamic var id: String = NSUUID().UUIDString
dynamic var name: String?
dynamic var cars: Car?
class Car: Object {
dynamic var name: String?
I have one class (Person) that contains any number of objects of another class (Car). Car that are "linked" with the Person has some properties in context of that Person (and they ca be different for same Car for different Persons or for two similar Cars for one Person). Using List&...>() we can not store such properties for each Item, am I right?
If we use Car only for one Person and only once we can create another class that includes only additional properties for Cars and links them with ID of Person plus ID of Car. But it does't work if we have two similar Cars with different additional properties.
So, how I see the solution. Have one table (class) stores ID of Person, ID of one Car and additional properties for this Car. For another Car for the same Person it has the same Person ID, Car ID (same or not) and another additional properties for this instance of a Car.
There is a problem (and a question that I mean). Having that structure I want to query all Cars from that table with their additional properties that have Person ID equals to some_id. How should I do this? Or maybe what another structure (maybe using List&...>) I should have to achieve such kind of behavior?
I hope I made the question clearer.
解决方案 What is FastList exactly ?
If you want Items to have a property of Lists collection.
You have to redefine your Realm model. something like this.
class Car:Object{
dynamic var createDate: NSDate = NSDate()
class Person:Object{
let cars = List&Car&()
and query by predicate like this
let realm = Realm()
var ownedCarsFilterByDate = realm.objects(Person).filter("ANY cars.createDate = '\(date)'")
Edited to updated question
Your solution is to create table class, which has 'Person' , 'Car' and 'Context Attribute'.
Your model would be like this
class PersonAndCarRelation:Object{
dynamic var person: Person?
dynamic var car: Car?
dynamic var contextAttribute = ""
and you can query all cars associated with person
let personID = ""
let personAndCarArray = realm.objects(PersonAndCarRelation).filter("person.id == \(personID)")
for personAndCar in personAndCarArray{
let personName = personAndCar.person.name
let carName = personAndCar.car.name
let context = personAndCar.contextAttribute
println("I am \(personName). I have a \(carName) with \(context)")
本文地址: &
我正在使用swift开发iOS应用程序,并选择Realm作为数据库解决方案。我问了一个关于Realm的问题( &
扫一扫关注官方微信近期游戏大作推荐
热点内容图文推荐
近期热点内容回顾
精彩视频推荐
您现在的位置: &&
&& 正文内容
《极品飞车12》6项属性修改器
http://www.gamersky.com 游民星空
&★★★★★
&XP/Vista/Win7
《极品飞车12》6项属性修改器
F1&& 无限金钱F2&& 无限nosF3&& 无限慢动作时间F4&& 最小通缉度F5&& 最大通缉度F6&& 玩家永远赢
功能要在驾驶车子状态下激活即可使用..例如F2功能..必须要此情况下才能开启...
本人版本英文1.0版.系统是xp sp3下测试可用.....没有跳出情况....某部分朋友可能使用F1无限金钱有跳出...
金钱修改可以使用"raofr"原创的金钱修改器....本人在一外国网站上找到...并作分享用途...有不便之处敬请原谅.....
以下为原文说明:&
&&&&&&&&&& Trainer by..: & (修改器由 & 製作)&&&&&&&&&&&&&&&&&&&& &&&&&&&&&& Coded by....: &&&&&&&&&&&&&&&&&&&& &&&&&&&&&& GFX by......: &&&&&&&&&&&&&&&&&&&& &&&&&&&&&& Release Date: 26.11.2008&&&&&&&&&& &&&&&&&&&& Release Type...: Trainer
&&&&&&&&&& Release Version: 1.0& (版本1.0)
&&&&&&&&&& iNSTALLATiON :
&&&&&&&&&& -Start the trainer&& (开启修改器)&&&&&&&&&& -Start the game&&& (开启游戏)&&&&&&&&&& -Minimize the game(最小化游戏)&&&&&&&&&& -Choose the Hotkey's what you want(选择伱需要修改的功能快捷键) &&&&&&&&&& -Go back to game& (返回游戏)
&&&&&&&&&& -Enjoy the Cheat!& (享受吧!!)
&&&&&&&&&& Options :
&&&&&&&&&&&&&& - Buy 4 Free (F1)&&&&&& (无限金钱)& PS:可能会导致跳出...
&&&&&&&&&&&&&& - Unlimited NOS (F2)& (无限氮气)
&&&&&&&&&&&&&& - Unlimited Racebreaker (F3)&&& (无限慢动作时间)&&&&&&&&&& &&&&&&&&&&&&&& - Min Wanted Level (F4)& (最小通缉度)
&&&&&&&&&&&&&& - Max Wanted Level (F5)& (最大通缉度)
&&&&&&&&&&&&&& - Always Win (F6)&&&&&&&&&&& (玩家永远赢)& PS:可能某些比赛无效..至少我是这样...
&&&&&&&&&& Notice: If you want go down from max wanted level push F5 again then F4 !& (如果伱想减少最高通缉度...首先伱要先按一次F5关闭最高通缉度..然后再按F4开启最小通缉度...在F5没关闭的情况下开启F4无效...反之使用方法一样...)
【相关问题】
分享次数:
本站下载资源全部转载自各大游戏论坛及游戏下载站,并全部为免费分享。若有侵权之处请速联系我们,将会在24小时内删除。举报邮箱:。
资源安全说明:
本站资源不会集成任何流氓插件,但下载后仍请大家自行查杀以便决定是否使用。
资源纠错反馈:
若您下载的资源有问题,请到论坛的发帖告知,以便尽快解决。
游戏名称:极品飞车12:无间风云
游戏制作:Electronic Arts
游戏发行:EA Games
游戏平台:PC/Xbox360/PS3
上市时间:
游民指数:--
特色属性: 
Copyright& GamerSky.com All rights reserved. 游民星空 版权所有
冀ICP证B2-《跑跑卡丁车》手机版哪个车子性能属性最好?- 百度派
{{ mainData.uname }}
:{{ mainData.content }}
{{ prevData.uname }}
:{{ prevData.content }}
{{ mainData.uname }}
:{{ mainData.content }}
0 || contentType !== 1" class="separate-line">
:{{ item.content }}
跑跑卡丁车
3">等{{ uList.length }}人邀请你回答
《跑跑卡丁车》手机版哪个车子性能属性最好?
问题说明(可选):
扫一扫分享到微信
{{ log.sign }}
可能对你的问题感兴趣
暂无相关用户
,才能邀请用户
,才能邀请用户
你已邀请15人,不可再邀请
跑跑卡丁车手机版里,有大量的车子可供各位玩家选择,很多玩家纷纷好奇哪辆车子最好,那么跑跑卡丁车手机版哪个车子性能属性最强呢,让我们一起来看看吧!
最强车-尖锋HT品阶:S级综合性能:292/396加...
& & & &跑跑卡丁车手机版里,有大量的车子可供各位玩家选择,很多玩家纷纷好奇哪辆车子最好,那么跑跑卡丁车手机版哪个车子性能属性最强呢,让我们一起来看看吧!& & & &最强车-尖锋HT品阶:S级综合性能:292/396加速能力:56/83最大速度:59/84氮气威力:57/78防御能力:64/73灵活性能:56/78最强车-尖锋HT品阶。 1星解锁:氮气威力额外提升10%:2星解锁:被水炸弹攻击时,有80%的几率获得一个加速器:3星解锁:被水苍蝇攻击时,有40%的几率获得一个加速器。& & & &从尖峰HT的性能属性上可以看出这辆车的综合性能是最高的,并且尖峰HT的星级技能属性也是非常不错的,因为三个全部都是跟速度有关的,都是用来提升速度的,这样就能够让使用尖峰HT的玩家更快的到达比赛终点,所以说尖峰HT是众多车子中最好的一辆。
扫一扫分享到微信
《跑跑卡丁车》手机版哪个车子性能属性最好?
,才能进行回答
一个问题只能回答一次,请&nbsp点击此处&nbsp查看你的答案
1人关注了此问题求跑跑卡丁车改装怎么变成三个属性。_百度知道
求跑跑卡丁车改装怎么变成三个属性。
我有更好的答案
最佳是属性颜色是红+30的属性。一般用3个左右就会出现3个属性粒子W是随机给属性,有一点几率出现3个属性。但是能把好的属性一下洗掉。
需要S或R粒子重复改装。装置—重置—装置~知道出现3红属性为止。一般40个以上才有可能出。建议别用。
S和R粒子是增加强化属性的
采纳率:68%
为您推荐:
其他类似问题
跑跑卡丁车的相关知识
换一换
回答问题,赢新手礼包
个人、企业类
违法有害信息,请在下方选择后提交
色情、暴力
我们会通过消息、邮箱等方式尽快将举报结果通知您。}

我要回帖

更多关于 车子质量问题索赔费用 的文章

更多推荐

版权声明:文章内容来源于网络,版权归原作者所有,如有侵权请点击这里与我们联系,我们将及时删除。

点击添加站长微信