runtime 获取类的所有属性,方法以及isa

获取类的所有属性

这里不讲解怎么使用,只是单纯的用代码解析了下类属性。方便以后查找方便

#import <Foundation/Foundation.h>

@interface ObjcPropertyParse : NSObject
- (instancetype)initWithClass:(Class)cls;
-(void)print;
@end
#import <Foundation/Foundation.h>
#import "Son.h"
struct personStruct{
    int man ;
};

@interface Person : NSObject
@property (nonatomic,assign) struct personStruct structSon;
@property (nonatomic,strong) NSString *name;
@property (nonatomic,retain) NSString *name1;
@property (nonatomic,copy) NSString *name2;
@property (atomic,copy) NSString *name3;
@property (nonatomic,strong) NSString *name4;
@property (nonatomic,weak) NSString *name5;
@property (nonatomic,getter=isProxy) int mm;
@property (nonatomic,setter=isdd:) int mmd;
@property (nonatomic,strong) Son  *son;
@property (nonatomic,strong) NSMutableArray *address;
-(void)addAddress:(NSString *)address;
@end


#import "Person.h"
#import <objc/runtime.h>
#import "ObjcClassMethodParse.h"
@implementation Person
@dynamic name4;

- (instancetype)init
{
    self = [super init];
    if (self) {
   
    }
    return self;
}

@end

#import <Foundation/Foundation.h>

@interface ObjcPropertyParse : NSObject
- (instancetype)initWithClass:(Class)cls;
-(void)print;
@end

#import "ObjcPropertyParse.h"
#import <objc/runtime.h>




@interface ObjcProperty: NSObject
@property (nonatomic,strong) NSString *property;
@property(nonatomic ,assign) bool isRetain;
@property(nonatomic ,assign) bool isCopy;
@property(nonatomic ,assign) bool isNonatomic;
@property(nonatomic ,assign) NSString * isGetter;
@property(nonatomic ,assign) NSString * isSetter;
@property(nonatomic ,assign) bool isdynamic;
@property(nonatomic ,assign) bool isWeak;
@property(nonatomic ,assign) bool isP;
@property(nonatomic ,assign) NSString  * isT;
@property (nonatomic,strong) NSString *ivar;
@property (nonatomic ,strong)NSString * propertyName;

@end

@implementation ObjcProperty

@end

@interface ObjcPropertyParse()
@property (nonatomic,strong) Class cls;
@property (nonatomic,strong) NSMutableArray * propertyList;
@end

@implementation ObjcPropertyParse
- (instancetype)initWithClass:(Class)cls
{
    self = [super init];
    if (self) {
        self.cls = cls;
        self.propertyList = [NSMutableArray array];
        [self parse];
       
    }
    return self;
}
//https://developer.apple.com/library/content/documentation/Cocoa/Conceptual/ObjCRuntimeGuide/Articles/ocrtPropertyIntrospection.html#//apple_ref/doc/uid/TP40008048-CH101-SW1
-(void)parse{

    unsigned int count = 0;
    objc_property_t *property_t = class_copyPropertyList(self.cls, &count);
    for (int i=0; i<count; i++) {
        objc_property_t propert = property_t[i];
        const char * propertyName = property_getName(propert);

    unsigned int attcount = 0;
       objc_property_attribute_t *att = property_copyAttributeList(propert,&attcount);
        ObjcProperty * objc=[[ObjcProperty alloc]init];
        objc.propertyName = [NSString stringWithFormat:@"%s",propertyName];
        for (int j =0; j<attcount; j++) {
            objc_property_attribute_t t = att[j];
            if (strcmp(t.name,"T")==0) {
                objc.property = [NSString stringWithFormat:@"%s",t.value];
            }
            if (strcmp(t.name,"&")==0) {
                objc.isRetain = YES;
            }
            if (strcmp(t.name,"&")==0) {
                objc.isRetain = YES;
            }
            if (strcmp(t.name,"N")==0) {
                objc.isNonatomic = YES;
            }
            if (strcmp(t.name,"D")==0) {
                objc.isdynamic = YES;
            }
            if (strcmp(t.name,"G")==0) {
                objc.isGetter =  [NSString stringWithFormat:@"%s",t.value];
            }
            if (strcmp(t.name,"S")==0) {
                objc.isSetter =  [NSString stringWithFormat:@"%s",t.value];
            }
            if (strcmp(t.name,"W")==0) {
                objc.isWeak = YES;
            }
            
            if (strcmp(t.name,"P")==0) {
                objc.isP = YES;
            }
            if (strcmp(t.name,"t")==0) {
                objc.isT =  [NSString stringWithFormat:@"%s",t.value];;
            }
            if (strcmp(t.name,"V")==0) {
                objc.ivar =  [NSString stringWithFormat:@"%s",t.value];;

            }
        }
        [self.propertyList addObject:objc];
    
    }
    free(property_t);

}

-(void)print{
    for (ObjcProperty * objcProperty in self.propertyList) {
        NSLog(@" propertyName=%@,property=%@,isCopy=%d,isRetain=%d,isNonatomic=%d,isGetter=%@,isSetting=%@,isDynamic=%d,isWeak=%d,isP=%d,isT=%@,Ivar=%@",objcProperty.propertyName,objcProperty.property,objcProperty.isCopy,objcProperty.isRetain,objcProperty.isNonatomic,objcProperty.isGetter,objcProperty.isSetter,objcProperty.isdynamic,objcProperty.isWeak,objcProperty.isWeak,objcProperty.isT,objcProperty.ivar);
    
    
    }
}


@end

调用测试

    ObjcPropertyParse * objcPropertyParse = [[ObjcPropertyParse alloc]initWithClass:[Person class]];
    [objcPropertyParse print];

结果

2018-04-26 14:26:33.206827+0800 RuntimeParseClass[19146:1786992]  propertyName=structSon,property={personStruct=i},isCopy=0,isRetain=0,isNonatomic=1,isGetter=(null),isSetting=(null),isDynamic=0,isWeak=0,isP=0,isT=(null),Ivar=_structSon
2018-04-26 14:26:33.206962+0800 RuntimeParseClass[19146:1786992]  propertyName=name,property=@"NSString",isCopy=0,isRetain=1,isNonatomic=1,isGetter=(null),isSetting=(null),isDynamic=0,isWeak=0,isP=0,isT=(null),Ivar=_name
2018-04-26 14:26:33.207067+0800 RuntimeParseClass[19146:1786992]  propertyName=name1,property=@"NSString",isCopy=0,isRetain=1,isNonatomic=1,isGetter=(null),isSetting=(null),isDynamic=0,isWeak=0,isP=0,isT=(null),Ivar=_name1
2018-04-26 14:26:33.207162+0800 RuntimeParseClass[19146:1786992]  propertyName=name2,property=@"NSString",isCopy=0,isRetain=0,isNonatomic=1,isGetter=(null),isSetting=(null),isDynamic=0,isWeak=0,isP=0,isT=(null),Ivar=_name2
2018-04-26 14:26:33.207290+0800 RuntimeParseClass[19146:1786992]  propertyName=name3,property=@"NSString",isCopy=0,isRetain=0,isNonatomic=0,isGetter=(null),isSetting=(null),isDynamic=0,isWeak=0,isP=0,isT=(null),Ivar=_name3
2018-04-26 14:26:33.207707+0800 RuntimeParseClass[19146:1786992]  propertyName=name4,property=@"NSString",isCopy=0,isRetain=1,isNonatomic=1,isGetter=(null),isSetting=(null),isDynamic=1,isWeak=0,isP=0,isT=(null),Ivar=(null)
2018-04-26 14:26:33.207855+0800 RuntimeParseClass[19146:1786992]  propertyName=name5,property=@"NSString",isCopy=0,isRetain=0,isNonatomic=1,isGetter=(null),isSetting=(null),isDynamic=0,isWeak=1,isP=1,isT=(null),Ivar=_name5
2018-04-26 14:26:33.208059+0800 RuntimeParseClass[19146:1786992]  propertyName=mm,property=i,isCopy=0,isRetain=0,isNonatomic=1,isGetter=isProxy,isSetting=(null),isDynamic=0,isWeak=0,isP=0,isT=(null),Ivar=_mm
2018-04-26 14:26:33.208252+0800 RuntimeParseClass[19146:1786992]  propertyName=mmd,property=i,isCopy=0,isRetain=0,isNonatomic=1,isGetter=(null),isSetting=isdd:,isDynamic=0,isWeak=0,isP=0,isT=(null),Ivar=_mmd
2018-04-26 14:26:33.208780+0800 RuntimeParseClass[19146:1786992]  propertyName=son,property=@"Son",isCopy=0,isRetain=1,isNonatomic=1,isGetter=(null),isSetting=(null),isDynamic=0,isWeak=0,isP=0,isT=(null),Ivar=_son
2018-04-26 14:26:33.208912+0800 RuntimeParseClass[19146:1786992]  propertyName=address,property=@"NSMutableArray",isCopy=0,isRetain=1,isNonatomic=1,isGetter=(null),isSetting=(null),isDynamic=0,isWeak=0,isP=0,isT=(null),Ivar=_address

这里主要是知道属性的编码规范,查看官方文档

image.png

方法类的所有方法

这里只获取下类,并且打印出类的所有方法和相关属性,不讨论IMP交换什么的

#import <Foundation/Foundation.h>

@interface ObjcClassMethodParse : NSObject
- (instancetype)initWithClass:(Class)cls;
-(void)print;

@end

#import "ObjcClassMethodParse.h"
#import <objc/runtime.h>



@interface ObjcClassMethod: NSObject
@property (nonatomic,strong) NSString *name;
@property (nonatomic,assign) IMP imp;
@property (nonatomic,strong) NSString *ypeEncoding;
@property (nonatomic,assign) int  argumentCount;
@property (nonatomic,strong) NSString * cReturnType;
@property (nonatomic,strong) NSMutableArray *cArgumentTypes;
@property (nonatomic,strong) NSString * getReturnType;
@property (nonatomic,strong) NSMutableArray *gArgumentTypes;

@property (nonatomic,strong) NSString * descriptionName;
@property (nonatomic,strong) NSString * descriptionType;

@end

@implementation ObjcClassMethod

@end

@interface ObjcClassMethodParse()
@property (nonatomic,strong) Class cls;
@property (nonatomic,strong) NSMutableArray * methodListArr;
@end
@implementation ObjcClassMethodParse
- (instancetype)initWithClass:(Class)cls
{
    self = [super init];
    if (self) {
        self.cls = cls;
        self.methodListArr = [NSMutableArray array];
        [self parse];
        
    }
    return self;
}
//https://developer.apple.com/library/content/documentation/Cocoa/Conceptual/ObjCRuntimeGuide/Articles/ocrtPropertyIntrospection.html#//apple_ref/doc/uid/TP40008048-CH101-SW1
-(void)parse{
    
    unsigned int count = 0;
    Method *methodList = class_copyMethodList(self.cls, &count);
    for (int i=0; i<count; i++) {
        Method method = methodList[i];
        ObjcClassMethod * m=[[ObjcClassMethod alloc]init];
     const char * name= sel_getName(method_getName(method));
        
        m.name = [NSString stringWithFormat:@"%s",name];
        IMP imp= method_getImplementation(method);
        m.imp = imp;
      const char *ypeEncoding =  method_getTypeEncoding(method);
        m.ypeEncoding = [NSString stringWithFormat:@"%s",ypeEncoding];
       int count = method_getNumberOfArguments(method);
        m.argumentCount = count;
      const char *returnType =  method_copyReturnType(method);
        m.cReturnType = [NSString stringWithFormat:@"%s",returnType];
        NSMutableArray * argumentstype= [NSMutableArray array];
        for (int i=0; i<count; i++) {
          char * argumentType=  method_copyArgumentType(method, i);
            [argumentstype addObject:[NSString stringWithFormat:@"%s",argumentType]];
        }
        m.cArgumentTypes =argumentstype;
        char  dst[1024]={0};
        method_getReturnType(method,dst , 1024);
        m.getReturnType =[NSString stringWithFormat:@"%s",dst];
        
        NSMutableArray * gargumentstype= [NSMutableArray array];

        for (int i=0; i<count; i++) {
            char  dst[1024]={0};
            method_getArgumentType(method, i, dst, 1024);
            [gargumentstype addObject:[NSString stringWithFormat:@"%s",dst]];
        }
        m.gArgumentTypes = gargumentstype;
       
        struct objc_method_description * de=   method_getDescription(method);
        m.descriptionName = NSStringFromSelector(de->name);
        m.descriptionType =[NSString stringWithFormat:@"%s", de->types];
        [self.methodListArr addObject:m];
    }
    free(methodList);
    
}

-(void)print{
    for (ObjcClassMethod *m in self.methodListArr) {
        NSString * str = [NSString stringWithFormat:@"name=%@, imp=%p ,typeEncoding=%@ ,argumentCount=%d,cReturnType=%@,getReturnType=%@,descriptionName=%@,descriptionType=%@,cArgumentTypes=%@,gArgumentTypes=%@",m.name ,m.imp,m.ypeEncoding,m.argumentCount,m.cReturnType,m.getReturnType,m.descriptionType,m.descriptionType,[m.cArgumentTypes componentsJoinedByString:@"|"],[m.gArgumentTypes componentsJoinedByString:@"|"]];
        NSLog(@"%@",str);
        
        
    }
}

@end

测试代码

 ObjcClassMethodParse * methodParse =[[ObjcClassMethodParse alloc]initWithClass:[Person class]];
    [methodParse print];

测试结果

2018-04-26 15:06:20.660783+0800 RuntimeParseClass[29459:1870748] name=structSon, imp=0x10c811570 ,typeEncoding={personStruct=i}16@0:8 ,argumentCount=2,cReturnType={personStruct=i},getReturnType={personStruct=i},descriptionName={personStruct=i}16@0:8,descriptionType={personStruct=i}16@0:8,cArgumentTypes=@|:,gArgumentTypes=@|:
2018-04-26 15:06:20.661063+0800 RuntimeParseClass[29459:1870748] name=setStructSon:, imp=0x10c8115a0 ,typeEncoding=v20@0:8{personStruct=i}16 ,argumentCount=3,cReturnType=v,getReturnType=v,descriptionName=v20@0:8{personStruct=i}16,descriptionType=v20@0:8{personStruct=i}16,cArgumentTypes=@|:|{personStruct=i},gArgumentTypes=@|:|{personStruct=i}
2018-04-26 15:06:20.661199+0800 RuntimeParseClass[29459:1870748] name=name1, imp=0x10c811630 ,typeEncoding=@16@0:8 ,argumentCount=2,cReturnType=@,getReturnType=@,descriptionName=@16@0:8,descriptionType=@16@0:8,cArgumentTypes=@|:,gArgumentTypes=@|:
2018-04-26 15:06:20.661303+0800 RuntimeParseClass[29459:1870748] name=setName1:, imp=0x10c811650 ,typeEncoding=v24@0:8@16 ,argumentCount=3,cReturnType=v,getReturnType=v,descriptionName=v24@0:8@16,descriptionType=v24@0:8@16,cArgumentTypes=@|:|@,gArgumentTypes=@|:|@
2018-04-26 15:06:20.661413+0800 RuntimeParseClass[29459:1870748] name=name2, imp=0x10c811690 ,typeEncoding=@16@0:8 ,argumentCount=2,cReturnType=@,getReturnType=@,descriptionName=@16@0:8,descriptionType=@16@0:8,cArgumentTypes=@|:,gArgumentTypes=@|:
2018-04-26 15:06:20.831869+0800 RuntimeParseClass[29459:1870748] name=setName2:, imp=0x10c8116c0 ,typeEncoding=v24@0:8@16 ,argumentCount=3,cReturnType=v,getReturnType=v,descriptionName=v24@0:8@16,descriptionType=v24@0:8@16,cArgumentTypes=@|:|@,gArgumentTypes=@|:|@
2018-04-26 15:06:20.832085+0800 RuntimeParseClass[29459:1870748] name=name3, imp=0x10c811700 ,typeEncoding=@16@0:8 ,argumentCount=2,cReturnType=@,getReturnType=@,descriptionName=@16@0:8,descriptionType=@16@0:8,cArgumentTypes=@|:,gArgumentTypes=@|:
2018-04-26 15:06:20.832218+0800 RuntimeParseClass[29459:1870748] name=setName3:, imp=0x10c811730 ,typeEncoding=v24@0:8@16 ,argumentCount=3,cReturnType=v,getReturnType=v,descriptionName=v24@0:8@16,descriptionType=v24@0:8@16,cArgumentTypes=@|:|@,gArgumentTypes=@|:|@
2018-04-26 15:06:20.832337+0800 RuntimeParseClass[29459:1870748] name=name5, imp=0x10c811770 ,typeEncoding=@16@0:8 ,argumentCount=2,cReturnType=@,getReturnType=@,descriptionName=@16@0:8,descriptionType=@16@0:8,cArgumentTypes=@|:,gArgumentTypes=@|:
2018-04-26 15:06:20.864817+0800 RuntimeParseClass[29459:1870748] name=setName5:, imp=0x10c8117b0 ,typeEncoding=v24@0:8@16 ,argumentCount=3,cReturnType=v,getReturnType=v,descriptionName=v24@0:8@16,descriptionType=v24@0:8@16,cArgumentTypes=@|:|@,gArgumentTypes=@|:|@
2018-04-26 15:06:20.864973+0800 RuntimeParseClass[29459:1870748] name=setMm:, imp=0x10c811810 ,typeEncoding=v20@0:8i16 ,argumentCount=3,cReturnType=v,getReturnType=v,descriptionName=v20@0:8i16,descriptionType=v20@0:8i16,cArgumentTypes=@|:|i,gArgumentTypes=@|:|i
2018-04-26 15:06:20.865089+0800 RuntimeParseClass[29459:1870748] name=mmd, imp=0x10c811840 ,typeEncoding=i16@0:8 ,argumentCount=2,cReturnType=i,getReturnType=i,descriptionName=i16@0:8,descriptionType=i16@0:8,cArgumentTypes=@|:,gArgumentTypes=@|:
2018-04-26 15:06:20.865192+0800 RuntimeParseClass[29459:1870748] name=isdd:, imp=0x10c811860 ,typeEncoding=v20@0:8i16 ,argumentCount=3,cReturnType=v,getReturnType=v,descriptionName=v20@0:8i16,descriptionType=v20@0:8i16,cArgumentTypes=@|:|i,gArgumentTypes=@|:|i
2018-04-26 15:06:20.865310+0800 RuntimeParseClass[29459:1870748] name=son, imp=0x10c811890 ,typeEncoding=@16@0:8 ,argumentCount=2,cReturnType=@,getReturnType=@,descriptionName=@16@0:8,descriptionType=@16@0:8,cArgumentTypes=@|:,gArgumentTypes=@|:
2018-04-26 15:06:20.865424+0800 RuntimeParseClass[29459:1870748] name=setSon:, imp=0x10c8118b0 ,typeEncoding=v24@0:8@16 ,argumentCount=3,cReturnType=v,getReturnType=v,descriptionName=v24@0:8@16,descriptionType=v24@0:8@16,cArgumentTypes=@|:|@,gArgumentTypes=@|:|@
2018-04-26 15:06:20.865528+0800 RuntimeParseClass[29459:1870748] name=address, imp=0x10c8118f0 ,typeEncoding=@16@0:8 ,argumentCount=2,cReturnType=@,getReturnType=@,descriptionName=@16@0:8,descriptionType=@16@0:8,cArgumentTypes=@|:,gArgumentTypes=@|:
2018-04-26 15:06:20.865708+0800 RuntimeParseClass[29459:1870748] name=.cxx_destruct, imp=0x10c811950 ,typeEncoding=v16@0:8 ,argumentCount=2,cReturnType=v,getReturnType=v,descriptionName=v16@0:8,descriptionType=v16@0:8,cArgumentTypes=@|:,gArgumentTypes=@|:
2018-04-26 15:06:20.865884+0800 RuntimeParseClass[29459:1870748] name=name, imp=0x10c8115d0 ,typeEncoding=@16@0:8 ,argumentCount=2,cReturnType=@,getReturnType=@,descriptionName=@16@0:8,descriptionType=@16@0:8,cArgumentTypes=@|:,gArgumentTypes=@|:
2018-04-26 15:06:20.866053+0800 RuntimeParseClass[29459:1870748] name=setName:, imp=0x10c8115f0 ,typeEncoding=v24@0:8@16 ,argumentCount=3,cReturnType=v,getReturnType=v,descriptionName=v24@0:8@16,descriptionType=v24@0:8@16,cArgumentTypes=@|:|@,gArgumentTypes=@|:|@
2018-04-26 15:06:20.866225+0800 RuntimeParseClass[29459:1870748] name=init, imp=0x10c8114e0 ,typeEncoding=@16@0:8 ,argumentCount=2,cReturnType=@,getReturnType=@,descriptionName=@16@0:8,descriptionType=@16@0:8,cArgumentTypes=@|:,gArgumentTypes=@|:
2018-04-26 15:06:20.866461+0800 RuntimeParseClass[29459:1870748] name=isProxy, imp=0x10c8117f0 ,typeEncoding=i16@0:8 ,argumentCount=2,cReturnType=i,getReturnType=i,descriptionName=i16@0:8,descriptionType=i16@0:8,cArgumentTypes=@|:,gArgumentTypes=@|:
2018-04-26 15:06:20.866655+0800 RuntimeParseClass[29459:1870748] name=setAddress:, imp=0x10c811910 ,typeEncoding=v24@0:8@16 ,argumentCount=3,cReturnType=v,getReturnType=v,descriptionName=v24@0:8@16,descriptionType=v24@0:8@16,cArgumentTypes=@|:|@,gArgumentTypes=@|:|@
©著作权归作者所有,转载或内容合作请联系作者
  • 序言:七十年代末,一起剥皮案震惊了整个滨河市,随后出现的几起案子,更是在滨河造成了极大的恐慌,老刑警刘岩,带你破解...
    沈念sama阅读 215,723评论 6 498
  • 序言:滨河连续发生了三起死亡事件,死亡现场离奇诡异,居然都是意外死亡,警方通过查阅死者的电脑和手机,发现死者居然都...
    沈念sama阅读 92,003评论 3 391
  • 文/潘晓璐 我一进店门,熙熙楼的掌柜王于贵愁眉苦脸地迎上来,“玉大人,你说我怎么就摊上这事。” “怎么了?”我有些...
    开封第一讲书人阅读 161,512评论 0 351
  • 文/不坏的土叔 我叫张陵,是天一观的道长。 经常有香客问我,道长,这世上最难降的妖魔是什么? 我笑而不...
    开封第一讲书人阅读 57,825评论 1 290
  • 正文 为了忘掉前任,我火速办了婚礼,结果婚礼上,老公的妹妹穿的比我还像新娘。我一直安慰自己,他们只是感情好,可当我...
    茶点故事阅读 66,874评论 6 388
  • 文/花漫 我一把揭开白布。 她就那样静静地躺着,像睡着了一般。 火红的嫁衣衬着肌肤如雪。 梳的纹丝不乱的头发上,一...
    开封第一讲书人阅读 50,841评论 1 295
  • 那天,我揣着相机与录音,去河边找鬼。 笑死,一个胖子当着我的面吹牛,可吹牛的内容都是我干的。 我是一名探鬼主播,决...
    沈念sama阅读 39,812评论 3 416
  • 文/苍兰香墨 我猛地睁开眼,长吁一口气:“原来是场噩梦啊……” “哼!你这毒妇竟也来了?” 一声冷哼从身侧响起,我...
    开封第一讲书人阅读 38,582评论 0 271
  • 序言:老挝万荣一对情侣失踪,失踪者是张志新(化名)和其女友刘颖,没想到半个月后,有当地人在树林里发现了一具尸体,经...
    沈念sama阅读 45,033评论 1 308
  • 正文 独居荒郊野岭守林人离奇死亡,尸身上长有42处带血的脓包…… 初始之章·张勋 以下内容为张勋视角 年9月15日...
    茶点故事阅读 37,309评论 2 331
  • 正文 我和宋清朗相恋三年,在试婚纱的时候发现自己被绿了。 大学时的朋友给我发了我未婚夫和他白月光在一起吃饭的照片。...
    茶点故事阅读 39,450评论 1 345
  • 序言:一个原本活蹦乱跳的男人离奇死亡,死状恐怖,灵堂内的尸体忽然破棺而出,到底是诈尸还是另有隐情,我是刑警宁泽,带...
    沈念sama阅读 35,158评论 5 341
  • 正文 年R本政府宣布,位于F岛的核电站,受9级特大地震影响,放射性物质发生泄漏。R本人自食恶果不足惜,却给世界环境...
    茶点故事阅读 40,789评论 3 325
  • 文/蒙蒙 一、第九天 我趴在偏房一处隐蔽的房顶上张望。 院中可真热闹,春花似锦、人声如沸。这庄子的主人今日做“春日...
    开封第一讲书人阅读 31,409评论 0 21
  • 文/苍兰香墨 我抬头看了看天上的太阳。三九已至,却和暖如春,着一层夹袄步出监牢的瞬间,已是汗流浃背。 一阵脚步声响...
    开封第一讲书人阅读 32,609评论 1 268
  • 我被黑心中介骗来泰国打工, 没想到刚下飞机就差点儿被人妖公主榨干…… 1. 我叫王不留,地道东北人。 一个月前我还...
    沈念sama阅读 47,440评论 2 368
  • 正文 我出身青楼,却偏偏与公主长得像,于是被迫代替她去往敌国和亲。 传闻我的和亲对象是个残疾皇子,可洞房花烛夜当晚...
    茶点故事阅读 44,357评论 2 352

推荐阅读更多精彩内容