我在iOS 5模拟器上的XCode 4.5中收到此错误.
无法打开文档"xxx.xib".该操作无法完成.文档的两个成员具有对象ID 17.这可能通过外部编辑(例如SCM合并操作)发生.
关于如何解决它的任何想法?
谢谢Pradeep
可能的重复:
如何从 Xcode4 生成 UML 图
我需要从 iOS 项目创建 UML 图。是否有一个工具可以对代码进行逆向工程并创建类图和 UML。
我有一个我们在过去 1 年中创建的大型项目,现在我们必须创建
文档。
谢谢普拉迪普。
我的组件代码如下
import {Component, EventEmitter, OnInit, Input, Output} from '@angular/core';
import {Input} from '@angular/compiler/src/core';
@Component({
selector: 'like',
templateUrl: './like.component.html',
styleUrls: ['./like.component.css']
})
export class LikeComponent implements OnInit {
@Input('isActive') isSelected: boolean;
@Input('likesCount') likesCount: number;
@Output('change') click = new EventEmitter();
constructor() {}
ngOnInit() {}
isLiked() {}
onClick() {
//Ignore below incomplete code
if (!this.isSelected) {
} else {
}
this.isSelected = !this.isSelected;
this.click.emit({newValue: this.isSelected});
}
getStyle() {
let style: string;
if (this.isSelected) {
style = 'deeppink';
} else {
style = '#ccc'; …Run Code Online (Sandbox Code Playgroud)