Getting Started with Developing for the Apple WatchMurtza Manzur
Learn how to get started with Apple Watch app development. This present covers four main topics: (1) Architecture of an Apple Watch app; (2) A Hello World app tutorial for the Apple Watch; (3) An advanced app tutorial; (4) How to communicate from an Apple Watch app to an iOS app.
WatchKit is an API that extends Apple's development environment for iOS applications to allow apps / notifications to extend to the Apple Watch product. WatchKit is the Objective-C and Swift framework created by Apple to allow third-party developers to create apps for the Apple Watch ecosystem.
Getting Started with Developing for the Apple WatchMurtza Manzur
Learn how to get started with Apple Watch app development. This present covers four main topics: (1) Architecture of an Apple Watch app; (2) A Hello World app tutorial for the Apple Watch; (3) An advanced app tutorial; (4) How to communicate from an Apple Watch app to an iOS app.
WatchKit is an API that extends Apple's development environment for iOS applications to allow apps / notifications to extend to the Apple Watch product. WatchKit is the Objective-C and Swift framework created by Apple to allow third-party developers to create apps for the Apple Watch ecosystem.
A tutorial that helps you to build your first android app easily. Go through the steps mentioned in this tutorial. You will have your first android app ready. This is as simple as that.
Introduction to Interactive Shiny Web ApplicationOlga Scrivner
2 hour hands-on workshop on how to create, deploy and use Shiny in research and teaching. The materials for the workshop are https://languagevariationsuite.wordpress.com/2018/11/27/introduction-to-interactive-shiny-web-applications
Data Visualization: Introduction to Shiny Web ApplicationsOlga Scrivner
In this workshop, I will introduce you to the concept of Declarative Reactive Web Frameworks, allowing for interactive user-friendly data visualization and data analytics, particularly Shiny. Shiny is an R package that creates interactive applications for data visualization. You will learn some Shiny basics: how to build your reactive app and deploy it to the server
Using prime[31] to connect your unity game to azure mobile servicesDavid Voyles
Using prime[31] to connect your unity game to azure mobile services. More info at my blog: http://davevoyles.azurewebsites.net/prime31-azure-plugin-win8-wp8-unity-games-part-3/
A tutorial that helps you to build your first android app easily. Go through the steps mentioned in this tutorial. You will have your first android app ready. This is as simple as that.
Introduction to Interactive Shiny Web ApplicationOlga Scrivner
2 hour hands-on workshop on how to create, deploy and use Shiny in research and teaching. The materials for the workshop are https://languagevariationsuite.wordpress.com/2018/11/27/introduction-to-interactive-shiny-web-applications
Data Visualization: Introduction to Shiny Web ApplicationsOlga Scrivner
In this workshop, I will introduce you to the concept of Declarative Reactive Web Frameworks, allowing for interactive user-friendly data visualization and data analytics, particularly Shiny. Shiny is an R package that creates interactive applications for data visualization. You will learn some Shiny basics: how to build your reactive app and deploy it to the server
Using prime[31] to connect your unity game to azure mobile servicesDavid Voyles
Using prime[31] to connect your unity game to azure mobile services. More info at my blog: http://davevoyles.azurewebsites.net/prime31-azure-plugin-win8-wp8-unity-games-part-3/
All You Need To Know About Ad Network MediationInMobi
The mobile advertising ecosystem has exploded. With hundreds of mobile ad networks out there - each with a unique set of advertisers, mobile app entrepreneurs find that to maximize yield, they must work with multiple ad networks concurrently. Ad Network Mediation is the technology that is used to accomplish this.
This presentation will cover the key components developers need to know in order to fully understand ad network mediation, its benefits and how to choose the right mediation platform.
Mobile marketing strategy guide for marketers to succeed in 2017.
Check out our ultimate survival kit for mobile marketers in 2017- http://www.slideshare.net/inmobi/the-ultimate-survival-kit-for-mobile-marketers-in-2017
Decoding Monetization Methods For Dating AppsInMobi
Swipe right - the new age dating gesture, has permeated the mobile world. Today, users end up spending almost 90 minutes of their day sifting through myriad potential partners, in search of the perfect match. This is greater than the average time spent by a user on traditional social networking sites, creating an alternate social network that is distinctly different from its older cousin.
How can mobile developers building dating apps tap into this growing opportunity? Dating apps enjoy long user engagement sessions and access to deep user data, presenting a unique opportunity for monetization that is yet to be realized fully. Recently, players like Starbucks and 20th Century Fox launched cheeky, innovative advertising campaigns on dating apps - lighting the way for several other advertisers. Even developers who are not building dating apps, can learn from the mechanics of this app category.
Join this webinar to :
Learn best practices around designing the app experience for your dating app
Get a comprehensive overview of monetization methods for dating apps
Learn how to leverage mobile advertising effectively to maximize user engagement & revenues
Learn how other app categories too can benefit from the mechanics of successful dating apps
Even if you can’t make the presentation, do sign-up and we will send you a recording of the webinar.
Top 2017 Mobile Advertising Trends in IndonesiaInMobi
2016 was an eventful year for mobile in Asia Pacific especially in Indonesia, as more consumers are deserting desktops for mobile devices. Right from socialising, banking, planning their travel, to purchasing groceries mobile has become ingrained in a consumer’s life.
Mobile, in short, has become a catalyst for transformation in the way we live our lives.
As mobile technology and innovation continue to drive the way forward, here are the key mobile marketing research insights of 2017 in Indonesia based on InMobi’s network data.
The app we'll build in this tutorial is going to let users get connected to their Google account, download their calendars, and create a new event with a description and a date/time. The new event will be posted to a calendar that the user selects.
Intro to IBM Bluemix DevOps Services, a Workshop with a Cloudant twistLauren Hayward Schaefer
Have you found my Intro to IBM Bluemix DevOps Services open lab (http://www.slideshare.net/LaurenHaywardSchaefe/open-lab-44892944) or article series (http://www.ibm.com/developerworks/cloud/library/cl-intro1-app/index.html) and wished the database was Cloudant instead of MongoLab? Your wish is my command!
This workshop will introduce you to the basics of deploying to Bluemix, planning your work, coding in the web IDE, creating a delivery pipeline, and debugging your Bluemix app. And you'll even get to use Cloudant!
Code camp 2011 Getting Started with IOS, Una DalyUna Daly
Presentation at Code Camp on Oct 8, 2011, 1:15 pm in the Foothill College Cafeteria. Overview of iOS Platform and development with demonstration of building two applications that demonstrate the model-view-controller architecture and feature buttons, textfields, labels, and alerts.
Introduction to tvOS app Development !Snehal Patil
Want to learn tvOS app development - Check out my tech talk on why applications on TV are important and how to develop application on tvOS ! Thank you Groupon and @WWCode for sponsoring it !
iOS development Crash course in how to build an native application for iPhone.
i will be start from beginning till publishing on Apple Store step by step.
this session # 4
Responding to Coronavirus: How marketers can leverage digital responsiblyInMobi
The novel Coronavirus spread across the globe has led to significant business impact, leaving no business untouched. In terms of responsiveness, brands should take note of how consumer behaviour has changed. With people spending more time at home, brands – B2B or B2C - can leverage the digital medium, especially mobile, to connect with their customers. As data directs, brands should closely monitor media consumption habits and patterns to better allocate media spends and contextualise their messaging. However, advertisers should be sensitive to the situation when designing their digital brand messaging and advertising – by using the medium more responsibly. Join us as LinkedIn and InMobi explore how advertisers can leverage digital responsibly during these challenging times.
2020: Celebrating the Era of the Connected ConsumerInMobi
India has witnessed a digital transformation unlike any other in the last decade, with the nation now becoming the second-largest internet market across the globe. We examine the convergence of the three C’s: Context, Commerce, and Content and discuss how together, it is helping build a mobile economy that works for everyone.
India is inching closer to becoming a trillion dollar digital economy with rapidly expanding digital infrastructure and greater accessibility to technology. With 90% of India set to own a mobile phone by 2022, it comes as no surprise that mobile is the primary driver of this transformation. For the marketer, therefore, it becomes extremely crucial to gauge the depths and dynamics of the Indian mobile user. This report provides a repository of information that taps into these learnings.
Unlocking the True Potential of Data on MobileInMobi
While over 90% of a consumer’s time is spent on smartphones, only 53% of advertising budgets are being spent to reach them here. Can mobile data help advertisers make the successful switch to making a true investment and go digital-first? As a marketer, your biggest struggle is the effort to build a holistic persona of every user by combining all data assets across every touch point you have had with your users.
InMobi State of Mobile Video Advertising Report 2018InMobi
In our State of Mobile Video Advertising 2018 Report, we highlighted how advertisers and publishers alike all around the world have increasingly embraced in-app video advertising over the past two plus years.
As programmatic becomes even more popular, app developers today are rethinking their old monetization strategies and are increasingly turning to mediation and header bidding. This space, however, can be confusing, with many players claiming to offer best-of-breed in-app header bidding technology. But does what they offer live up to the hype? Are you as a publisher equipped to make the best choice while maximizing revenue and yield?
Access this presentation to:
1. Learn more about mediation best practices
2. Understand the challenges with traditional waterfall mechanisms
3. Get to the bottom of the differences between header bidding and true unified auctions
This preview of the full report is based on the survey of 800+ app marketers from around the world. The survey revealed compelling insights into the world of mobile app marketing including the goals, challenges, budgets as well as strategies for user acquisition, retention, measurement, and attribution used by app marketers.
Download the full report here - http://go.inmobi.net/the-state-of-mobile-app-performance-marketing-report
A Cure for Ad-Fraud: Turning Fraud Detection into Fraud PreventionInMobi
The digital advertising ecosystem continues to be threatened by an ever-expanding and evolving web of ad fraud, leaving advertisers scrambling to scrutinize the authenticity of each impression and every subsequent user interaction. Fraud is destroying value and trust within the mobile advertising ecosystem with every passing day and, according to a recent study, it's estimated to cost advertisers $16.4 billion in 2017. While advertisers are the obvious victims, other players in the media supply chain such as agencies and networks are also greatly impacted. In order to truly eradicate fraud, advertisers, ad networks and attribution technologies must form a united front to turn ad fraud detection into ad fraud prevention.
This webinar will discuss the state of the art and latest advances in technology in the war against the invisible army of advertising fraudsters and explore strategies in which various industry stakeholders can work together towards stamping out ad fraud once and for all.
In this PPT you'll learn:
What are the incentives for mobile ad fraud?
What does fraud look like and how can it be detected?
How can the industry work together to eradicate ad fraud?
[Webinar] driving accountability in mobile advertisingInMobi
Digital ad spending across the world is growing exponentially and mobile is owning the lion's share, adding value with every passing day. However, all is not well on the mobile front - it's time the mobile ecosystem woke up to reality and devised a plan to battle fraudsters who are eroding trust and stealing valuable ad dollars. To rein in the malicious players, all players including advertisers, networks, publishers and independent measurement platforms need to come together to address the 3 core issues of Brand Safety, Viewability and Fraud.
The Brand Marketer's Guide to Mobile Video ViewabilityInMobi
Today, mobile video is eating the world! With an increase in video viewing across connected devices, globally, by 2018, 64% of global online video views are expected to be on mobile. In such a scenario, mobile video ads are going to dominate the future of marketing. However, with mobile video advertising still in its nascent form, there are several challenges for the mobile advertising industry to collectively address in order to move forward. And key amongst these is the issue of mobile video viewability. In this PPT, you will understand:
What mobile video viewability really means
Global definitions of mobile video viewability
Viewability through independent measurement
What to look for when choosing the right viewability partner
The InMobi Yearbook shares with you highlights that capture 2016’s key mobile advertising developments, industry changes and how these changes will shape the coming year. Advertisers and publishers can now create a winning game plan for 2017 equipped with powerful trends gleaned from InMobi’s vast network, award-winning creatives and deep insights from industry leaders.
Boost Retention on Mobile and Keep Users Coming Back for More!InMobi
More than half of mobile app users today lose interest or uninstall within a week. In such a transient environment, the onus is on the app developer to ensure that active users continue to engage and dormant users re-engage with the app. But what steps do you need to take to achieve this? Well, the good thing is that mobile is one of the most measurable ecosystems in the world! Going beyond just app installs, deep dive into your in-app user data to measure and optimize for maximizing retention.
Download this slide to learn:
1. Importance of Mobile Retention
2. Insights into retention rates across different app categories in India
3. How to leverage tracking and attribution partners to boost user retention
4. Evolution of mobile retention from last click attribution to multi-touch attribution
Building Mobile Creatives that Deliver Real ResultsInMobi
Advertising is storytelling. It's about bringing a brand experience come alive through a compelling ad experience. Mobile-first creative technology exists to create such immersive ad experiences on mobile devices. Today, mobile advertising leverages device features such as front-facing cameras and gyroscopes to create compelling brand stories that drive brand consideration and purchase. Mobile creatives across formats such as rich media, video and native are transforming the power of mobile advertising today.
Watch this video to:
- Understand the key steps to creating mobile creatives specifically for mobile devices
- Discover what goes on behind creating InMobi’s award-winning creatives
- Learn about key findings from InMobi and Mindshares’ research on the “Power of Integrating TV and Mobile campaigns”
Everything you need to know about mobile video ads in india and apacInMobi
Designed to help marketers make smarter decisions on their video advertising strategy, this PPT covers some of the key areas such as what are the trending video ad formats, how you can increase their revenue and boost user retention & more.
Everything a developer needs to know about the mobile video ads InMobi
Snapchat is persuading the world to go vertical, Facebook is busy bringing 360° videos to the users and in some corner, marketers are overwhelmed with the form-factors of the storytelling. Although the popularity of these mobile videos is soaring among the end-users, the right way of leveraging the burgeoning video form-factors to achieve marketing and monetization goals is far from being understood.
This presentation will help developers to take smarter decisions on their video advertising strategy, which includes:
1. What are the trending video ad formats?
2. How can publishers increase their revenue and boost user retention by adding the video to their monetization mix?
3. How can marketers leverage video advertising to engage and acquire users?
Programmatically Speaking with InMobi and Rubicon ProjectInMobi
Programmatic advertising is the latest buzzword to have garnered a loyal following in the West. Learn about trends on programmatic ad spends across markets and get insights on its state in India. Watch the video @ https://youtu.be/DnehXULVDHc
How Successful Brand Marketers Combine the Power of Mobile Data Science And C...InMobi
Brands have complex goals when it comes to mobile marketing. Crafting effective creatives for mobile in addition to delivering on large-scale awareness and ‘real’ user-engagement goals are major pain points for agencies and brands. We tell you how brand marketers and agencies on mobile achieve higher engagement by combining the power of real-time data signals with immersive creatives for each campaign.
In this presentation, you will
1. Learn how award-winning mobile campaigns of brands like Unilever harness the true power of mobile marketing
2. Know how to create ad campaigns that are relevant (what the user likes) and contextual (where and when she is), so your brand is discovered at the most appropriate moment
3. Understand how to combine mobile data sciences with a user-first approach and innovative creatives to enable discovery, engagement, and loyalty for brands.
Quality defects in TMT Bars, Possible causes and Potential Solutions.PrashantGoswami42
Maintaining high-quality standards in the production of TMT bars is crucial for ensuring structural integrity in construction. Addressing common defects through careful monitoring, standardized processes, and advanced technology can significantly improve the quality of TMT bars. Continuous training and adherence to quality control measures will also play a pivotal role in minimizing these defects.
Explore the innovative world of trenchless pipe repair with our comprehensive guide, "The Benefits and Techniques of Trenchless Pipe Repair." This document delves into the modern methods of repairing underground pipes without the need for extensive excavation, highlighting the numerous advantages and the latest techniques used in the industry.
Learn about the cost savings, reduced environmental impact, and minimal disruption associated with trenchless technology. Discover detailed explanations of popular techniques such as pipe bursting, cured-in-place pipe (CIPP) lining, and directional drilling. Understand how these methods can be applied to various types of infrastructure, from residential plumbing to large-scale municipal systems.
Ideal for homeowners, contractors, engineers, and anyone interested in modern plumbing solutions, this guide provides valuable insights into why trenchless pipe repair is becoming the preferred choice for pipe rehabilitation. Stay informed about the latest advancements and best practices in the field.
Democratizing Fuzzing at Scale by Abhishek Aryaabh.arya
Presented at NUS: Fuzzing and Software Security Summer School 2024
This keynote talks about the democratization of fuzzing at scale, highlighting the collaboration between open source communities, academia, and industry to advance the field of fuzzing. It delves into the history of fuzzing, the development of scalable fuzzing platforms, and the empowerment of community-driven research. The talk will further discuss recent advancements leveraging AI/ML and offer insights into the future evolution of the fuzzing landscape.
Overview of the fundamental roles in Hydropower generation and the components involved in wider Electrical Engineering.
This paper presents the design and construction of hydroelectric dams from the hydrologist’s survey of the valley before construction, all aspects and involved disciplines, fluid dynamics, structural engineering, generation and mains frequency regulation to the very transmission of power through the network in the United Kingdom.
Author: Robbie Edward Sayers
Collaborators and co editors: Charlie Sims and Connor Healey.
(C) 2024 Robbie E. Sayers
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxR&R Consult
CFD analysis is incredibly effective at solving mysteries and improving the performance of complex systems!
Here's a great example: At a large natural gas-fired power plant, where they use waste heat to generate steam and energy, they were puzzled that their boiler wasn't producing as much steam as expected.
R&R and Tetra Engineering Group Inc. were asked to solve the issue with reduced steam production.
An inspection had shown that a significant amount of hot flue gas was bypassing the boiler tubes, where the heat was supposed to be transferred.
R&R Consult conducted a CFD analysis, which revealed that 6.3% of the flue gas was bypassing the boiler tubes without transferring heat. The analysis also showed that the flue gas was instead being directed along the sides of the boiler and between the modules that were supposed to capture the heat. This was the cause of the reduced performance.
Based on our results, Tetra Engineering installed covering plates to reduce the bypass flow. This improved the boiler's performance and increased electricity production.
It is always satisfying when we can help solve complex challenges like this. Do your systems also need a check-up or optimization? Give us a call!
Work done in cooperation with James Malloy and David Moelling from Tetra Engineering.
More examples of our work https://www.r-r-consult.dk/en/cases-en/
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Dr.Costas Sachpazis
Terzaghi's soil bearing capacity theory, developed by Karl Terzaghi, is a fundamental principle in geotechnical engineering used to determine the bearing capacity of shallow foundations. This theory provides a method to calculate the ultimate bearing capacity of soil, which is the maximum load per unit area that the soil can support without undergoing shear failure. The Calculation HTML Code included.
About
Indigenized remote control interface card suitable for MAFI system CCR equipment. Compatible for IDM8000 CCR. Backplane mounted serial and TCP/Ethernet communication module for CCR remote access. IDM 8000 CCR remote control on serial and TCP protocol.
• Remote control: Parallel or serial interface.
• Compatible with MAFI CCR system.
• Compatible with IDM8000 CCR.
• Compatible with Backplane mount serial communication.
• Compatible with commercial and Defence aviation CCR system.
• Remote control system for accessing CCR and allied system over serial or TCP.
• Indigenized local Support/presence in India.
• Easy in configuration using DIP switches.
Technical Specifications
Indigenized remote control interface card suitable for MAFI system CCR equipment. Compatible for IDM8000 CCR. Backplane mounted serial and TCP/Ethernet communication module for CCR remote access. IDM 8000 CCR remote control on serial and TCP protocol.
Key Features
Indigenized remote control interface card suitable for MAFI system CCR equipment. Compatible for IDM8000 CCR. Backplane mounted serial and TCP/Ethernet communication module for CCR remote access. IDM 8000 CCR remote control on serial and TCP protocol.
• Remote control: Parallel or serial interface
• Compatible with MAFI CCR system
• Copatiable with IDM8000 CCR
• Compatible with Backplane mount serial communication.
• Compatible with commercial and Defence aviation CCR system.
• Remote control system for accessing CCR and allied system over serial or TCP.
• Indigenized local Support/presence in India.
Application
• Remote control: Parallel or serial interface.
• Compatible with MAFI CCR system.
• Compatible with IDM8000 CCR.
• Compatible with Backplane mount serial communication.
• Compatible with commercial and Defence aviation CCR system.
• Remote control system for accessing CCR and allied system over serial or TCP.
• Indigenized local Support/presence in India.
• Easy in configuration using DIP switches.
Forklift Classes Overview by Intella PartsIntella Parts
Discover the different forklift classes and their specific applications. Learn how to choose the right forklift for your needs to ensure safety, efficiency, and compliance in your operations.
For more technical information, visit our website https://intellaparts.com
Cosmetic shop management system project report.pdfKamal Acharya
Buying new cosmetic products is difficult. It can even be scary for those who have sensitive skin and are prone to skin trouble. The information needed to alleviate this problem is on the back of each product, but it's thought to interpret those ingredient lists unless you have a background in chemistry.
Instead of buying and hoping for the best, we can use data science to help us predict which products may be good fits for us. It includes various function programs to do the above mentioned tasks.
Data file handling has been effectively used in the program.
The automated cosmetic shop management system should deal with the automation of general workflow and administration process of the shop. The main processes of the system focus on customer's request where the system is able to search the most appropriate products and deliver it to the customers. It should help the employees to quickly identify the list of cosmetic product that have reached the minimum quantity and also keep a track of expired date for each cosmetic product. It should help the employees to find the rack number in which the product is placed.It is also Faster and more efficient way.
Cosmetic shop management system project report.pdf
Getting Started With Developing For Apple Watch
1. Getting Started with Developing for the Apple Watch
Murtza Manzur, Developer Evangelist at InMobi
2. About InMobi
● Largest independent mobile ad network
● 1 billion unique devices
● Products for Publishers: Native Ads, Video Ads
● Products for Advertisers: App-Install Platform
4. Agenda
● Apple Watch architecture
● Hello World app for the Apple Watch
● Counter app for the Apple Watch
● Communicating from the Apple Watch to the iOS App
5. Architecture
● Apple Watch app requires an iOS app
● WatchKit apps have two parts
○ A WatchKit extension that runs on iPhone
○ A set of user interface resources that are installed on Apple
Watch.
● Glance
○ Supplemental way for the user to view important
information from your app
6. Architecture
● When Apple Watch app is launched, WatchKit extension on
iPhone runs in the background
○ Updates UI and responds to user interactions
● Watch App
○ Storyboard and resource files
● WatchKit Extension
○ Code associated with the Watch App is executed here
10. Hello World App - Step 2
Select Single View
Application, and then click
Next.
11. Hello World App - Step 3
Enter values for
Product Name and
Organization Name.
Select Objective-C as
Language and iPhone
as Devices. Leave Use
Core Data unchecked.
12. Hello World App - Step 4
Select a directory to save the project in, and then click
Create.
13. Hello World App - Step 5
Select File, New, then
click on Target.
14. Hello World App - Step 6
Select Apple Watch in
the left-hand menu.
Then click Next.
15. Hello World App - Step 7
Uncheck Notification
Scene and Glance
Scene. Then click
Finish.
17. Hello World App - Step 9
In the left-hand menu,
select the
Interface.storyboard
file from the WatchKit
App folder.
18. Hello World App - Step 10
This is the Interface
Builder for Apple Watch. In
the next step, we will drag
a Label object from the
Object Library to the Apple
Watch interface.
19. Interface Controller
● Like a View Controller in iOS
● Support two navigation styles, which are mutually exclusive
○ Hierarchal
○ Paged based
● Interface navigation through segues or programmatically
○ To implement a modal in your storyboard file, create a modal
segue.
○ To implement a modal programmatically, call the
presentControllerWithName:context: method
20. Interface Controller
● awakeWithContext
○ System calls this method at initialization time to provide the
interface controller with any relevant contextual data from a
previous interface controller
● willActivate
○ System calls this method to notify the interface controller that
its content is about to be displayed onscreen
● didDeactivate
○ System calls this method to notify the interface controller that
it is no longer onscreen
21. Hello World App - Step 10
Search for the Label object in the Object Library (lower
right-hand menu in Xcode). Then drag the Label
Object to the Apple Watch interface.
22. Interface Objects
● Arrange themselves
● Two unique view objects to Watch
App
○ Date
○ Timer
● Can be embedded in vertical or
horizontal groups
23. Hello World App - Step 11
Double click on the Label
object you added to the
Apple Watch interface, and
change the text to Hello
World.
24. Hello World App - Step 11
Click the run icon in Xcode. This will build your app, and
then run it in a simulator.
25. Hello World App - Step 12
To enable the
Apple Watch
simulator, select
Hardware,
External Displays
and then click on
Apple Watch -
42mm.
27. Counter App for the Apple Watch
● Let’s build a counter app for the Apple Watch
28. Counter App - Step 1
Navigate back to
Interface.storyboard. Double
click the label text to change
it from Hello World to 0. Add
two Button objects from the
Object Library. Rename the
button text: one for “+”, and
a second for “-”.
29. Counter App - Step 2
Navigate to the InterfaceController.m file in the WatchKit
Extension folder. As shown in the screenshot above, add
two properties between @interface and @end.
30. Counter App - Step 3
In @implementation, add two methods to increment and
decrement the counter property. We will connect these
two methods with the button objects in the Interface
Builder.
31. Counter App - Step 4
In @implementation, add a third method to set the text of
the counter label in the interface to value of the counter
property. We will connect the counter label property to
the counter label object in the interface in a later step.
32. Counter App - Step 5
Connect the
decrementCounter
action to the “-”
button object.
Connect the
incrementCounter
action to the “+”
button object.
33. Counter App - Step 6
Connect the
counterLabel
property from the
Interface Controller
to the counter label
object in the
interface.
35. Counter App - Step 8
The Watch App will run in
the simulator. If the “+” and
“-” buttons are working
correctly, they will increment
and decrement the counter.
36. Communicating from Watch to iOS App
● Use openParentApplication method to send data from WatchKit
extension to iOS app
■ Passed as a dictionary object
● handleWatchKitExtensionRequest method to receive data on
iOS app
● Reference
○ https://developer.apple.com/library/prerelease/ios/documentati
on/WatchKit/Reference/WKInterfaceController_class/index.ht
ml
37. Resources
● WatchKit Development Tips
○ https://developer.apple.com/watchkit/tips/
● Developing for Apple Watch
○ https://developer.apple.com/library/ios/documentation/General/Con
ceptual/WatchKitProgrammingGuide/index.html
38. Resources
● Tips for Submitting Apple Watch App
○ http://www.fiveminutewatchkit.com/blog/2015/4/2/submitting-your-
watchkit-app
● Bezel, a tool to simulate the look of an Apple Watch