如何使用新的Apple ID更新Xcode?(How to update Xcode with a new Apple ID?)

我最近更改了苹果ID,我已经在Mac上下载了另一个apple ID的xCode。

不是mac商店通知我有一个新版本的xCode,但我需要插入旧的Apple ID的密码,我不能只是使用新的。 似乎应用程序与旧的Apple ID相关联。

我甚至不能使用新的苹果代码下载一个新的xCode,因为它只能让我选择使用旧的Apple ID进行更新。


I've recently changed apple ID and I've downloaded xCode on mac with another apple ID.

Not the mac store informs me there is a new version for xCode but I need to insert password of the older Apple ID, and I can't just use the new one. It seems the app is associated with the old apple ID.

I can't even download a new xCode using the new apple id, because it only gives me the option to update it with the old Apple ID.


原文:https://stackoverflow.com/questions/11655116
2023-12-16 18:12

满意答案

使用$watch来检测范围变量的任何变化。

myApp.controller('MyCtrl1', ['$scope', '$http', function($scope, http) {
   console.log($scope.boolChangeClass);

   $scope.$watch(function(){
       return $scope.boolChangeClass;
   }. function() {
      console.log($scope.boolChangeClass); // will be called when the values gets changed
   })

}]);

Use $watch to detect any change in the scope variable.

myApp.controller('MyCtrl1', ['$scope', '$http', function($scope, http) {
   console.log($scope.boolChangeClass);

   $scope.$watch(function(){
       return $scope.boolChangeClass;
   }. function() {
      console.log($scope.boolChangeClass); // will be called when the values gets changed
   })

}]);

相关问答

更多

在AngularJS中滚动到div的顶部?(Scroll to top of div in AngularJS?)

我有同样的问题,我通常用以下通用指令来解决它。 它监听给定的事件,并且每当发生该事件时,就会将元素滚动回y = 0 。 您需要做的只是在列表更改时,在您的控制器中$broadcast事件。 angular.module("ui.scrollToTopWhen", []) .directive("scrollToTopWhen", function ($timeout) { function link (scope, element, attrs) { scope.$on(attrs.s...

如何在angularjs和mongoose中切换多个表(文档)(How to switch among multiple tables (documents) in angularjs and mongoose)

我通过创建第二个模型来解决这个问题: var mongoose = require('mongoose'), Schema = mongoose.Schema; var TicketSchema = new Schema({ Unit_descriptor: String, ... Total_tons: Number }, { strict: false }); var table = ''; function reloadForUser(user){ var userTa...

用户滚动时的AngularJS切换路径(AngularJS switch path when user scroll)

使用$watch来检测范围变量的任何变化。 myApp.controller('MyCtrl1', ['$scope', '$http', function($scope, http) { console.log($scope.boolChangeClass); $scope.$watch(function(){ return $scope.boolChangeClass; }. function() { console.log($scope.bool...

在Angularjs中的字段之间切换焦点[重复](Switch focus between fields in Angularjs [duplicate])

我希望这会帮助你。谢谢你。 HTML <input type="text" name="username" id="username" ng-model="username" placeholder="Username" required="required" class="input-txt" ng-keyup="$event.keyCode == 13 ? enter() : null" focus-me="setFocusValueName"><br> <input type="passwo...

如果我在UITabBar之间切换UIViewController,则无法滚动回顶部(Can't scroll back to top, if I switch between UIViewController with UITabBar)

我一直在努力解决这个问题! 不幸的是,我一直无法弄清究竟发生了什么或造成了什么(苹果方面的错误?),但我创造了一种看起来相当有效的方法。 我在做什么是viewWillDissapear方法我保存scrollview边界高度位置本地浮动变量,然后完全重置scrollview顶部。 然后在didLayoutSubviews方法中,我滚动回到保存的位置。 这是我的代码。 设置变量用于存储最后一个滚动值并延迟实例化: @property (nonatomic) float lastScrollHeight...

以编程方式切换时,Switch Toggled事件将触发(Switch Toggled event fires when toggled programmatically)

注意:这个解决方案对我来说是一个实验 - 所以我建议,如果你决定实现它,请谨慎使用它。 基本上,目的是创建一个仅查看解决方案,该解决方案能够跟踪IsToggled属性的设置方式 - 无论是通过触发器,绑定上下文还是tap操作(类似于为BindableObject BindingContext维护的属性上下文) ) 假设我们有一个自定义事件,只有当用户点击开关时才会触发 - 这个问题应该解决。 只需在Switch添加一个点击识别Switch似乎不起作用。 我们有两个选择: 创建自己的自定义控件,提供...

AngularJS切换用户选择的css主题(AngularJS switch css theme on user selection)

我认为这不是AngularJS的问题。 我认为你的方法应该不同。 据我所知,主题功能通常实现如下。 为每个主题创建一个CSS文件(cerulean,cosmo,yeti)。 你应该编辑CSS文件不要相互冲突。 (将.cerulean,.cosmo,.yeti放在所有CSS选择器前面,如果使用sass或更少,将会更容易。) 从HTML头加载所有CSS文件。 <link rel="stylesheet" href="/bootstrap/css/bootstrap_cerulean.min.css">...

滚动时垂直全高div之间的动画切换(Animated switch between vertical full-height divs when scroll)

这是一个小代码片段,可以帮助您完成您想要做的事情。 基本上可以有不同的这种功能的实现。 尝试阅读我在代码中放置的评论,使用代码片段,理解逻辑并使其更好。 如果您有任何问题,请告诉我。 $(document).ready(function() { /* define some helper variables */ var /* body jQuery wrapper */ body = $('html, body'), /* wind...

当用户切换静音开关时,静音(Mute Sound When User Toggles Mute switch On)

如果静音开关打开,您可能不需要实际测试,只需告诉您的AudioSession适合的类别播放模式,让iOS决定声音是否应该播放。 https://developer.apple.com/library/content/documentation/Audio/Conceptual/AudioSessionProgrammingGuide/AudioSessionCategoriesandModes/AudioSessionCategoriesandModes.html 您需要AVAudioSessio...

在UIScrollView之间切换(Switch between UIScrollView)

一种策略是检测何时想要切换滚动视图,然后在屏幕外设置其中一个并在另一个上设置动画。 例如,当前正在使用scrollViewB而scrollViewB是offScreen。 当您需要在屏幕上切换scrollViewB并scrollViewA屏幕外切换scrollViewB ,请使用UIAnimation和scrollingEnabled 。 - (void)timeToSwitchScrollViews { [UIView animateWithDuration:5 animations: ...

相关文章

更多

MongoDB学习之路 (五):更新操作符(Update Operators).2nd

通常文档只会有一部分要更新。利用原子的更新修改器,可以使得这种部分更新极为髙效。更新修改器是种特殊的键 ...

Stack Overflow Architecture Update - Now At 95 Million Page Views A Month

A lot has happened since my first article on theSta ...

配置solr自动生成id

schema.xml ======================================== ...

solr4.0 id 自动生成

一、配置schema.xml文件 1、添加fieldType &lt;types&gt; & ...

solr update接口常用方法

solr索引数据更新接口:http://localhost:8080/solr/update 有以下一 ...

Solr 4.0: Partial documents update

http://solr.pl/en/2012/07/09/solr-4-0-partial-docum ...

Becoming a data scientist

Data Week: Becoming a data scientist Data Pointed, ...

7月最新发布11.2.0.1.2 Patch set update

7月13日,11g release 2 的第二个补丁集更新发布了;9i的最终版本为9.2.0.8,10 ...

微信将推指纹支付 "指付通"会与Touch ID整合吗

  有消息称微信下一版本将推指纹支付“指付通”,解决手机丢失资金安全的问题(这个应该是针对阿里手机支付 ...

使用TabPanel时,如果两个页面存在相同的id。

我左边是一颗tree,右边是TabPanel。当点击一个结点 A,autoload一个页面 A.jsp ...

最新问答

更多

获取MVC 4使用的DisplayMode后缀(Get the DisplayMode Suffix being used by MVC 4)

我用Google搜索了一个解决方案。 “EnumDisplayModeProvider”是我自己设置网站的各种模式的枚举。 public EnumDisplayModeProvider GetDisplayModeId() { foreach (var mode in DisplayModeProvider.Instance.Modes) if (mode.CanHandleContext(HttpContext)) {

如何通过引用返回对象?(How is returning an object by reference possible?)

这相对简单:在类的构造函数中,您可以分配内存,例如使用new 。 如果你制作一个对象的副本,你不是每次都分配新的内存,而是只复制指向原始内存块的指针,同时递增一个也存储在内存中的引用计数器,使得每个副本都是对象可以访问它。 如果引用计数降至零,则销毁对象将减少引用计数并仅释放分配的内存。 您只需要一个自定义复制构造函数和赋值运算符。 这基本上是共享指针的工作方式。 This is relatively easy: In the class' constructor, you allocate m

矩阵如何存储在内存中?(How are matrices stored in memory?)

正如它在“熵编码”中所说的那样,使用Z字形图案,与RLE一起使用,在许多情况下,RLE已经减小了尺寸。 但是,据我所知,DCT本身并没有给出稀疏矩阵。 但它通常会增强矩阵的熵。 这是compressen变得有损的点:输入矩阵用DCT传输,然后量化量化然后使用霍夫曼编码。 As it says in "Entropy coding" a zig-zag pattern is used, together with RLE which will already reduce size for man

每个请求的Java新会话?(Java New Session For Each Request?)

你是如何进行重定向的? 您是否事先调用了HttpServletResponse.encodeRedirectURL()? 在这里阅读javadoc 您可以使用它像response.sendRedirect(response.encodeRedirectURL(path)); The issue was with the path in the JSESSIONID cookie. I still can't figure out why it was being set to the tomca

css:浮动div中重叠的标题h1(css: overlapping headlines h1 in floated divs)

我认为word-break ,如果你想在一个单词中打破行,你可以指定它,这样做可以解决问题: .column { word-break:break-all; } jsFiddle演示。 您可以在此处阅读有关word-break属性的更多信息。 I think word-break, with which you can specify if you want to break line within a word, will do the trick: .column { word-break

无论图像如何,Caffe预测同一类(Caffe predicts same class regardless of image)

我认为您忘记在分类时间内缩放输入图像,如train_test.prototxt文件的第11行所示。 您可能应该在C ++代码中的某个位置乘以该因子,或者使用Caffe图层来缩放输入(请查看ELTWISE或POWER图层)。 编辑: 在评论中进行了一次对话之后,结果发现在classification.cpp文件中错误地删除了图像均值,而在原始训练/测试管道中没有减去图像均值。 I think you have forgotten to scale the input image during cl

xcode语法颜色编码解释?(xcode syntax color coding explained?)

转到: Xcode => Preferences => Fonts & Colors 您将看到每个语法高亮颜色旁边都有一个简短的解释。 Go to: Xcode => Preferences => Fonts & Colors You'll see that each syntax highlighting colour has a brief explanation next to it.

在Access 2010 Runtime中使用Office 2000校对工具(Use Office 2000 proofing tools in Access 2010 Runtime)

你考虑过第三方拼写检查吗? 您可以将在C#中开发的自定义WinForms控件插入访问数据库吗? VB6控件怎么样? 如果你能找到一个使用第三方库进行拼写检查的控件,那可能会有效。 Have you considered a third party spell checker? Can you insert a custom WinForms controls developed in C# into an access database? What about a VB6 control? If

从单独的Web主机将图像传输到服务器上(Getting images onto server from separate web host)

我有同样的问题,因为我在远程服务器上有两个图像,我需要在每天的预定义时间复制到我的本地服务器,这是我能够提出的代码... try { if(@copy('url/to/source/image.ext', 'local/absolute/path/on/server/' . date("d-m-Y") . ".gif")) { } else { $errors = error_get_last(); throw new Exception($err

从旧版本复制文件并保留它们(旧/新版本)(Copy a file from old revision and keep both of them (old / new revision))

我不确定我完全明白你在说什么。 你能编辑你的帖子并包含你正在做的Subversion命令/操作的特定顺序吗? 最好使用命令行svn客户端,以便容易为其他人重现问题。 如果您只是想获取文件的旧副本(即使该文件不再存在),您可以使用如下命令: svn copy ${repo}/trunk/moduleA/file1@${rev} ${repo}/trunk/moduleB/file1 其中${repo}是您的存储库的URL, ${rev}是您想要的文件的版本。 这将恢复该文件的旧版本,包括最高版本