06 2013 档案
摘要:if (flag == SUCCESS_FLAG) { SharedAppDelegate.user = [[DMUser alloc] initWithDictionary:[JSON objectForKey:@"user"]]; TTLog(@"%lld",SharedAppDelegate.user.remind_uptime); NSUserDefaults *userDefault =[NSUserDefaults standardUserDefaults]; [userDefault setValue:[NSString string...
        阅读全文
            
摘要:for (NotificationItem *item insortedCommonArray) { if (item.type == 2 && item.time == currentTime) {//血糖检测 if (!item.selected) { continue; }//第一遍 在 timearray里面筛选,第二遍 在 这个地方筛选,漏网之鱼 switch (item.repeatType) { case 1://one time if (item.timeInterva...
        阅读全文
            
摘要:-(void)dateUtil{ NSDateFormatter *formatter =[[NSDateFormatteralloc] init]; NSDate *date = [NSDate date]; [formatter setTimeStyle:NSDateFormatterMediumStyle]; NSCalendar *calendar = [[NSCalendaralloc] initWithCalendarIdentifier:NSGregorianCalendar]; NSDateComponents *comps = [[NSDateComponents...
        阅读全文
            
摘要:并且呢 ,如果 不是效果图 显示不同,是 一致的,android 有,那么 ios也是有的。。。
        阅读全文
            
摘要:// [headerView.mSwitch performSelector:@selector(switchValueChange:) withObject:dic];这个方法是直接去调用的,而, headerView.mSwitch addTarget:self action:@selector(switchValueChange:item) forControlEvents:这个方法是 跟 事件 结合在一块的
        阅读全文
            
摘要:for (NotificationItem *item insortedCommonArray) { if (item.type == 1 && item.time == currentTime) {//用药 if (!item.parentSelected || !item.selected) { continue; } TNotificationView *notificationView = [[[UINibnibWithNibName:@"TNotificationView"bundle:nil]instantiat...
        阅读全文
            
摘要:reason: '-[__NSCFNumber isEqualToString:]: unrecognized selector sent to instance 0x8b791e0'
        阅读全文
            
摘要:1,.plist2,实现initWithCoder 和encodeWithCoder这点挺强大的,有点 把 一个 活的东西 保存起来的 效果,序列化。。。- (id)initWithCoder:(NSCoder*)decoder{ self = [super init]; if (self) { self.idNumber = [decoder decodeIntForKey:@"idNumber"]; self.patientid = [decoder decodeIntForKey:@"patientid"]; self.type = [decode
        阅读全文
            
摘要:最低:自己 交280;企业交 669;住房公基金:3760*12% = 413,上线,是一种福利,没有下线的,等于公司给你钱,由国家给你管着,等你用的时候,国家再给你,这个更纯粹一点,关于享受医疗保险的待遇,又ta是一次性补充完,fuck, 跟 他妈 那个 个人档案的管理费 差不多呢,还补交,养老保险 以个人名义去当地交,而医疗保险 在那个城市 交 ,就在那个城市看病,估计一般很难连贯起来的。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。“五险”讲的是五种保险,包括养老保险、医疗保险、失业保险、工伤保险和生育保险; “一金”指的是住房公积金。 其中养老保险、医疗...
        阅读全文
            
摘要:国家规定,退钱的时候只退给个人自己扣交的钱,单位为他交的钱全部都为国家做贡献。养老金的算法很复杂,国家每年都会把缴费基数变一次:如果你现在30岁,你现在的缴费基数是3000元,而退休年龄如果是55岁的话,那你必须在你40岁以前就开始交养老保险了,而如果你现在从30岁就开始交,交到55岁是25年,那首先肯定你能享受养老金了,其次,如果25年后你交的3000块的缴费基数已经变成了6000,那你55岁的时候首先每个月可以拿到6000×20%=1200块的基本养老金,这是国家给你的,此外你的个人帐户上的钱在25年里也积攒了不少,把缴费基数平均一下好了,(3000+6000)÷2=4
        阅读全文
            
摘要:long long remindTime =[[dic valueForKey:@"onetime"]longLongValue]; remindTime = remindTime/1000; NSDate *date = [NSDate dateWithTimeIntervalSince1970:remindTime]; NSDateFormatter *format = [[NSDateFormatter alloc] init]; [format setDateFormat:@"MM月dd日 HH:mm"]; ...
        阅读全文
            
摘要:有点像 航服 里面的零利卡 提醒的改造,//重新改造数据结构,1,把所有的item按照时间排序,然后从数组里面,然后再来三次for循环,分别根据type查找返回: { "id": "4", "patientid": "2", "type": "2", "time_start": "1372262400000", "time_end": "1374508799000", "repeat_t
        阅读全文
            
摘要:2013.6.271,这周 谈工资,最好面谈,截止时间 月底,预期谈判过程,4.5k,然后 下滑到 4k,待遇最后定为 4k+吃+住 + 五险一金,一个 忧虑,如果 给不了 4k怎么办?是继续留下来,还是 辞职,如果辞职了,在北京,还是 去上海,后续牵扯到很多事情。2,发说说 对头脑的影响,一个是 全局思考线程,一个是全局储存线程;3,最近感觉,身体 睡醒特不爽,脑子运动起来特不爽;4,项目本身的压力,要赶爱康360项目,有些没有做过,已经说好周末要搞定来着;5,停下来后的感觉不爽,好像突然截断了一样,在工作上不想继续,在生活上也找不到乐子,不过昨天骑自行车挺好的;6,还媳妇,还阿明钱7,买手
        阅读全文
            
摘要:蕨草抚摸我荨麻刺痛我荆棘弄伤我城市磨砺我家庭迎接我房间抚慰我敌人激起我的斗志战斗燃起我的热血胜利与否我不在乎白天亮得晃眼夜晚让我安静黑夜将我包裹统治生压迫忍受生奴性独处生自由
        阅读全文
            
摘要:裸露出你的芳体,让我们手足相连,……让你我的双唇紧贴,……情欲之链锁住了一对恋人,……二人有如双藤绞合,枝须相缠不分彼此,一心好比同根连体,如胶似漆哪肯分离?——摘自古罗马诗人Paulus Silentiarius
        阅读全文
            
摘要:view 小一点,cell大一点,tableview 搞个透明的,就ok了,
        阅读全文
            
摘要:-(void)calculateHeight:(NSArray *)arr{ if (!heightArray) { heightArray = [[NSMutableArray alloc] init]; } for (TagItemInfo *info in arr) { NSString *contentStr = info.content; CGSize contentSize = [contentStr sizeWithFont:[UIFontsystemFontOfSize:11.0] constrainedToSize:CGSizeMake(280, MA...
        阅读全文
            
摘要:doctorCell.headImageView.layer.masksToBounds = YES;《据说,没有这个 他 圆不起来》 doctorCell.headImageView.layer.cornerRadius = 5;
        阅读全文
            
摘要:[mutableAttributedString addAttribute:(NSString *)(kCTForegroundColorAttributeName) value:(id)RGBCOLOR(142, 142, 142).CGColor range:beforeRange];-(void)adjustColor:(MedicineView *)medicineView{ [medicineView.contentLabel setText:medicineView.contentLabel.text afterInheritingLabelAttributesAndCon...
        阅读全文
            
摘要:4.5k,最低 4k +吃 + 住 = 5k + 住 +五险一金1,开发人员少,并不是独立做一个项目 才值 4k2,承认技术难度 跟 android并没有什么差别,甚至更容易3,同学,张,7k,任 5.5k, 陈 5.5k
        阅读全文
            
摘要:helpCell.mImageView.image = [UIImage imageNamed:imageName]; helpCell.mImageView= [uiiageivew alloc ] initwithimage [UIImage imageNamed:imageName]];
        阅读全文
            
摘要:1,实现1是找不到的。。。#import #import "RepositoryCommonView.h"@interface RepositoryViewController : UIViewController@property(nonatomic,strong) IBOutletUIScrollView *myScrollView;@end#import #import "RepositoryCommonView.h"2,实现2 是可以的。。。@interface RepositoryDetailViewController : UIViewCon
        阅读全文
            
摘要:Undefined symbols for architecture i386:
        阅读全文
            
摘要:CGFloat originX = 10 ;如果这个变量不 设置 数值的话,会随机 初始化的,-(UIView *)initData:(NSDictionary *)dic{ CGFloat y = 25; CGFloat originX ; // TTLog(@"originX :%0.0f",originX);//诡异的代码,用的话 正常,不用的话就不正常。。。 NSString *key = [[dic allKeys]objectAtIndex:0]; self.titleLabel.text = key; NSArray *repositoryArray = [d
        阅读全文
            
摘要:CGSize specialitySize = [speciality sizeWithFont:self.specialityLabel.fontconstrainedToSize:CGSizeMake(self.specialityLabel.frame.size.width, MAXFLOAT) lineBreakMode:NSLineBreakByWordWrapping];
        阅读全文
            
摘要:CGSize size = [[TTGlobalDatasharedInstance].config.urgentMethodsizeWithFont:self.urgentLabel.fontconstrainedToSize:CGSizeMake(self.urgentLabel.frame.size.width, MAXFLOAT) lineBreakMode:NSLineBreakByWordWrapping]; [self.urgentLabelsetFrame:CGRectMake(self.urgentLabel.frame.origin.x, self.urgentLabe..
        阅读全文
            
摘要:NSString *remarkString = [remarkTextField.textstringByTrimmingCharactersInSet:[NSCharacterSetwhitespaceCharacterSet]]; if (remarkString.length != 0) { [dic setObject:remarkString forKey:@"memo"]; }
        阅读全文
            
摘要:+ (NSArray *) sortedArrayFromDictionary:(NSDictionary*)dict{ if (dict == nil) return nil; NSArray *keys = [dict allKeys]; NSArray *sortedKeys = [keys sortedArrayUsingSelector:@selector(compare:)]; NSMutableArray *array = [NSMutableArrayarrayWithCapacity:keys.count]; for (NSString *key in sorted...
        阅读全文
            
 
                    
                 浙公网安备 33010602011771号
浙公网安备 33010602011771号