Skip to content

Commit

Permalink
xcode: remove TutorialHelloWorld ; better use ./prepare.py -G XCode i…
Browse files Browse the repository at this point in the history
…nstead and updated README accordingly
  • Loading branch information
bagage committed Jun 23, 2016
1 parent 1c78556 commit 7754ff3
Show file tree
Hide file tree
Showing 8 changed files with 26 additions and 1,162 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Group changes to describe their impact on the project, as follows:
- Push notifications are now configurable per account
- Update to latest OpenH264 version to fix issue with Xcode 7.3 and arm64 devices [openh264 issue 2434]
- Default transport reset to "UDP" for external accounts in assistant since most providers only support that
- Removed deprecated polarssl submodule, using mbedtls instead
- Remove deprecated polarssl submodule, using mbedtls instead

### Fixed
- Fix invalid photo rotation when using Camera for avatars
Expand Down
40 changes: 23 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,31 +114,37 @@ Sometime it can be useful to step into liblinphone SDK functions. To allow Xcode
## Debugging mediastreamer2

For iOS specific media development like audio video capture/playback it may be interesting to use `mediastream` test tool.
The project `submodule/liblinphone.xcodeproj` can be used for this purpose.
You can build it using the following:

./prepare.py -G Xcode -g && make
# then open the project for a given architecture (here x86_64, to run on simulator):
open WORK/ios-x86_64/Build/linphone_builder/EP_linphone_builder.xcodeproj

Then you can select mediastream target and launch it on device. You can configure scheme to pass custom parameters.

# Quick UI reference

- The app is contained in a window, which resides in the MainStoryboard file.
- The delegate is set to LinphoneAppDelegate in main.m, in the UIApplicationMain() by passing its class
- Basic layout:

MainStoryboard
|
| (rootViewController)
|
PhoneMainView ---> view #--> app background
| |
| #--> statusbar background
|
| (mainViewController)
|
UICompositeView : TPMultilayout
MainStoryboard
|
| (rootViewController)
|
PhoneMainView ---> view |--> app background
| |
| |--> statusbar background
|
| (mainViewController)
|
#---> view #--> statusBar
|
#--> contentView
|
#--> tabBar
UICompositeView : TPMultilayout
|
|---> view |--> statusBar
|
|--> contentView
|
|--> tabBar


When the application is started, the phoneMainView gets asked to transition to the Dialer view or the Assistant view.
Expand Down
5 changes: 0 additions & 5 deletions TutorialHellowWorld/README

This file was deleted.

1,101 changes: 0 additions & 1,101 deletions TutorialHellowWorld/hello-world.xcodeproj/project.pbxproj

This file was deleted.

8 changes: 0 additions & 8 deletions TutorialHellowWorld/hello_world_Prefix.pch

This file was deleted.

28 changes: 0 additions & 28 deletions TutorialHellowWorld/helloworld-Info.plist

This file was deleted.

2 changes: 1 addition & 1 deletion submodules/cmake-builder
Submodule cmake-builder updated from e3fc56 to 6c0a6c
2 changes: 1 addition & 1 deletion submodules/linphone
Submodule linphone updated from 747209 to 228859

0 comments on commit 7754ff3

Please sign in to comment.