With my project (Coco2d-x) open in Xcode and my (registered developer) Apple account as the [Team] the system does not recognise the iPhone (logged into iCloud with my registered developer account) when it is plugged into the usb. If I switch my [Team] in Xcode to 'None' or use a non-developer registered AppleID as the [Team] the iPhone is recongised. Please tell me what steps I need to take to allow Xcode to 'see' the phone when I am using my 'proper' developer AppleID? Thanks AndyF.
zx12a1
Posts
-
Xcode and Unrecognised iPhone -
Entity Framework Lists, Static Resources and Filtering a BindingListCollectionViewThanks for the thoughts. You are right, the event is fired too early even though it appears after the various code required to 'load' the data. The GUI (this) is a user control and its main property dependency ActiveWell is synchronized with a property on an associated control. The associated control sets the ActiveWell property on this control. This control listens to its change property events and 'loads' the entity graph, as described above, and then fies another event. The control listens to its own events and attemps to get the collectioin for filtering..... So far so bad.
-
Entity Framework Lists, Static Resources and Filtering a BindingListCollectionViewHi my view model has a dependency property ActiveWellLocation which is an ADO.Net Entity framework object, wellLocation, which is associated with wellSample which has an associated list wellAliquot, so: ActiveWellLocation.wellSample.wellAliquot - is a collection and I can successfully bind to my datagrid
<dg:DataGrid x:Name="additivesDataGrid" HorizontalAlignment="Center" Margin="2" Width="302" Height="150"
AutoGenerateColumns="False"ItemsSource="{Binding ActiveWellLocation.wellSample.wellAliquot}"
....
</dg:DataGrid>I need to filter my wellAliquot collection and thus investigated indirecting thru a static resource. The following snippets of the CollectionViewSource and associated binding on the datagrid also bind ok:
<CollectionViewSource Source="{Binding ActiveWellLocation.wellSample.wellAliquot}"
x:Key="WellAliquotsWithAdditives" />with
lt;dg:DataGrid x:Name="additivesDataGrid" HorizontalAlignment="Center" Margin="2" Width="302" Height="150"
AutoGenerateColumns="False"
ItemsSource="{Binding Source={StaticResource WellAliquotsWithAdditives}}"
....
</dg:DataGridI was intending to filter the CollectionViewSource (of type BindingListCollectionView) as my dp ActiveWellLocation updates. In short my view model fires an event to which the user control listens. In the event handler I have tried a couple of different ways to get hold of the resource but they fail, one example was
public void PropertyChangedListener(object sender, PropertyChangedEventArgs e) { string name = e.PropertyName; switch (name) { case Avacta.Optim.Client.Models.PlateSampleViewModel.PLATE: object srcWellAliquotsWithAdditives = this.Resources\["WellAliquotsWithAdditives"\]; BindingListCollectionView blcv = (BindingListCollectionView)CollectionViewSource.GetDefaultView(srcWellAliquotsWithAdditives); blcv.CustomFilter = "additive <> null"; break; default: break; } }
To date I have been unable to get the resource and therefore the view. (also I expect the filter 'code' is not suitable, any clues to the correct filter appreciated) Any ideas as to the 'correct' approach? Cheers AndyF.